Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_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.001865/0.001865, 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.002005/0.002005, allocations: 214.4 kB / 22.25 MB, free: 3.574 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.673/1.673, allocations: 230.6 MB / 256 MB, free: 9.645 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.376/1.376, allocations: 316.7 MB / 0.6144 GB, free: 93.02 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.SodiumArsenite.SodiumArsenite_Leffler1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_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.004063/0.004063, allocations: 73.39 kB / 0.775 GB, free: 14.78 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1573, allocations: 73.99 MB / 0.8472 GB, free: 4.922 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference): time 0.003603/0.1609, allocations: 1.807 MB / 0.849 GB, free: 3.117 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.1621, allocations: 0.5382 MB / 0.8495 GB, free: 2.578 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.521e-05/0.1622, allocations: 4 kB / 0.8495 GB, free: 2.574 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.1623, allocations: 16.97 kB / 0.8496 GB, free: 2.559 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003929/0.1627, allocations: 68.19 kB / 0.8496 GB, free: 2.492 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.1629, allocations: 62.19 kB / 0.8497 GB, free: 2.434 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.1632, allocations: 163.3 kB / 0.8498 GB, free: 2.273 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.1632, allocations: 1.875 kB / 0.8498 GB, free: 2.273 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.1634, allocations: 80.41 kB / 0.8499 GB, free: 2.195 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.1637, allocations: 79.72 kB / 0.85 GB, free: 2.117 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.1637, allocations: 8.719 kB / 0.85 GB, free: 2.109 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.427e-05/0.1637, allocations: 11.94 kB / 0.85 GB, free: 2.098 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.993e-05/0.1638, allocations: 28.44 kB / 0.85 GB, free: 2.07 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.709e-05/0.1639, allocations: 52.39 kB / 0.8501 GB, free: 2.02 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.1641, allocations: 91.58 kB / 0.8502 GB, free: 1.93 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1641, allocations: 0.5 kB / 0.8502 GB, free: 1.93 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1641, allocations: 4.562 kB / 0.8502 GB, free: 1.926 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1641, allocations: 0 / 0.8502 GB, free: 1.926 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.0009488/0.165, allocations: 393.4 kB / 0.8506 GB, free: 1.508 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1651, allocations: 8.656 kB / 0.8506 GB, free: 1.5 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.395e-05/0.1651, allocations: 20.84 kB / 0.8506 GB, free: 1.48 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.1654, allocations: 151.4 kB / 0.8507 GB, free: 1.309 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.1654, allocations: 8.359 kB / 0.8507 GB, free: 1.301 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.1655, allocations: 16.72 kB / 0.8508 GB, free: 1.285 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.1658, allocations: 102.2 kB / 0.8508 GB, free: 1.18 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1658, allocations: 4.531 kB / 0.8509 GB, free: 1.176 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1658, allocations: 0 / 0.8509 GB, free: 1.176 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1658, allocations: 0.75 kB / 0.8509 GB, free: 1.176 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003043/0.1661, allocations: 84.53 kB / 0.8509 GB, free: 1.094 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.1667, allocations: 281.3 kB / 0.8512 GB, free: 0.7891 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.1671, allocations: 135.4 kB / 0.8513 GB, free: 0.6484 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.1673, allocations: 57.84 kB / 0.8514 GB, free: 0.5898 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.1673, allocations: 0 / 0.8514 GB, free: 0.5898 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/0.1676, allocations: 111.8 kB / 0.8515 GB, free: 480 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.1676, allocations: 1.688 kB / 0.8515 GB, free: 480 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006357/0.1682, allocations: 205.1 kB / 0.8517 GB, free: 272 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.1683, allocations: 56.75 kB / 0.8517 GB, free: 204 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004663/0.1688, allocations: 161.5 kB / 0.8519 GB, free: 36 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.1688, allocations: 25.7 kB / 0.8519 GB, free: 4 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.1689, allocations: 113.1 kB / 0.852 GB, free: 15.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.169, allocations: 43.64 kB / 0.8521 GB, free: 15.85 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.731e-05/0.169, allocations: 37.7 kB / 0.8521 GB, free: 15.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.1692, allocations: 328.7 kB / 0.8524 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.1694, allocations: 81.66 kB / 0.8525 GB, free: 15.39 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.1697, allocations: 202.1 kB / 0.8527 GB, free: 15.16 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.1701, allocations: 149.3 kB / 0.8528 GB, free: 15 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.1701, allocations: 2.438 kB / 0.8528 GB, free: 15 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000495/0.1706, allocations: 232.8 kB / 0.8531 GB, free: 14.76 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.013e-05/0.1706, allocations: 36.36 kB / 0.8531 GB, free: 14.72 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1706, allocations: 0 / 0.8531 GB, free: 14.72 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.1707, allocations: 0.5 kB / 0.8531 GB, free: 14.72 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.1708, allocations: 28.69 kB / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.1709, allocations: 7.938 kB / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.171, allocations: 24.72 kB / 0.8532 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.171, allocations: 4.625 kB / 0.8532 GB, free: 14.66 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.0001448/0.1712, allocations: 134.3 kB / 0.8533 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.1712, allocations: 8.578 kB / 0.8533 GB, free: 14.51 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004852/0.1717, allocations: 174.9 kB / 0.8535 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1717, allocations: 0.625 kB / 0.8535 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1717, allocations: 0.625 kB / 0.8535 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1717, allocations: 4 kB / 0.8535 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.1719, allocations: 150 kB / 0.8536 GB, free: 14.15 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1719, allocations: 4 kB / 0.8536 GB, free: 14.15 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.1721, allocations: 24.78 kB / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1721, allocations: 0 / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.1721, allocations: 4.594 kB / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1721, allocations: 0 / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.1721, allocations: 4.719 kB / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006528/0.1728, allocations: 253.9 kB / 0.8539 GB, free: 13.85 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.1728, allocations: 20.34 kB / 0.8539 GB, free: 13.83 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.1728, allocations: 4.688 kB / 0.8539 GB, free: 13.83 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.173, allocations: 12.48 kB / 0.8539 GB, free: 13.82 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.173, allocations: 19.97 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.1731, allocations: 0.5625 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1732, allocations: 119.8 kB / 0.8541 GB, free: 13.68 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1732, allocations: 0 / 0.8541 GB, free: 13.68 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002178/0.1734, allocations: 32.56 kB / 0.8541 GB, free: 13.65 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.000189/0.1736, allocations: 100.5 kB / 0.8542 GB, free: 13.54 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005151/0.1741, allocations: 217.4 kB / 0.8544 GB, free: 13.31 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1741, allocations: 0.5938 kB / 0.8544 GB, free: 13.31 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.1743, allocations: 64.55 kB / 0.8545 GB, free: 13.25 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.1746, allocations: 48.36 kB / 0.8545 GB, free: 13.21 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008066/0.1754, allocations: 318.8 kB / 0.8548 GB, free: 12.87 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.1756, allocations: 107.2 kB / 0.8549 GB, free: 12.75 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.754e-05/0.1757, allocations: 20.08 kB / 0.8549 GB, free: 12.73 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/0.1757, allocations: 20.02 kB / 0.8549 GB, free: 12.71 MB / 490.8 MB Notification: Performance of SimCode: time 4.11e-07/0.1757, allocations: 4.594 kB / 0.8549 GB, free: 12.71 MB / 490.8 MB Notification: Performance of Templates: time 0.284/0.4597, allocations: 2.631 MB / 0.8575 GB, free: 28.21 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.274957841029391]