Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin_Robert1988_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.001237/0.001237, 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.001439/0.001439, allocations: 213.3 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.124/1.124, 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.7715/0.7715, allocations: 312.3 MB / 0.6109 GB, free: 97.78 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.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin_Robert1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin_Robert1988_reference") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin_Robert1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin_Robert1988_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.001503/0.001503, allocations: 76.66 kB / 0.7699 GB, free: 20.32 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.14, allocations: 73.99 MB / 0.8421 GB, free: 10.46 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin_Robert1988_reference): time 0.003453/0.1434, allocations: 2.298 MB / 0.8444 GB, free: 8.168 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006863/0.1503, allocations: 6.525 MB / 0.8508 GB, free: 1.641 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002316/0.1505, allocations: 4.625 kB / 0.8508 GB, free: 1.637 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.1507, allocations: 23.72 kB / 0.8508 GB, free: 1.613 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.151, allocations: 84.53 kB / 0.8509 GB, free: 1.531 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.1512, allocations: 48.45 kB / 0.8509 GB, free: 1.484 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.1516, allocations: 263.2 kB / 0.8512 GB, free: 1.227 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.1517, allocations: 29.27 kB / 0.8512 GB, free: 1.199 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.1519, allocations: 99.64 kB / 0.8513 GB, free: 1.102 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.1521, allocations: 96.02 kB / 0.8514 GB, free: 1.008 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.1521, allocations: 16.56 kB / 0.8514 GB, free: 0.9922 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.69e-05/0.1521, allocations: 20.62 kB / 0.8514 GB, free: 0.9727 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.762e-05/0.1521, allocations: 43.83 kB / 0.8515 GB, free: 0.9297 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.455e-05/0.1522, allocations: 88.22 kB / 0.8515 GB, free: 0.8438 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.1525, allocations: 195.2 kB / 0.8517 GB, free: 0.6523 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1525, allocations: 0.5938 kB / 0.8517 GB, free: 0.6523 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1525, allocations: 0.625 kB / 0.8517 GB, free: 0.6523 MB / 474.8 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1525, allocations: 0 / 0.8517 GB, free: 0.6523 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.0008076/0.1533, allocations: 0.4946 MB / 0.8522 GB, free: 116 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.1533, allocations: 8.75 kB / 0.8522 GB, free: 108 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/0.1534, allocations: 24.8 kB / 0.8522 GB, free: 84 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.1536, allocations: 179.7 kB / 0.8524 GB, free: 15.88 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1536, allocations: 8.609 kB / 0.8524 GB, free: 15.87 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.956e-05/0.1537, allocations: 24.73 kB / 0.8525 GB, free: 15.85 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.154, allocations: 190.9 kB / 0.8526 GB, free: 15.64 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.154, allocations: 4.844 kB / 0.8526 GB, free: 15.64 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.154, allocations: 4 kB / 0.8526 GB, free: 15.64 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.154, allocations: 0 / 0.8526 GB, free: 15.64 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.1542, allocations: 151.3 kB / 0.8528 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006352/0.1549, allocations: 498.4 kB / 0.8533 GB, free: 14.96 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.1552, allocations: 177.8 kB / 0.8534 GB, free: 14.78 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.1553, allocations: 97.64 kB / 0.8535 GB, free: 14.68 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.1553, allocations: 4 kB / 0.8535 GB, free: 14.67 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/0.1556, allocations: 221.7 kB / 0.8537 GB, free: 14.43 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.1556, allocations: 0.7188 kB / 0.8537 GB, free: 14.43 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001046/0.1567, allocations: 0.6994 MB / 0.8544 GB, free: 13.67 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.1567, allocations: 140.5 kB / 0.8546 GB, free: 13.5 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004997/0.1572, allocations: 215.5 kB / 0.8548 GB, free: 13.28 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.1572, allocations: 30.33 kB / 0.8548 GB, free: 13.25 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.576e-05/0.1573, allocations: 132.5 kB / 0.8549 GB, free: 13.11 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.1574, allocations: 75.94 kB / 0.855 GB, free: 13.04 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.304e-05/0.1574, allocations: 58.38 kB / 0.855 GB, free: 12.98 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.583e-05/0.1575, allocations: 334.8 kB / 0.8554 GB, free: 12.64 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.1577, allocations: 149.5 kB / 0.8555 GB, free: 12.48 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.1578, allocations: 222 kB / 0.8557 GB, free: 12.21 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.1581, allocations: 282.3 kB / 0.856 GB, free: 11.9 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1581, allocations: 0 / 0.856 GB, free: 11.9 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.3198/0.4779, allocations: 387.8 kB / 0.8564 GB, free: 30.29 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.4779, allocations: 67.45 kB / 0.8564 GB, free: 30.23 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.478, allocations: 0.8438 kB / 0.8564 GB, free: 30.23 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.478, allocations: 5.594 kB / 0.8564 GB, free: 30.23 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.4781, allocations: 50.08 kB / 0.8565 GB, free: 30.23 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.4781, allocations: 10 kB / 0.8565 GB, free: 30.23 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.4783, allocations: 18.09 kB / 0.8565 GB, free: 30.23 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.4783, allocations: 11.5 kB / 0.8565 GB, free: 30.23 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.00018/0.4784, allocations: 173.3 kB / 0.8567 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.4785, allocations: 24.94 kB / 0.8567 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.848e-05/0.4785, allocations: 21.78 kB / 0.8567 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.4785, allocations: 4.469 kB / 0.8567 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.4785, allocations: 7.422 kB / 0.8567 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.4785, allocations: 0 / 0.8567 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005562/0.4791, allocations: 0.5325 MB / 0.8573 GB, free: 29.78 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4791, allocations: 1.531 kB / 0.8573 GB, free: 29.78 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.4792, allocations: 34.17 kB / 0.8573 GB, free: 29.78 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4792, allocations: 1.594 kB / 0.8573 GB, free: 29.78 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.4792, allocations: 13.42 kB / 0.8573 GB, free: 29.78 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4792, allocations: 1.5 kB / 0.8573 GB, free: 29.78 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4792, allocations: 3.938 kB / 0.8573 GB, free: 29.78 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004237/0.4796, allocations: 499.6 kB / 0.8578 GB, free: 29.55 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.4797, allocations: 24.33 kB / 0.8578 GB, free: 29.55 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.4797, allocations: 7.844 kB / 0.8578 GB, free: 29.55 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.995e-05/0.4798, allocations: 13.94 kB / 0.8578 GB, free: 29.55 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.558e-05/0.4799, allocations: 19.84 kB / 0.8578 GB, free: 29.55 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.4799, allocations: 8.406 kB / 0.8579 GB, free: 29.55 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.794e-05/0.48, allocations: 159.4 kB / 0.858 GB, free: 29.48 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.48, allocations: 2.734 kB / 0.858 GB, free: 29.48 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002114/0.4802, allocations: 53.59 kB / 0.8581 GB, free: 29.48 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.0001131/0.4803, allocations: 121.5 kB / 0.8582 GB, free: 29.39 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003908/0.4807, allocations: 379.8 kB / 0.8585 GB, free: 29.16 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4807, allocations: 2.75 kB / 0.8585 GB, free: 29.16 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.4809, allocations: 171 kB / 0.8587 GB, free: 29.07 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.4812, allocations: 77.36 kB / 0.8588 GB, free: 29.06 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009854/0.4822, allocations: 0.6955 MB / 0.8595 GB, free: 28.75 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.846e-05/0.4823, allocations: 132 kB / 0.8596 GB, free: 28.68 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.4823, allocations: 22.72 kB / 0.8596 GB, free: 28.67 MB / 490.8 MB Notification: Performance of SimCode: time 9.41e-07/0.4823, allocations: 0 / 0.8596 GB, free: 28.67 MB / 490.8 MB Notification: Performance of Templates: time 0.004985/0.4873, allocations: 2.946 MB / 0.8625 GB, free: 28.46 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin_Robert1988_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin_Robert1988_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin_Robert1988_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin_Robert1988_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin_Robert1988_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin_Robert1988_reference > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin_Robert1988_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.487459410913289]