Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone_OHanlon2024_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.001037/0.001037, allocations: 104.4 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.001006/0.001006, allocations: 215.5 kB / 23 MB, free: 2.938 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.051/1.051, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.7656/0.7656, allocations: 312.3 MB / 0.6108 GB, free: 97.59 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.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone_OHanlon2024_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone_OHanlon2024_reference") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone_OHanlon2024_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone_OHanlon2024_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.004809/0.004809, allocations: 77.61 kB / 0.7699 GB, free: 20.13 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1749, allocations: 73.99 MB / 0.8421 GB, free: 10.29 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone_OHanlon2024_reference): time 0.002867/0.1777, allocations: 2.298 MB / 0.8444 GB, free: 7.996 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005882/0.1836, allocations: 6.525 MB / 0.8507 GB, free: 1.469 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.1838, allocations: 0.5 kB / 0.8507 GB, free: 1.469 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.1839, allocations: 28.44 kB / 0.8508 GB, free: 1.441 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.1841, allocations: 83.94 kB / 0.8508 GB, free: 1.359 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.1844, allocations: 52.47 kB / 0.8509 GB, free: 1.309 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.1846, allocations: 263.3 kB / 0.8511 GB, free: 1.051 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.1848, allocations: 33.22 kB / 0.8512 GB, free: 1.02 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1849, allocations: 95.66 kB / 0.8513 GB, free: 0.9258 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.1851, allocations: 100.1 kB / 0.8514 GB, free: 0.8281 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.1851, allocations: 16.59 kB / 0.8514 GB, free: 0.8125 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.573e-05/0.1851, allocations: 16 kB / 0.8514 GB, free: 0.7969 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.031e-05/0.1852, allocations: 44.47 kB / 0.8514 GB, free: 0.7539 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.127e-05/0.1853, allocations: 92.09 kB / 0.8515 GB, free: 0.6641 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.1855, allocations: 195.2 kB / 0.8517 GB, free: 484 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1855, allocations: 0.5312 kB / 0.8517 GB, free: 484 kB / 474.8 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1855, allocations: 0.5312 kB / 0.8517 GB, free: 484 kB / 474.8 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.1855, allocations: 0 / 0.8517 GB, free: 484 kB / 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.0007042/0.1862, allocations: 0.4918 MB / 0.8522 GB, free: 15.93 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1862, allocations: 12.66 kB / 0.8522 GB, free: 15.92 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.1863, allocations: 24.8 kB / 0.8522 GB, free: 15.9 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.1865, allocations: 175.8 kB / 0.8524 GB, free: 15.7 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1865, allocations: 15.8 kB / 0.8524 GB, free: 15.68 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.1865, allocations: 16.48 kB / 0.8524 GB, free: 15.67 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.1868, allocations: 191 kB / 0.8526 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1868, allocations: 4.562 kB / 0.8526 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1868, allocations: 0.6562 kB / 0.8526 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1868, allocations: 8 kB / 0.8526 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.187, allocations: 151.5 kB / 0.8528 GB, free: 15.3 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006088/0.1876, allocations: 486.1 kB / 0.8532 GB, free: 14.79 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.188, allocations: 177.4 kB / 0.8534 GB, free: 14.61 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.1881, allocations: 99.48 kB / 0.8535 GB, free: 14.5 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.1881, allocations: 4.531 kB / 0.8535 GB, free: 14.5 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.1883, allocations: 231.2 kB / 0.8537 GB, free: 14.25 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 3.116e-06/0.1883, allocations: 0.5 kB / 0.8537 GB, free: 14.25 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009964/0.1893, allocations: 0.6869 MB / 0.8544 GB, free: 13.5 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.1894, allocations: 148.4 kB / 0.8545 GB, free: 13.32 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.1896, allocations: 215.7 kB / 0.8547 GB, free: 13.11 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.1896, allocations: 33.7 kB / 0.8548 GB, free: 13.07 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/0.1897, allocations: 129.1 kB / 0.8549 GB, free: 12.94 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.1897, allocations: 80 kB / 0.855 GB, free: 12.86 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/0.1898, allocations: 53.66 kB / 0.855 GB, free: 12.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0003608/0.1901, allocations: 335.4 kB / 0.8553 GB, free: 12.46 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.1903, allocations: 145.8 kB / 0.8555 GB, free: 12.3 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.1904, allocations: 225.8 kB / 0.8557 GB, free: 12.04 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3129/0.5033, allocations: 278.7 kB / 0.856 GB, free: 30.29 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.5033, allocations: 0.5312 kB / 0.856 GB, free: 30.29 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005487/0.5039, allocations: 390.8 kB / 0.8563 GB, free: 30.13 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/0.504, allocations: 67.98 kB / 0.8564 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.504, allocations: 3.969 kB / 0.8564 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.913e-05/0.504, allocations: 1 kB / 0.8564 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.5042, allocations: 51.45 kB / 0.8565 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.5042, allocations: 8.781 kB / 0.8565 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.5043, allocations: 15.58 kB / 0.8565 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.5044, allocations: 14.56 kB / 0.8565 GB, free: 30.07 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.0002181/0.5046, allocations: 176.8 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.5046, allocations: 24.08 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/0.5047, allocations: 23.98 kB / 0.8567 GB, free: 29.92 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5047, allocations: 1.781 kB / 0.8567 GB, free: 29.92 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.5047, allocations: 3.562 kB / 0.8567 GB, free: 29.92 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.5047, allocations: 0 / 0.8567 GB, free: 29.92 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006681/0.5054, allocations: 0.5358 MB / 0.8572 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5054, allocations: 0 / 0.8572 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.5055, allocations: 33.47 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5055, allocations: 0 / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.5055, allocations: 10.42 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.5055, allocations: 3.938 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5055, allocations: 6.625 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005566/0.5061, allocations: 499.6 kB / 0.8578 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.5061, allocations: 23.81 kB / 0.8578 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.5062, allocations: 6.188 kB / 0.8578 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.5063, allocations: 14.64 kB / 0.8578 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.448e-05/0.5064, allocations: 25.19 kB / 0.8578 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.5064, allocations: 6.438 kB / 0.8578 GB, free: 29.39 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000118/0.5065, allocations: 159.6 kB / 0.858 GB, free: 29.32 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5065, allocations: 0 / 0.858 GB, free: 29.32 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003122/0.5068, allocations: 55.78 kB / 0.858 GB, free: 29.32 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.0001243/0.5069, allocations: 125.5 kB / 0.8582 GB, free: 29.23 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004368/0.5074, allocations: 376.6 kB / 0.8585 GB, free: 29 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5074, allocations: 0.75 kB / 0.8585 GB, free: 29 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.5075, allocations: 176.1 kB / 0.8587 GB, free: 28.9 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.508, allocations: 63.77 kB / 0.8588 GB, free: 28.9 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.5092, allocations: 0.6995 MB / 0.8594 GB, free: 28.59 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.435e-05/0.5093, allocations: 130.4 kB / 0.8596 GB, free: 28.51 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.192e-05/0.5093, allocations: 23.48 kB / 0.8596 GB, free: 28.5 MB / 490.8 MB Notification: Performance of SimCode: time 7.32e-07/0.5093, allocations: 0 / 0.8596 GB, free: 28.5 MB / 490.8 MB Notification: Performance of Templates: time 0.005682/0.515, allocations: 2.942 MB / 0.8625 GB, free: 28.3 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone_OHanlon2024_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone_OHanlon2024_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone_OHanlon2024_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone_OHanlon2024_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone_OHanlon2024_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone_OHanlon2024_reference > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone_OHanlon2024_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.613700608722866]