Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin.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.002049/0.002049, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 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.002083/0.002083, allocations: 221.4 kB / 22.25 MB, free: 3.57 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.661/1.661, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 178] 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 1.457/1.457, allocations: 316.7 MB / 0.6144 GB, free: 93.25 MB / 410.7 MB " [Timeout remaining time 178] 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.Crotoxin.Crotoxin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin") [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.004097/0.004097, allocations: 69.64 kB / 0.775 GB, free: 14.88 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1523, allocations: 73.98 MB / 0.8472 GB, free: 5.023 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin): time 0.003958/0.1563, allocations: 2.349 MB / 0.8495 GB, free: 2.676 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.1575, allocations: 0.5909 MB / 0.8501 GB, free: 2.09 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.395e-05/0.1576, allocations: 4.594 kB / 0.8501 GB, free: 2.086 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.1577, allocations: 27.72 kB / 0.8501 GB, free: 2.059 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.1579, allocations: 80.59 kB / 0.8502 GB, free: 1.98 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.1581, allocations: 48.44 kB / 0.8503 GB, free: 1.934 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.1584, allocations: 263.3 kB / 0.8505 GB, free: 1.676 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1586, allocations: 28.58 kB / 0.8505 GB, free: 1.648 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.1587, allocations: 100.4 kB / 0.8506 GB, free: 1.551 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.159, allocations: 100 kB / 0.8507 GB, free: 1.453 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.685e-05/0.159, allocations: 16 kB / 0.8507 GB, free: 1.438 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.604e-05/0.159, allocations: 16.5 kB / 0.8508 GB, free: 1.422 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.1591, allocations: 40.34 kB / 0.8508 GB, free: 1.383 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.1592, allocations: 95.53 kB / 0.8509 GB, free: 1.289 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.1595, allocations: 191.8 kB / 0.8511 GB, free: 1.102 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1595, allocations: 0.6875 kB / 0.8511 GB, free: 1.102 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1595, allocations: 0 / 0.8511 GB, free: 1.102 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1595, allocations: 0.625 kB / 0.8511 GB, free: 1.102 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.0009547/0.1605, allocations: 0.4925 MB / 0.8516 GB, free: 0.5664 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1605, allocations: 15.97 kB / 0.8516 GB, free: 0.5508 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.1606, allocations: 21.55 kB / 0.8516 GB, free: 0.5312 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.1608, allocations: 183.1 kB / 0.8518 GB, free: 332 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1609, allocations: 13.23 kB / 0.8518 GB, free: 320 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.1609, allocations: 20.52 kB / 0.8518 GB, free: 300 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.1613, allocations: 196.1 kB / 0.852 GB, free: 92 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1613, allocations: 0 / 0.852 GB, free: 92 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.1613, allocations: 4 kB / 0.852 GB, free: 88 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.1614, allocations: 4 kB / 0.852 GB, free: 84 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003925/0.1617, allocations: 148.1 kB / 0.8521 GB, free: 15.93 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008656/0.1626, allocations: 489.4 kB / 0.8526 GB, free: 15.42 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005391/0.1632, allocations: 177.3 kB / 0.8528 GB, free: 15.23 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.1634, allocations: 93.08 kB / 0.8529 GB, free: 15.14 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.1634, allocations: 4 kB / 0.8529 GB, free: 15.13 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004118/0.1638, allocations: 228.5 kB / 0.8531 GB, free: 14.88 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.1638, allocations: 0 / 0.8531 GB, free: 14.88 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001811/0.1656, allocations: 0.6957 MB / 0.8538 GB, free: 14.12 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.1657, allocations: 145.1 kB / 0.8539 GB, free: 13.95 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.166, allocations: 211.7 kB / 0.8541 GB, free: 13.74 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.166, allocations: 33.7 kB / 0.8541 GB, free: 13.7 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.1661, allocations: 129.1 kB / 0.8543 GB, free: 13.57 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.048e-05/0.1662, allocations: 79.41 kB / 0.8543 GB, free: 13.49 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.641e-05/0.1663, allocations: 54.25 kB / 0.8544 GB, free: 13.43 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.1665, allocations: 338.8 kB / 0.8547 GB, free: 13.09 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.1668, allocations: 150 kB / 0.8548 GB, free: 12.93 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.1671, allocations: 223.2 kB / 0.8551 GB, free: 12.67 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004786/0.1676, allocations: 278.3 kB / 0.8553 GB, free: 12.36 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1676, allocations: 4 kB / 0.8553 GB, free: 12.35 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.277/0.4446, allocations: 382.8 kB / 0.8557 GB, free: 28.2 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.852e-05/0.4446, allocations: 66.34 kB / 0.8558 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.4446, allocations: 4.25 kB / 0.8558 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.4446, allocations: 4.594 kB / 0.8558 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.4449, allocations: 50.19 kB / 0.8558 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.4449, allocations: 3.859 kB / 0.8558 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.4451, allocations: 18.31 kB / 0.8558 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.4451, allocations: 12.14 kB / 0.8558 GB, free: 28.14 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.0002028/0.4453, allocations: 172.7 kB / 0.856 GB, free: 28 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.4454, allocations: 28.11 kB / 0.856 GB, free: 28 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.495e-05/0.4454, allocations: 29.64 kB / 0.8561 GB, free: 27.99 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4454, allocations: 2.625 kB / 0.8561 GB, free: 27.99 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4454, allocations: 0 / 0.8561 GB, free: 27.99 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4454, allocations: 3.312 kB / 0.8561 GB, free: 27.99 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000729/0.4461, allocations: 0.5325 MB / 0.8566 GB, free: 27.69 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4462, allocations: 4.125 kB / 0.8566 GB, free: 27.69 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.4463, allocations: 31.94 kB / 0.8566 GB, free: 27.69 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.4463, allocations: 3.344 kB / 0.8566 GB, free: 27.69 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.4464, allocations: 8.922 kB / 0.8566 GB, free: 27.69 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.4464, allocations: 0 / 0.8566 GB, free: 27.69 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4464, allocations: 0 / 0.8566 GB, free: 27.69 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006579/0.447, allocations: 0.4995 MB / 0.8571 GB, free: 27.46 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.29e-05/0.447, allocations: 19.27 kB / 0.8571 GB, free: 27.46 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.4471, allocations: 8.75 kB / 0.8572 GB, free: 27.46 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.4473, allocations: 14.58 kB / 0.8572 GB, free: 27.46 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-05/0.4473, allocations: 23.12 kB / 0.8572 GB, free: 27.46 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.4474, allocations: 6.188 kB / 0.8572 GB, free: 27.46 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001152/0.4475, allocations: 157.2 kB / 0.8573 GB, free: 27.39 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.4475, allocations: 3.156 kB / 0.8573 GB, free: 27.39 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002995/0.4478, allocations: 53.34 kB / 0.8574 GB, free: 27.39 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.0001003/0.4479, allocations: 110 kB / 0.8575 GB, free: 27.3 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005191/0.4484, allocations: 380.5 kB / 0.8579 GB, free: 27.08 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4484, allocations: 2.875 kB / 0.8579 GB, free: 27.08 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.4486, allocations: 172.7 kB / 0.858 GB, free: 26.98 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.4491, allocations: 65.91 kB / 0.8581 GB, free: 26.98 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.4503, allocations: 0.6804 MB / 0.8588 GB, free: 26.71 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.035e-05/0.4504, allocations: 123.2 kB / 0.8589 GB, free: 26.63 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000112/0.4505, allocations: 26.95 kB / 0.8589 GB, free: 26.63 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.4505, allocations: 21.81 kB / 0.8589 GB, free: 26.62 MB / 490.8 MB Notification: Performance of SimCode: time 5.91e-07/0.4505, allocations: 0.5938 kB / 0.8589 GB, free: 26.62 MB / 490.8 MB Notification: Performance of Templates: time 0.007955/0.4585, allocations: 3.624 MB / 0.8625 GB, free: 26.31 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.506697556935251]