Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan_Li2022_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.0009922/0.0009922, 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.001101/0.001101, allocations: 215.5 kB / 23.01 MB, free: 2.934 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.06/1.06, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.7903/0.7903, 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.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan_Li2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan_Li2022_reference") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan_Li2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan_Li2022_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.001634/0.001634, allocations: 79.12 kB / 0.7699 GB, free: 20.17 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1422, allocations: 73.99 MB / 0.8421 GB, free: 10.32 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan_Li2022_reference): time 0.003375/0.1455, allocations: 2.693 MB / 0.8448 GB, free: 7.633 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006392/0.1519, allocations: 6.594 MB / 0.8512 GB, free: 1.039 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.1521, allocations: 7.938 kB / 0.8512 GB, free: 1.031 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.1522, allocations: 44.06 kB / 0.8513 GB, free: 0.9883 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.1525, allocations: 120.1 kB / 0.8514 GB, free: 0.8711 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.1527, allocations: 72.56 kB / 0.8514 GB, free: 0.8008 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003894/0.1531, allocations: 378.7 kB / 0.8518 GB, free: 440 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.1533, allocations: 53.53 kB / 0.8518 GB, free: 388 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.1534, allocations: 139.4 kB / 0.852 GB, free: 248 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.1536, allocations: 144 kB / 0.8521 GB, free: 104 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.1536, allocations: 24.53 kB / 0.8521 GB, free: 80 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.23e-05/0.1537, allocations: 24.62 kB / 0.8522 GB, free: 56 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.427e-05/0.1537, allocations: 51.78 kB / 0.8522 GB, free: 4 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.1538, allocations: 139.9 kB / 0.8523 GB, free: 15.87 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.1541, allocations: 291.4 kB / 0.8526 GB, free: 15.58 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1541, allocations: 0 / 0.8526 GB, free: 15.58 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1541, allocations: 0.5938 kB / 0.8526 GB, free: 15.58 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.1541, allocations: 0 / 0.8526 GB, free: 15.58 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.0008715/0.155, allocations: 0.5983 MB / 0.8532 GB, free: 14.93 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.155, allocations: 12.66 kB / 0.8532 GB, free: 14.92 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.886e-05/0.1551, allocations: 32.75 kB / 0.8533 GB, free: 14.89 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.1553, allocations: 213.8 kB / 0.8535 GB, free: 14.65 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.1553, allocations: 12.75 kB / 0.8535 GB, free: 14.64 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.1554, allocations: 32.55 kB / 0.8535 GB, free: 14.61 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.1557, allocations: 288.5 kB / 0.8538 GB, free: 14.31 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.1557, allocations: 4.578 kB / 0.8538 GB, free: 14.3 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.1558, allocations: 8 kB / 0.8538 GB, free: 14.3 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.1558, allocations: 4.562 kB / 0.8538 GB, free: 14.29 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.156, allocations: 233.5 kB / 0.854 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008082/0.1569, allocations: 0.6815 MB / 0.8547 GB, free: 13.33 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.1572, allocations: 236 kB / 0.8549 GB, free: 13.08 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.1574, allocations: 157.5 kB / 0.8551 GB, free: 12.91 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.1574, allocations: 0 / 0.8551 GB, free: 12.91 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003296/0.1578, allocations: 357.4 kB / 0.8554 GB, free: 12.52 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.724e-06/0.1578, allocations: 0.5312 kB / 0.8554 GB, free: 12.52 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.3114/0.4691, allocations: 1.074 MB / 0.8564 GB, free: 21.34 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.4692, allocations: 223.7 kB / 0.8567 GB, free: 21.09 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.4694, allocations: 250.5 kB / 0.8569 GB, free: 20.98 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.4694, allocations: 32.36 kB / 0.8569 GB, free: 20.95 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.952e-05/0.4695, allocations: 164.1 kB / 0.8571 GB, free: 20.86 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.4696, allocations: 105.6 kB / 0.8572 GB, free: 20.8 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.985e-05/0.4697, allocations: 77.81 kB / 0.8573 GB, free: 20.78 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.307e-05/0.4698, allocations: 344.4 kB / 0.8576 GB, free: 20.47 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.47, allocations: 204.6 kB / 0.8578 GB, free: 20.36 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.4702, allocations: 318.3 kB / 0.8581 GB, free: 20.13 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.4705, allocations: 437.6 kB / 0.8585 GB, free: 19.88 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4705, allocations: 1.438 kB / 0.8585 GB, free: 19.88 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005078/0.471, allocations: 0.5543 MB / 0.859 GB, free: 19.63 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.4711, allocations: 91.77 kB / 0.8591 GB, free: 19.54 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.4711, allocations: 9.781 kB / 0.8591 GB, free: 19.54 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.4711, allocations: 3.594 kB / 0.8591 GB, free: 19.54 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.4713, allocations: 71.56 kB / 0.8592 GB, free: 19.54 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.4713, allocations: 10.16 kB / 0.8592 GB, free: 19.54 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.4714, allocations: 23.05 kB / 0.8592 GB, free: 19.54 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.4715, allocations: 16.72 kB / 0.8593 GB, free: 19.54 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.0002102/0.4717, allocations: 232 kB / 0.8595 GB, free: 19.36 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.4717, allocations: 34.03 kB / 0.8595 GB, free: 19.34 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.53e-05/0.4717, allocations: 26.78 kB / 0.8595 GB, free: 19.33 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4717, allocations: 2.875 kB / 0.8595 GB, free: 19.33 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.4718, allocations: 2.875 kB / 0.8596 GB, free: 19.33 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4718, allocations: 3.469 kB / 0.8596 GB, free: 19.33 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000738/0.4725, allocations: 0.763 MB / 0.8603 GB, free: 18.97 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4725, allocations: 0 / 0.8603 GB, free: 18.97 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.4727, allocations: 51.22 kB / 0.8603 GB, free: 18.97 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4727, allocations: 2.297 kB / 0.8603 GB, free: 18.97 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.4727, allocations: 23.66 kB / 0.8604 GB, free: 18.97 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4727, allocations: 3.281 kB / 0.8604 GB, free: 18.97 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4727, allocations: 0 / 0.8604 GB, free: 18.97 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006036/0.4733, allocations: 0.723 MB / 0.8611 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.4733, allocations: 25.33 kB / 0.8611 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.4734, allocations: 14.06 kB / 0.8611 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.4735, allocations: 18.02 kB / 0.8611 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.908e-05/0.4736, allocations: 32.11 kB / 0.8612 GB, free: 18.6 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.4736, allocations: 12.02 kB / 0.8612 GB, free: 18.6 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001261/0.4737, allocations: 178.3 kB / 0.8613 GB, free: 18.52 MB / 490.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4737, allocations: 0 / 0.8613 GB, free: 18.52 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002449/0.474, allocations: 88.8 kB / 0.8614 GB, free: 18.52 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.0001123/0.4741, allocations: 124.9 kB / 0.8616 GB, free: 18.43 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004939/0.4746, allocations: 0.5678 MB / 0.8621 GB, free: 18.09 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4746, allocations: 5.422 kB / 0.8621 GB, free: 18.09 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.4748, allocations: 300.2 kB / 0.8624 GB, free: 17.9 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.4752, allocations: 85.09 kB / 0.8625 GB, free: 17.9 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.4765, allocations: 0.9685 MB / 0.8634 GB, free: 17.41 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.4767, allocations: 162.8 kB / 0.8636 GB, free: 17.33 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.061e-05/0.4768, allocations: 32.8 kB / 0.8636 GB, free: 17.32 MB / 490.8 MB Notification: Performance of SimCode: time 6.01e-07/0.4768, allocations: 0 / 0.8636 GB, free: 17.32 MB / 490.8 MB Notification: Performance of Templates: time 0.007128/0.4839, allocations: 4.008 MB / 0.8675 GB, free: 16.97 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan_Li2022_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan_Li2022_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan_Li2022_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan_Li2022_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan_Li2022_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan_Li2022_reference > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan_Li2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.646347026340663]