Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine_Foucher2025_reference.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 108.3 kB / 19.71 MB, free: 436 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 215 kB / 23 MB, free: 2.941 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.037/1.037, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.829/0.829, allocations: 312.3 MB / 0.6108 GB, free: 97.62 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine_Foucher2025_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine_Foucher2025_reference") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine_Foucher2025_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine_Foucher2025_reference") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 82.88 kB / 0.7699 GB, free: 20.19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.154, allocations: 73.99 MB / 0.8421 GB, free: 10.34 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine_Foucher2025_reference): time 0.003214/0.1573, allocations: 2.3 MB / 0.8444 GB, free: 8.039 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005735/0.163, allocations: 6.521 MB / 0.8507 GB, free: 1.516 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.1631, allocations: 8.438 kB / 0.8507 GB, free: 1.508 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.1633, allocations: 28.28 kB / 0.8508 GB, free: 1.48 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005372/0.1638, allocations: 84.03 kB / 0.8508 GB, free: 1.398 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.1641, allocations: 48.52 kB / 0.8509 GB, free: 1.352 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.1643, allocations: 259.3 kB / 0.8511 GB, free: 1.098 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.1645, allocations: 37.3 kB / 0.8512 GB, free: 1.062 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.1646, allocations: 91.64 kB / 0.8513 GB, free: 0.9727 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.1648, allocations: 100.1 kB / 0.8514 GB, free: 0.875 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.1648, allocations: 16.53 kB / 0.8514 GB, free: 0.8594 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.011e-05/0.1649, allocations: 20 kB / 0.8514 GB, free: 0.8398 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.1649, allocations: 40.52 kB / 0.8514 GB, free: 0.8008 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.674e-05/0.165, allocations: 91.53 kB / 0.8515 GB, free: 0.7109 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.1652, allocations: 191.7 kB / 0.8517 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1652, allocations: 0.5625 kB / 0.8517 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1652, allocations: 0.625 kB / 0.8517 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.1652, allocations: 0 / 0.8517 GB, free: 0.5234 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007554/0.166, allocations: 0.4947 MB / 0.8522 GB, free: 15.98 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.166, allocations: 8.625 kB / 0.8522 GB, free: 15.97 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.1661, allocations: 28.73 kB / 0.8522 GB, free: 15.95 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.1663, allocations: 183.7 kB / 0.8524 GB, free: 15.74 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.1663, allocations: 8.609 kB / 0.8524 GB, free: 15.73 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.1663, allocations: 24.52 kB / 0.8524 GB, free: 15.71 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.1666, allocations: 187 kB / 0.8526 GB, free: 15.51 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1666, allocations: 0.5 kB / 0.8526 GB, free: 15.51 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.1667, allocations: 12.56 kB / 0.8526 GB, free: 15.5 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.1667, allocations: 4 kB / 0.8526 GB, free: 15.5 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.1669, allocations: 151.4 kB / 0.8528 GB, free: 15.34 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006083/0.1675, allocations: 482.8 kB / 0.8532 GB, free: 14.84 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/0.1678, allocations: 172.8 kB / 0.8534 GB, free: 14.66 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.1679, allocations: 102 kB / 0.8535 GB, free: 14.55 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.1679, allocations: 4 kB / 0.8535 GB, free: 14.55 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002582/0.1682, allocations: 235.3 kB / 0.8537 GB, free: 14.29 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.455e-06/0.1682, allocations: 0.5938 kB / 0.8537 GB, free: 14.29 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009796/0.1692, allocations: 0.7039 MB / 0.8544 GB, free: 13.53 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.1692, allocations: 137.1 kB / 0.8545 GB, free: 13.36 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.1694, allocations: 211 kB / 0.8547 GB, free: 13.15 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.1694, allocations: 30.33 kB / 0.8548 GB, free: 13.11 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.1695, allocations: 140.4 kB / 0.8549 GB, free: 12.97 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.1695, allocations: 68.09 kB / 0.855 GB, free: 12.91 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.1696, allocations: 53.7 kB / 0.855 GB, free: 12.85 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.048e-05/0.1697, allocations: 339.4 kB / 0.8553 GB, free: 12.51 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.1698, allocations: 145.6 kB / 0.8555 GB, free: 12.35 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.17, allocations: 226 kB / 0.8557 GB, free: 12.08 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3887/0.5587, allocations: 281.2 kB / 0.856 GB, free: 30.39 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5587, allocations: 1.094 kB / 0.856 GB, free: 30.39 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000524/0.5592, allocations: 391.2 kB / 0.8563 GB, free: 30.23 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/0.5593, allocations: 67.08 kB / 0.8564 GB, free: 30.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.5593, allocations: 3.844 kB / 0.8564 GB, free: 30.16 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.5593, allocations: 4.312 kB / 0.8564 GB, free: 30.16 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.5595, allocations: 48.78 kB / 0.8564 GB, free: 30.16 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.5595, allocations: 7.719 kB / 0.8565 GB, free: 30.16 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.5596, allocations: 18.28 kB / 0.8565 GB, free: 30.16 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.5596, allocations: 11.94 kB / 0.8565 GB, free: 30.16 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002158/0.5598, allocations: 171.3 kB / 0.8566 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.5599, allocations: 24.66 kB / 0.8567 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.629e-05/0.5599, allocations: 21.16 kB / 0.8567 GB, free: 30.01 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.5599, allocations: 7.938 kB / 0.8567 GB, free: 30.01 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.5599, allocations: 0 / 0.8567 GB, free: 30.01 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.5599, allocations: 1.312 kB / 0.8567 GB, free: 30.01 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006041/0.5606, allocations: 0.5356 MB / 0.8572 GB, free: 29.71 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5606, allocations: 0 / 0.8572 GB, free: 29.71 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.5607, allocations: 39.61 kB / 0.8573 GB, free: 29.71 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.5607, allocations: 0 / 0.8573 GB, free: 29.71 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.5607, allocations: 4.875 kB / 0.8573 GB, free: 29.71 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.5607, allocations: 6.094 kB / 0.8573 GB, free: 29.71 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.5607, allocations: 9.297 kB / 0.8573 GB, free: 29.71 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/0.5612, allocations: 0.4915 MB / 0.8578 GB, free: 29.48 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.5612, allocations: 21.77 kB / 0.8578 GB, free: 29.48 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.5612, allocations: 7.531 kB / 0.8578 GB, free: 29.48 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.5613, allocations: 13.66 kB / 0.8578 GB, free: 29.48 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.5614, allocations: 19.12 kB / 0.8578 GB, free: 29.48 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.5614, allocations: 10.78 kB / 0.8578 GB, free: 29.48 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.831e-05/0.5615, allocations: 158.4 kB / 0.858 GB, free: 29.41 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5615, allocations: 0 / 0.858 GB, free: 29.41 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002059/0.5617, allocations: 54.75 kB / 0.858 GB, free: 29.41 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001125/0.5618, allocations: 124.1 kB / 0.8582 GB, free: 29.32 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000369/0.5622, allocations: 379.5 kB / 0.8585 GB, free: 29.09 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5622, allocations: 0 / 0.8585 GB, free: 29.09 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.5624, allocations: 173.8 kB / 0.8587 GB, free: 29 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.5627, allocations: 73.81 kB / 0.8588 GB, free: 28.99 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.5637, allocations: 0.6949 MB / 0.8594 GB, free: 28.68 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.459e-05/0.5638, allocations: 129 kB / 0.8596 GB, free: 28.61 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.619e-05/0.5639, allocations: 21.81 kB / 0.8596 GB, free: 28.6 MB / 490.8 MB Notification: Performance of SimCode: time 1.072e-06/0.5639, allocations: 0.625 kB / 0.8596 GB, free: 28.6 MB / 490.8 MB Notification: Performance of Templates: time 0.004803/0.5687, allocations: 2.949 MB / 0.8625 GB, free: 28.38 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine_Foucher2025_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine_Foucher2025_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine_Foucher2025_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine_Foucher2025_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine_Foucher2025_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine_Foucher2025_reference > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine_Foucher2025_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.554742778651416]