Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid.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.001866/0.001866, allocations: 101.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.001918/0.001918, allocations: 219.5 kB / 22.25 MB, free: 3.562 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.771/1.771, allocations: 230.6 MB / 256 MB, free: 9.605 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.424/1.424, allocations: 316.7 MB / 0.6144 GB, free: 92.93 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.ButyricAcid.ButyricAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid") [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.003979/0.003979, allocations: 69.2 kB / 0.775 GB, free: 14.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.167, allocations: 74 MB / 0.8473 GB, free: 4.91 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid): time 0.003592/0.1706, allocations: 1.824 MB / 0.849 GB, free: 3.086 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1717, allocations: 0.5416 MB / 0.8496 GB, free: 2.543 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.7e-05/0.1718, allocations: 0.5938 kB / 0.8496 GB, free: 2.543 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.39e-05/0.1719, allocations: 16.48 kB / 0.8496 GB, free: 2.527 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003401/0.1722, allocations: 68.78 kB / 0.8497 GB, free: 2.461 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.1724, allocations: 65.67 kB / 0.8497 GB, free: 2.398 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.1727, allocations: 159.8 kB / 0.8499 GB, free: 2.242 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.1727, allocations: 9.875 kB / 0.8499 GB, free: 2.234 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.1728, allocations: 79.69 kB / 0.85 GB, free: 2.156 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.1731, allocations: 76.94 kB / 0.85 GB, free: 2.082 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.1731, allocations: 8 kB / 0.85 GB, free: 2.074 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.665e-05/0.1732, allocations: 8 kB / 0.85 GB, free: 2.066 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.748e-05/0.1732, allocations: 32.84 kB / 0.8501 GB, free: 2.035 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.446e-05/0.1733, allocations: 51.77 kB / 0.8501 GB, free: 1.984 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.1735, allocations: 96.2 kB / 0.8502 GB, free: 1.891 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1735, allocations: 0 / 0.8502 GB, free: 1.891 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1735, allocations: 1.719 kB / 0.8502 GB, free: 1.891 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.1735, allocations: 0 / 0.8502 GB, free: 1.891 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.0008508/0.1743, allocations: 397.9 kB / 0.8506 GB, free: 1.469 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.1744, allocations: 8.031 kB / 0.8506 GB, free: 1.461 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/0.1744, allocations: 16.84 kB / 0.8506 GB, free: 1.445 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.1747, allocations: 150.8 kB / 0.8508 GB, free: 1.273 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1747, allocations: 8.375 kB / 0.8508 GB, free: 1.266 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.1747, allocations: 8.125 kB / 0.8508 GB, free: 1.258 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.175, allocations: 102.2 kB / 0.8509 GB, free: 1.152 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.175, allocations: 0.9062 kB / 0.8509 GB, free: 1.152 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.175, allocations: 4 kB / 0.8509 GB, free: 1.148 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.175, allocations: 2.062 kB / 0.8509 GB, free: 1.148 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.1753, allocations: 75.92 kB / 0.851 GB, free: 1.074 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.1759, allocations: 284.3 kB / 0.8512 GB, free: 0.7656 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.1763, allocations: 135.1 kB / 0.8514 GB, free: 0.625 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.1765, allocations: 61.91 kB / 0.8514 GB, free: 0.5625 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1765, allocations: 0 / 0.8514 GB, free: 0.5625 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002936/0.1768, allocations: 111.6 kB / 0.8515 GB, free: 456 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.1768, allocations: 0.75 kB / 0.8515 GB, free: 456 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006297/0.1774, allocations: 202.7 kB / 0.8517 GB, free: 248 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.1775, allocations: 51.41 kB / 0.8518 GB, free: 184 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.1776, allocations: 159.1 kB / 0.8519 GB, free: 16 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.1777, allocations: 30.27 kB / 0.8519 GB, free: 15.98 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.554e-05/0.1778, allocations: 112 kB / 0.852 GB, free: 15.87 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.1778, allocations: 44.14 kB / 0.8521 GB, free: 15.82 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.978e-05/0.1779, allocations: 38.3 kB / 0.8521 GB, free: 15.78 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1781, allocations: 326.8 kB / 0.8524 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.1783, allocations: 82.41 kB / 0.8525 GB, free: 15.37 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.1786, allocations: 201.3 kB / 0.8527 GB, free: 15.14 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.179, allocations: 144 kB / 0.8528 GB, free: 14.99 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.179, allocations: 4 kB / 0.8529 GB, free: 14.98 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005211/0.1795, allocations: 244.5 kB / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/0.1795, allocations: 33.7 kB / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1795, allocations: 1.969 kB / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1796, allocations: 0 / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.1797, allocations: 31.97 kB / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.515e-06/0.1798, allocations: 3.984 kB / 0.8532 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.1799, allocations: 28.38 kB / 0.8532 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.1799, allocations: 4.938 kB / 0.8532 GB, free: 14.62 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.0001216/0.1801, allocations: 125.7 kB / 0.8533 GB, free: 14.49 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.1801, allocations: 13.86 kB / 0.8533 GB, free: 14.48 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004796/0.1806, allocations: 170.4 kB / 0.8535 GB, free: 14.31 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1806, allocations: 3.938 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1806, allocations: 1.031 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1806, allocations: 3.984 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.1808, allocations: 159 kB / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1808, allocations: 0 / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.1809, allocations: 23.98 kB / 0.8537 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1809, allocations: 0 / 0.8537 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.181, allocations: 3.984 kB / 0.8537 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.181, allocations: 4.688 kB / 0.8537 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.181, allocations: 0 / 0.8537 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007745/0.1817, allocations: 258.4 kB / 0.8539 GB, free: 13.82 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.1818, allocations: 11.92 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/0.1818, allocations: 8.578 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.182, allocations: 12.61 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.432e-05/0.1821, allocations: 16.66 kB / 0.854 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.1821, allocations: 4 kB / 0.854 GB, free: 13.77 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001598/0.1823, allocations: 122.5 kB / 0.8541 GB, free: 13.65 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1823, allocations: 0 / 0.8541 GB, free: 13.65 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000226/0.1825, allocations: 32.72 kB / 0.8541 GB, free: 13.62 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.0001261/0.1826, allocations: 95.94 kB / 0.8542 GB, free: 13.52 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005057/0.1831, allocations: 221 kB / 0.8544 GB, free: 13.29 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.1831, allocations: 0.5938 kB / 0.8544 GB, free: 13.29 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.1833, allocations: 64.39 kB / 0.8545 GB, free: 13.22 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.1836, allocations: 45.81 kB / 0.8545 GB, free: 13.18 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.1847, allocations: 317.2 kB / 0.8548 GB, free: 12.85 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.1848, allocations: 107.2 kB / 0.8549 GB, free: 12.72 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.1849, allocations: 28.55 kB / 0.855 GB, free: 12.7 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.185, allocations: 19.44 kB / 0.855 GB, free: 12.68 MB / 490.8 MB Notification: Performance of SimCode: time 3.81e-07/0.185, allocations: 0.875 kB / 0.855 GB, free: 12.68 MB / 490.8 MB Notification: Performance of Templates: time 0.2762/0.4611, allocations: 2.626 MB / 0.8575 GB, free: 28.14 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.5136940239463]