Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_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.002631/0.002631, allocations: 109.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.003244/0.003244, allocations: 219.6 kB / 22.25 MB, free: 3.578 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.834/1.834, allocations: 230.6 MB / 256 MB, free: 9.652 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.393/1.393, allocations: 316.7 MB / 0.6144 GB, free: 93.09 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.Cotinine.Cotinine_Dempsey2013_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_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.005404/0.005404, allocations: 79.27 kB / 0.775 GB, free: 14.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1582, allocations: 73.99 MB / 0.8472 GB, free: 4.945 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference): time 0.004329/0.1625, allocations: 1.812 MB / 0.849 GB, free: 3.133 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.164, allocations: 0.5418 MB / 0.8495 GB, free: 2.59 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.592e-05/0.1641, allocations: 4.625 kB / 0.8495 GB, free: 2.586 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.1642, allocations: 11.86 kB / 0.8496 GB, free: 2.574 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003939/0.1646, allocations: 64.8 kB / 0.8496 GB, free: 2.512 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.1648, allocations: 62.39 kB / 0.8497 GB, free: 2.453 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.1652, allocations: 167.3 kB / 0.8498 GB, free: 2.289 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.1652, allocations: 1.906 kB / 0.8498 GB, free: 2.289 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.1654, allocations: 76.3 kB / 0.8499 GB, free: 2.215 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003097/0.1657, allocations: 83.7 kB / 0.85 GB, free: 2.133 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.161e-05/0.1657, allocations: 8.5 kB / 0.85 GB, free: 2.125 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.105e-05/0.1658, allocations: 8.5 kB / 0.85 GB, free: 2.117 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.916e-05/0.1659, allocations: 36.58 kB / 0.85 GB, free: 2.082 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.166, allocations: 43.8 kB / 0.8501 GB, free: 2.039 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.1662, allocations: 96.06 kB / 0.8502 GB, free: 1.945 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1662, allocations: 0 / 0.8502 GB, free: 1.945 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1662, allocations: 4.594 kB / 0.8502 GB, free: 1.941 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1662, allocations: 4.562 kB / 0.8502 GB, free: 1.938 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001097/0.1673, allocations: 392.7 kB / 0.8506 GB, free: 1.52 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1673, allocations: 12.39 kB / 0.8506 GB, free: 1.508 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.603e-05/0.1674, allocations: 17.47 kB / 0.8506 GB, free: 1.492 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.1677, allocations: 150.8 kB / 0.8507 GB, free: 1.32 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1677, allocations: 4.969 kB / 0.8507 GB, free: 1.316 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.222e-05/0.1678, allocations: 20.7 kB / 0.8508 GB, free: 1.297 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.1681, allocations: 102 kB / 0.8509 GB, free: 1.195 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1682, allocations: 0 / 0.8509 GB, free: 1.195 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.1682, allocations: 4.5 kB / 0.8509 GB, free: 1.191 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1682, allocations: 0.7188 kB / 0.8509 GB, free: 1.191 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004159/0.1686, allocations: 80.58 kB / 0.8509 GB, free: 1.113 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006877/0.1693, allocations: 289 kB / 0.8512 GB, free: 0.8008 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005825/0.1699, allocations: 135 kB / 0.8513 GB, free: 0.6602 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.1701, allocations: 53.5 kB / 0.8514 GB, free: 0.6055 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.1701, allocations: 5.344 kB / 0.8514 GB, free: 0.6016 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003823/0.1705, allocations: 111.3 kB / 0.8515 GB, free: 492 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.1705, allocations: 1.094 kB / 0.8515 GB, free: 492 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0008343/0.1713, allocations: 203.5 kB / 0.8517 GB, free: 284 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.1714, allocations: 55.41 kB / 0.8518 GB, free: 216 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.1717, allocations: 157.5 kB / 0.8519 GB, free: 52 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/0.1717, allocations: 29.7 kB / 0.8519 GB, free: 16 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.1719, allocations: 104.6 kB / 0.852 GB, free: 15.91 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.172, allocations: 43.64 kB / 0.8521 GB, free: 15.87 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.1721, allocations: 44.12 kB / 0.8521 GB, free: 15.82 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.1723, allocations: 326.8 kB / 0.8524 GB, free: 15.49 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.1726, allocations: 81.66 kB / 0.8525 GB, free: 15.41 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/0.173, allocations: 198.1 kB / 0.8527 GB, free: 15.18 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005085/0.1735, allocations: 150.8 kB / 0.8528 GB, free: 15.02 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1735, allocations: 0 / 0.8528 GB, free: 15.02 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006895/0.1742, allocations: 236.8 kB / 0.8531 GB, free: 14.77 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.117e-05/0.1743, allocations: 34.98 kB / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1743, allocations: 0 / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1743, allocations: 0 / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.1745, allocations: 25.11 kB / 0.8531 GB, free: 14.71 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.1745, allocations: 7.938 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.1748, allocations: 28.42 kB / 0.8532 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.1748, allocations: 4.562 kB / 0.8532 GB, free: 14.67 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0001568/0.175, allocations: 126.4 kB / 0.8533 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.175, allocations: 11.89 kB / 0.8533 GB, free: 14.53 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006349/0.1756, allocations: 175.4 kB / 0.8535 GB, free: 14.35 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1756, allocations: 0.7812 kB / 0.8535 GB, free: 14.35 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1756, allocations: 0.6562 kB / 0.8535 GB, free: 14.35 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1756, allocations: 7.938 kB / 0.8535 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.1759, allocations: 153.9 kB / 0.8536 GB, free: 14.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1759, allocations: 0 / 0.8536 GB, free: 14.16 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.1761, allocations: 24.48 kB / 0.8536 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1761, allocations: 0.625 kB / 0.8536 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.1761, allocations: 4 kB / 0.8536 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1761, allocations: 0.625 kB / 0.8536 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1761, allocations: 0.625 kB / 0.8536 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008848/0.177, allocations: 264.1 kB / 0.8539 GB, free: 13.87 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.1771, allocations: 11.92 kB / 0.8539 GB, free: 13.86 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.1771, allocations: 4.594 kB / 0.8539 GB, free: 13.85 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.1773, allocations: 16.56 kB / 0.8539 GB, free: 13.84 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.311e-05/0.1774, allocations: 12.7 kB / 0.8539 GB, free: 13.82 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.1774, allocations: 11.98 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000161/0.1776, allocations: 116.1 kB / 0.8541 GB, free: 13.7 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1776, allocations: 0 / 0.8541 GB, free: 13.7 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003628/0.1779, allocations: 32.56 kB / 0.8541 GB, free: 13.67 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001638/0.1781, allocations: 107.8 kB / 0.8542 GB, free: 13.55 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006696/0.1788, allocations: 214.1 kB / 0.8544 GB, free: 13.33 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1788, allocations: 0.5625 kB / 0.8544 GB, free: 13.33 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.179, allocations: 64.48 kB / 0.8545 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.1795, allocations: 46.84 kB / 0.8545 GB, free: 13.23 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.1805, allocations: 326.8 kB / 0.8548 GB, free: 12.88 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.1807, allocations: 107.3 kB / 0.8549 GB, free: 12.76 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001322/0.1808, allocations: 20.45 kB / 0.8549 GB, free: 12.74 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.067e-05/0.1809, allocations: 16.06 kB / 0.855 GB, free: 12.73 MB / 490.8 MB Notification: Performance of SimCode: time 6.41e-07/0.1809, allocations: 3.938 kB / 0.855 GB, free: 12.72 MB / 490.8 MB Notification: Performance of Templates: time 0.2638/0.4446, allocations: 2.621 MB / 0.8575 GB, free: 28.16 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.518357540946454]