Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline.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.002323/0.002323, 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.005592/0.005592, allocations: 213.9 kB / 22.25 MB, free: 3.582 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.676/1.676, allocations: 230.6 MB / 256 MB, free: 9.586 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.434/1.434, allocations: 316.7 MB / 0.6144 GB, free: 92.82 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.D_4Hydroxyproline.D_4Hydroxyproline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline") [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.003947/0.003947, allocations: 77.78 kB / 0.775 GB, free: 14.67 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1508, allocations: 73.99 MB / 0.8472 GB, free: 4.816 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline): time 0.003399/0.1542, allocations: 1.828 MB / 0.849 GB, free: 2.988 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1557, allocations: 0.542 MB / 0.8495 GB, free: 2.445 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.357e-05/0.1558, allocations: 0 / 0.8495 GB, free: 2.445 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.156, allocations: 12.48 kB / 0.8496 GB, free: 2.434 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005291/0.1565, allocations: 68.7 kB / 0.8496 GB, free: 2.367 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.1568, allocations: 65.86 kB / 0.8497 GB, free: 2.305 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003466/0.1571, allocations: 164 kB / 0.8498 GB, free: 2.145 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.591e-05/0.1572, allocations: 9.875 kB / 0.8499 GB, free: 2.137 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1573, allocations: 67.77 kB / 0.8499 GB, free: 2.07 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003254/0.1577, allocations: 84.3 kB / 0.85 GB, free: 1.988 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.251e-05/0.1577, allocations: 8.5 kB / 0.85 GB, free: 1.98 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.313e-05/0.1577, allocations: 4 kB / 0.85 GB, free: 1.977 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 9.237e-05/0.1578, allocations: 40.45 kB / 0.8501 GB, free: 1.938 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.133e-05/0.1579, allocations: 40.39 kB / 0.8501 GB, free: 1.898 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.1581, allocations: 99.56 kB / 0.8502 GB, free: 1.801 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.1581, allocations: 4.625 kB / 0.8502 GB, free: 1.797 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1582, allocations: 0.5938 kB / 0.8502 GB, free: 1.797 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.1582, allocations: 0 / 0.8502 GB, free: 1.797 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.0009969/0.1592, allocations: 391.4 kB / 0.8506 GB, free: 1.383 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.1592, allocations: 16.52 kB / 0.8506 GB, free: 1.367 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/0.1593, allocations: 12.84 kB / 0.8506 GB, free: 1.355 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.1595, allocations: 155.7 kB / 0.8507 GB, free: 1.18 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.1596, allocations: 12.38 kB / 0.8508 GB, free: 1.168 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.1596, allocations: 16.59 kB / 0.8508 GB, free: 1.152 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.1599, allocations: 100.9 kB / 0.8509 GB, free: 1.051 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1599, allocations: 0.5938 kB / 0.8509 GB, free: 1.051 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.1599, allocations: 4 kB / 0.8509 GB, free: 1.047 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1599, allocations: 0.7188 kB / 0.8509 GB, free: 1.047 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.1602, allocations: 76.64 kB / 0.8509 GB, free: 0.9727 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005873/0.1608, allocations: 281 kB / 0.8512 GB, free: 0.668 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004356/0.1612, allocations: 143.5 kB / 0.8513 GB, free: 0.5195 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.1614, allocations: 57.44 kB / 0.8514 GB, free: 472 kB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.1614, allocations: 4 kB / 0.8514 GB, free: 468 kB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003034/0.1617, allocations: 108.5 kB / 0.8515 GB, free: 348 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.1617, allocations: 0 / 0.8515 GB, free: 348 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006365/0.1624, allocations: 203.3 kB / 0.8517 GB, free: 140 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.1624, allocations: 51.41 kB / 0.8518 GB, free: 76 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.1626, allocations: 162 kB / 0.8519 GB, free: 15.91 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.1627, allocations: 30.3 kB / 0.8519 GB, free: 15.88 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.645e-05/0.1628, allocations: 104.1 kB / 0.852 GB, free: 15.77 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.1628, allocations: 44.39 kB / 0.8521 GB, free: 15.73 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.127e-05/0.1629, allocations: 41.69 kB / 0.8521 GB, free: 15.68 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.1631, allocations: 327.4 kB / 0.8524 GB, free: 15.35 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.1633, allocations: 78.28 kB / 0.8525 GB, free: 15.27 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.1636, allocations: 205.2 kB / 0.8527 GB, free: 15.04 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.164, allocations: 139.9 kB / 0.8528 GB, free: 14.89 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.164, allocations: 0 / 0.8528 GB, free: 14.89 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005091/0.1645, allocations: 247 kB / 0.8531 GB, free: 14.63 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.099e-05/0.1645, allocations: 34.33 kB / 0.8531 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1645, allocations: 0.625 kB / 0.8531 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1645, allocations: 0 / 0.8531 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.1647, allocations: 28.77 kB / 0.8531 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1647, allocations: 0.5 kB / 0.8531 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.1649, allocations: 32.42 kB / 0.8532 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.1649, allocations: 0.5 kB / 0.8532 GB, free: 14.54 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.0001289/0.165, allocations: 130.4 kB / 0.8533 GB, free: 14.4 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.1651, allocations: 12.52 kB / 0.8533 GB, free: 14.39 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004751/0.1655, allocations: 173.4 kB / 0.8535 GB, free: 14.21 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1655, allocations: 4.688 kB / 0.8535 GB, free: 14.21 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1655, allocations: 0.5312 kB / 0.8535 GB, free: 14.21 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1655, allocations: 0 / 0.8535 GB, free: 14.21 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.1657, allocations: 157.7 kB / 0.8536 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1657, allocations: 0.5312 kB / 0.8536 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/0.1662, allocations: 28.55 kB / 0.8536 GB, free: 14 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.1662, allocations: 0 / 0.8536 GB, free: 14 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.1662, allocations: 0.5312 kB / 0.8536 GB, free: 14 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.1662, allocations: 4.562 kB / 0.8536 GB, free: 14 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1662, allocations: 0 / 0.8536 GB, free: 14 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006319/0.1668, allocations: 254 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.1669, allocations: 20.45 kB / 0.8539 GB, free: 13.71 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.1669, allocations: 4.562 kB / 0.8539 GB, free: 13.71 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.167, allocations: 16.66 kB / 0.8539 GB, free: 13.69 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/0.1671, allocations: 15.92 kB / 0.8539 GB, free: 13.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.1671, allocations: 8.672 kB / 0.854 GB, free: 13.67 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001237/0.1672, allocations: 121.9 kB / 0.8541 GB, free: 13.55 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1672, allocations: 0.5625 kB / 0.8541 GB, free: 13.55 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002479/0.1675, allocations: 32.78 kB / 0.8541 GB, free: 13.52 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.0001445/0.1676, allocations: 102.3 kB / 0.8542 GB, free: 13.41 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005165/0.1681, allocations: 214.2 kB / 0.8544 GB, free: 13.19 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1681, allocations: 0 / 0.8544 GB, free: 13.19 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.1683, allocations: 64.89 kB / 0.8545 GB, free: 13.12 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.1687, allocations: 45.89 kB / 0.8545 GB, free: 13.08 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008045/0.1695, allocations: 328 kB / 0.8548 GB, free: 12.74 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.1696, allocations: 99.25 kB / 0.8549 GB, free: 12.62 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.1697, allocations: 23.86 kB / 0.8549 GB, free: 12.61 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.1698, allocations: 19.94 kB / 0.855 GB, free: 12.59 MB / 490.8 MB Notification: Performance of SimCode: time 3.81e-07/0.1698, allocations: 0.625 kB / 0.855 GB, free: 12.59 MB / 490.8 MB Notification: Performance of Templates: time 0.3208/0.4905, allocations: 2.626 MB / 0.8575 GB, free: 28.13 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4Hydroxyproline.D_4Hydroxyproline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.258105110842735]