Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_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.001035/0.001035, 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.001176/0.001176, allocations: 215.5 kB / 23 MB, free: 2.961 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.026/1.026, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.8002/0.8002, allocations: 312.3 MB / 0.6108 GB, free: 97.57 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.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_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.002171/0.002171, allocations: 82.97 kB / 0.7699 GB, free: 20.16 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1664, allocations: 73.98 MB / 0.8422 GB, free: 10.3 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference): time 0.003864/0.1703, allocations: 2.694 MB / 0.8448 GB, free: 7.609 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.007053/0.1774, allocations: 6.609 MB / 0.8512 GB, free: 1 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.1775, allocations: 0.5938 kB / 0.8512 GB, free: 1 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.1777, allocations: 44.06 kB / 0.8513 GB, free: 0.957 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.178, allocations: 120.3 kB / 0.8514 GB, free: 0.8398 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.1782, allocations: 68.45 kB / 0.8515 GB, free: 0.7734 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000355/0.1786, allocations: 378.7 kB / 0.8518 GB, free: 412 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.1788, allocations: 59.94 kB / 0.8519 GB, free: 356 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.1789, allocations: 140.2 kB / 0.852 GB, free: 216 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.1792, allocations: 139.9 kB / 0.8521 GB, free: 76 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.769e-05/0.1792, allocations: 24.5 kB / 0.8522 GB, free: 52 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.136e-05/0.1792, allocations: 24 kB / 0.8522 GB, free: 28 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.056e-05/0.1793, allocations: 60.36 kB / 0.8522 GB, free: 15.97 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.1794, allocations: 136 kB / 0.8524 GB, free: 15.84 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.1797, allocations: 288.8 kB / 0.8527 GB, free: 15.55 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.1797, allocations: 4.656 kB / 0.8527 GB, free: 15.55 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1797, allocations: 0 / 0.8527 GB, free: 15.55 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1797, allocations: 0.7188 kB / 0.8527 GB, free: 15.55 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0009242/0.1807, allocations: 0.5904 MB / 0.8532 GB, free: 14.91 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1807, allocations: 12.03 kB / 0.8532 GB, free: 14.9 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.985e-05/0.1808, allocations: 33.38 kB / 0.8533 GB, free: 14.87 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.1811, allocations: 213 kB / 0.8535 GB, free: 14.63 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.1811, allocations: 17.38 kB / 0.8535 GB, free: 14.61 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.917e-05/0.1811, allocations: 28.56 kB / 0.8535 GB, free: 14.59 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004049/0.1815, allocations: 284.6 kB / 0.8538 GB, free: 14.29 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.1815, allocations: 3.953 kB / 0.8538 GB, free: 14.29 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.1816, allocations: 12.56 kB / 0.8538 GB, free: 14.27 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1816, allocations: 4.656 kB / 0.8538 GB, free: 14.27 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003628/0.1819, allocations: 237 kB / 0.854 GB, free: 14.03 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009686/0.1829, allocations: 0.6738 MB / 0.8547 GB, free: 13.31 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.1833, allocations: 235.4 kB / 0.8549 GB, free: 13.06 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.1835, allocations: 153.1 kB / 0.8551 GB, free: 12.89 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.1835, allocations: 4.438 kB / 0.8551 GB, free: 12.89 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003693/0.1839, allocations: 368.9 kB / 0.8554 GB, free: 12.48 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.164e-06/0.1839, allocations: 4.469 kB / 0.8554 GB, free: 12.48 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.3486/0.5325, allocations: 1.074 MB / 0.8565 GB, free: 21.37 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.5326, allocations: 220.9 kB / 0.8567 GB, free: 21.12 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.5328, allocations: 244.9 kB / 0.8569 GB, free: 21.02 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.5328, allocations: 36.33 kB / 0.857 GB, free: 20.99 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.696e-05/0.5329, allocations: 165.2 kB / 0.8571 GB, free: 20.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.376e-05/0.533, allocations: 112 kB / 0.8572 GB, free: 20.83 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.189e-05/0.533, allocations: 67.89 kB / 0.8573 GB, free: 20.82 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.554e-05/0.5331, allocations: 346.9 kB / 0.8576 GB, free: 20.5 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.5334, allocations: 213.6 kB / 0.8578 GB, free: 20.39 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.5336, allocations: 307.2 kB / 0.8581 GB, free: 20.17 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/0.534, allocations: 444.8 kB / 0.8585 GB, free: 19.91 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.534, allocations: 0 / 0.8585 GB, free: 19.91 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005937/0.5346, allocations: 0.5555 MB / 0.8591 GB, free: 19.66 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/0.5347, allocations: 94.16 kB / 0.8592 GB, free: 19.57 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.5347, allocations: 5.094 kB / 0.8592 GB, free: 19.57 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.5347, allocations: 6 kB / 0.8592 GB, free: 19.57 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.5349, allocations: 73.69 kB / 0.8593 GB, free: 19.57 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.5349, allocations: 6.281 kB / 0.8593 GB, free: 19.57 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.5351, allocations: 30.75 kB / 0.8593 GB, free: 19.57 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.5351, allocations: 16.88 kB / 0.8593 GB, free: 19.57 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0001804/0.5353, allocations: 220.4 kB / 0.8595 GB, free: 19.39 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.5353, allocations: 30.2 kB / 0.8595 GB, free: 19.38 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.5354, allocations: 28.28 kB / 0.8596 GB, free: 19.37 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.5354, allocations: 7.25 kB / 0.8596 GB, free: 19.37 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5354, allocations: 0 / 0.8596 GB, free: 19.37 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.5354, allocations: 1.031 kB / 0.8596 GB, free: 19.37 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.5376, allocations: 0.77 MB / 0.8603 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.5376, allocations: 0 / 0.8603 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.5378, allocations: 51.69 kB / 0.8604 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.5378, allocations: 1.062 kB / 0.8604 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.5378, allocations: 14.44 kB / 0.8604 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5378, allocations: 0 / 0.8604 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5378, allocations: 9.469 kB / 0.8604 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006783/0.5385, allocations: 0.7202 MB / 0.8611 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.5386, allocations: 26.61 kB / 0.8611 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.5386, allocations: 13.09 kB / 0.8611 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.5387, allocations: 16.17 kB / 0.8612 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/0.5388, allocations: 36.8 kB / 0.8612 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.5388, allocations: 9 kB / 0.8612 GB, free: 18.63 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001306/0.539, allocations: 179.6 kB / 0.8614 GB, free: 18.55 MB / 490.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.539, allocations: 2.5 kB / 0.8614 GB, free: 18.55 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003294/0.5393, allocations: 89.45 kB / 0.8615 GB, free: 18.55 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001237/0.5394, allocations: 125.9 kB / 0.8616 GB, free: 18.46 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005396/0.54, allocations: 0.5695 MB / 0.8621 GB, free: 18.12 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.54, allocations: 0 / 0.8621 GB, free: 18.12 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.5402, allocations: 300.1 kB / 0.8624 GB, free: 17.93 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007515/0.5477, allocations: 83.45 kB / 0.8625 GB, free: 17.93 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.5493, allocations: 0.9622 MB / 0.8634 GB, free: 17.45 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.5494, allocations: 161.9 kB / 0.8636 GB, free: 17.36 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.695e-05/0.5495, allocations: 32.31 kB / 0.8636 GB, free: 17.36 MB / 490.8 MB Notification: Performance of SimCode: time 1.022e-06/0.5495, allocations: 4 kB / 0.8636 GB, free: 17.35 MB / 490.8 MB Notification: Performance of Templates: time 0.007856/0.5573, allocations: 4.015 MB / 0.8676 GB, free: 17 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.715436731465161]