Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.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.0009672/0.0009672, allocations: 104.3 kB / 19.71 MB, free: 440 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.0009917/0.0009917, allocations: 217.8 kB / 23.01 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.139/1.139, 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.7828/0.7828, allocations: 312.3 MB / 0.6108 GB, free: 97.09 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.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2419200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2419200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab") [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.001567/0.001567, allocations: 77.28 kB / 0.7699 GB, free: 19.67 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1493, allocations: 73.99 MB / 0.8422 GB, free: 9.816 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab): time 0.003322/0.1526, allocations: 2.331 MB / 0.8445 GB, free: 7.484 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1537, allocations: 0.5989 MB / 0.845 GB, free: 6.891 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.1538, allocations: 0 / 0.845 GB, free: 6.891 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.1539, allocations: 24.34 kB / 0.8451 GB, free: 6.867 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.1541, allocations: 84.11 kB / 0.8451 GB, free: 6.785 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.1544, allocations: 52.55 kB / 0.8452 GB, free: 6.734 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006258/0.155, allocations: 251.4 kB / 0.8454 GB, free: 6.488 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.1552, allocations: 41.16 kB / 0.8455 GB, free: 6.449 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.1553, allocations: 91.64 kB / 0.8456 GB, free: 6.359 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.1555, allocations: 104 kB / 0.8457 GB, free: 6.258 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.1555, allocations: 16.5 kB / 0.8457 GB, free: 6.242 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.872e-05/0.1556, allocations: 20.62 kB / 0.8457 GB, free: 6.223 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.426e-05/0.1556, allocations: 31.86 kB / 0.8457 GB, free: 6.191 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.767e-05/0.1557, allocations: 96.14 kB / 0.8458 GB, free: 6.098 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.1559, allocations: 199.2 kB / 0.846 GB, free: 5.902 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1559, allocations: 0.75 kB / 0.846 GB, free: 5.902 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1559, allocations: 0 / 0.846 GB, free: 5.902 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1559, allocations: 0.625 kB / 0.846 GB, free: 5.902 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.0008138/0.1567, allocations: 0.4909 MB / 0.8465 GB, free: 5.367 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.1568, allocations: 8.031 kB / 0.8465 GB, free: 5.359 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.172e-05/0.1568, allocations: 25.36 kB / 0.8465 GB, free: 5.336 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.1571, allocations: 187.7 kB / 0.8467 GB, free: 5.125 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.1571, allocations: 8.547 kB / 0.8467 GB, free: 5.117 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.1571, allocations: 24.42 kB / 0.8467 GB, free: 5.094 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.1575, allocations: 191 kB / 0.8469 GB, free: 4.891 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1575, allocations: 0.5 kB / 0.8469 GB, free: 4.891 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.1575, allocations: 12.66 kB / 0.8469 GB, free: 4.879 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.1575, allocations: 4 kB / 0.8469 GB, free: 4.875 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.1577, allocations: 147.3 kB / 0.8471 GB, free: 4.727 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006804/0.1584, allocations: 478.6 kB / 0.8475 GB, free: 4.227 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003782/0.1588, allocations: 177.5 kB / 0.8477 GB, free: 4.039 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.1589, allocations: 91.16 kB / 0.8478 GB, free: 3.941 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.1589, allocations: 12.52 kB / 0.8478 GB, free: 3.93 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000292/0.1592, allocations: 225.1 kB / 0.848 GB, free: 3.68 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 2.615e-06/0.1592, allocations: 0.6562 kB / 0.848 GB, free: 3.68 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.001096/0.1603, allocations: 0.7056 MB / 0.8487 GB, free: 2.918 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/0.1604, allocations: 133.1 kB / 0.8488 GB, free: 2.758 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.1606, allocations: 218.9 kB / 0.849 GB, free: 2.535 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1606, allocations: 34.42 kB / 0.8491 GB, free: 2.496 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.199e-05/0.1607, allocations: 132.5 kB / 0.8492 GB, free: 2.363 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.1607, allocations: 72.16 kB / 0.8493 GB, free: 2.293 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/0.1608, allocations: 57.66 kB / 0.8493 GB, free: 2.23 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1609, allocations: 339.5 kB / 0.8496 GB, free: 1.891 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.161, allocations: 145.6 kB / 0.8498 GB, free: 1.73 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.1612, allocations: 223.9 kB / 0.85 GB, free: 1.469 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.1615, allocations: 283.2 kB / 0.8503 GB, free: 1.152 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1615, allocations: 3.938 kB / 0.8503 GB, free: 1.148 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003965/0.1619, allocations: 389.3 kB / 0.8506 GB, free: 0.7422 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/0.1619, allocations: 63.92 kB / 0.8507 GB, free: 0.668 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.1619, allocations: 4 kB / 0.8507 GB, free: 0.6641 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.162, allocations: 4.781 kB / 0.8507 GB, free: 0.6602 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1621, allocations: 53.12 kB / 0.8508 GB, free: 0.6094 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.1621, allocations: 4 kB / 0.8508 GB, free: 0.6055 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.532e-05/0.1622, allocations: 15.98 kB / 0.8508 GB, free: 0.5898 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.1622, allocations: 8.875 kB / 0.8508 GB, free: 0.582 MB / 474.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.0001993/0.1624, allocations: 183.3 kB / 0.851 GB, free: 400 kB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.1625, allocations: 27.8 kB / 0.851 GB, free: 372 kB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/0.1625, allocations: 28.52 kB / 0.851 GB, free: 344 kB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1625, allocations: 7.938 kB / 0.851 GB, free: 336 kB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.1625, allocations: 0 / 0.851 GB, free: 336 kB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1625, allocations: 0 / 0.851 GB, free: 336 kB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005894/0.1631, allocations: 0.5251 MB / 0.8515 GB, free: 15.75 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1631, allocations: 1.219 kB / 0.8515 GB, free: 15.75 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.1632, allocations: 43.91 kB / 0.8516 GB, free: 15.71 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.1632, allocations: 0 / 0.8516 GB, free: 15.71 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.1632, allocations: 5.75 kB / 0.8516 GB, free: 15.71 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.1632, allocations: 7.875 kB / 0.8516 GB, free: 15.7 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1632, allocations: 0 / 0.8516 GB, free: 15.7 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004906/0.1637, allocations: 0.4883 MB / 0.8521 GB, free: 15.18 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/0.1638, allocations: 24.98 kB / 0.8521 GB, free: 15.16 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.1638, allocations: 8 kB / 0.8521 GB, free: 15.15 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.812e-05/0.1639, allocations: 19.98 kB / 0.8521 GB, free: 15.13 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/0.164, allocations: 20.47 kB / 0.8521 GB, free: 15.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.164, allocations: 4.5 kB / 0.8521 GB, free: 15.11 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0003977/0.1644, allocations: 165.1 kB / 0.8523 GB, free: 14.95 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1644, allocations: 0 / 0.8523 GB, free: 14.95 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002064/0.1646, allocations: 65.12 kB / 0.8524 GB, free: 14.88 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.0001273/0.1647, allocations: 111.1 kB / 0.8525 GB, free: 14.77 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003847/0.1651, allocations: 379.4 kB / 0.8528 GB, free: 14.36 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1651, allocations: 0 / 0.8528 GB, free: 14.36 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.1652, allocations: 170.7 kB / 0.853 GB, free: 14.17 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.1656, allocations: 70.97 kB / 0.8531 GB, free: 14.11 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.1666, allocations: 0.6982 MB / 0.8537 GB, free: 13.45 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.492e-05/0.1667, allocations: 129.6 kB / 0.8539 GB, free: 13.3 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.1668, allocations: 19.44 kB / 0.8539 GB, free: 13.28 MB / 490.8 MB Notification: Performance of SimCode: time 9.22e-07/0.1668, allocations: 0 / 0.8539 GB, free: 13.28 MB / 490.8 MB Notification: Performance of Templates: time 0.295/0.4618, allocations: 2.927 MB / 0.8567 GB, free: 28.86 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.257130670361221]