Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_1267TetrachlorodibenzoPDioxin.D_1267TetrachlorodibenzoPDioxin_Michalek1999_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.002358/0.002358, 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.005805/0.005805, 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.708/1.708, allocations: 230.6 MB / 256 MB, free: 9.637 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.429/1.429, allocations: 316.8 MB / 0.6144 GB, free: 92.98 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_1267TetrachlorodibenzoPDioxin.D_1267TetrachlorodibenzoPDioxin_Michalek1999_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_1267TetrachlorodibenzoPDioxin.D_1267TetrachlorodibenzoPDioxin_Michalek1999_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_1267TetrachlorodibenzoPDioxin.D_1267TetrachlorodibenzoPDioxin_Michalek1999_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_1267TetrachlorodibenzoPDioxin.D_1267TetrachlorodibenzoPDioxin_Michalek1999_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.003848/0.003848, allocations: 77.41 kB / 0.775 GB, free: 14.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1692, allocations: 73.99 MB / 0.8473 GB, free: 4.887 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_1267TetrachlorodibenzoPDioxin.D_1267TetrachlorodibenzoPDioxin_Michalek1999_reference): time 0.003753/0.1729, allocations: 1.815 MB / 0.849 GB, free: 3.074 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.1742, allocations: 0.5455 MB / 0.8496 GB, free: 2.527 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.377e-05/0.1743, allocations: 0.625 kB / 0.8496 GB, free: 2.527 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.1744, allocations: 12.36 kB / 0.8496 GB, free: 2.516 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004546/0.1749, allocations: 65.02 kB / 0.8496 GB, free: 2.453 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.1751, allocations: 65.77 kB / 0.8497 GB, free: 2.391 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.1754, allocations: 163.3 kB / 0.8499 GB, free: 2.23 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.412e-05/0.1754, allocations: 6 kB / 0.8499 GB, free: 2.227 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.1756, allocations: 75.69 kB / 0.8499 GB, free: 2.152 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.1759, allocations: 76.34 kB / 0.85 GB, free: 2.078 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.1759, allocations: 8.656 kB / 0.85 GB, free: 2.07 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.272e-05/0.1759, allocations: 8 kB / 0.85 GB, free: 2.062 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.198e-05/0.176, allocations: 40.41 kB / 0.8501 GB, free: 2.023 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.744e-05/0.1761, allocations: 44.36 kB / 0.8501 GB, free: 1.98 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.1763, allocations: 95.58 kB / 0.8502 GB, free: 1.887 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1763, allocations: 4.5 kB / 0.8502 GB, free: 1.883 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1763, allocations: 0.625 kB / 0.8502 GB, free: 1.883 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1763, allocations: 0 / 0.8502 GB, free: 1.883 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.000993/0.1773, allocations: 389.2 kB / 0.8506 GB, free: 1.469 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.1774, allocations: 9.344 kB / 0.8506 GB, free: 1.461 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.493e-05/0.1774, allocations: 20.83 kB / 0.8506 GB, free: 1.441 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.1777, allocations: 150.8 kB / 0.8508 GB, free: 1.27 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.1777, allocations: 9.125 kB / 0.8508 GB, free: 1.262 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.1778, allocations: 12.12 kB / 0.8508 GB, free: 1.25 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.1781, allocations: 110 kB / 0.8509 GB, free: 1.141 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1781, allocations: 0.75 kB / 0.8509 GB, free: 1.141 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1781, allocations: 0 / 0.8509 GB, free: 1.141 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.1781, allocations: 3.938 kB / 0.8509 GB, free: 1.137 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/0.1784, allocations: 80.95 kB / 0.851 GB, free: 1.059 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006041/0.179, allocations: 282.4 kB / 0.8512 GB, free: 0.7539 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004246/0.1794, allocations: 134.4 kB / 0.8514 GB, free: 0.6133 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.1796, allocations: 53.7 kB / 0.8514 GB, free: 0.5586 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1796, allocations: 0 / 0.8514 GB, free: 0.5586 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003081/0.1799, allocations: 121.4 kB / 0.8515 GB, free: 440 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.1799, allocations: 0 / 0.8515 GB, free: 440 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006475/0.1806, allocations: 204.3 kB / 0.8517 GB, free: 232 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.1806, allocations: 55.41 kB / 0.8518 GB, free: 164 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.1808, allocations: 161.6 kB / 0.8519 GB, free: 15.99 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.1809, allocations: 29.64 kB / 0.852 GB, free: 15.96 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.181, allocations: 104.1 kB / 0.8521 GB, free: 15.86 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.578e-05/0.181, allocations: 47.64 kB / 0.8521 GB, free: 15.81 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.508e-05/0.1811, allocations: 33.7 kB / 0.8521 GB, free: 15.77 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.1813, allocations: 331.5 kB / 0.8524 GB, free: 15.44 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.1815, allocations: 85.64 kB / 0.8525 GB, free: 15.35 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.1818, allocations: 194.8 kB / 0.8527 GB, free: 15.12 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.1822, allocations: 150.3 kB / 0.8529 GB, free: 14.97 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1822, allocations: 0.5938 kB / 0.8529 GB, free: 14.97 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005125/0.1827, allocations: 237.6 kB / 0.8531 GB, free: 14.72 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/0.1827, allocations: 34.44 kB / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1827, allocations: 0 / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1827, allocations: 0.5625 kB / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.1829, allocations: 32.73 kB / 0.8531 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1829, allocations: 224 / 0.8531 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.1831, allocations: 20.38 kB / 0.8532 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.1831, allocations: 16.5 kB / 0.8532 GB, free: 14.61 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.0001496/0.1833, allocations: 127.4 kB / 0.8533 GB, free: 14.48 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.1833, allocations: 8.641 kB / 0.8533 GB, free: 14.47 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004747/0.1838, allocations: 170.9 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.1838, allocations: 0.5 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1838, allocations: 8.594 kB / 0.8535 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1838, allocations: 0 / 0.8535 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.184, allocations: 153.7 kB / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.184, allocations: 4.578 kB / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.1841, allocations: 20.58 kB / 0.8537 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.1841, allocations: 4 kB / 0.8537 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.1842, allocations: 4.5 kB / 0.8537 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1842, allocations: 4.562 kB / 0.8537 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1842, allocations: 0 / 0.8537 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/0.1848, allocations: 258.1 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.783e-05/0.1848, allocations: 12.55 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.1849, allocations: 8.5 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.185, allocations: 8.609 kB / 0.8539 GB, free: 13.78 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.676e-05/0.1851, allocations: 19.97 kB / 0.854 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.1851, allocations: 4.594 kB / 0.854 GB, free: 13.76 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0002961/0.1854, allocations: 122.6 kB / 0.8541 GB, free: 13.64 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1854, allocations: 0 / 0.8541 GB, free: 13.64 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002269/0.1856, allocations: 28.59 kB / 0.8541 GB, free: 13.61 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.0001729/0.1858, allocations: 111.9 kB / 0.8542 GB, free: 13.5 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005144/0.1863, allocations: 214.9 kB / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1863, allocations: 0 / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.1865, allocations: 65.2 kB / 0.8545 GB, free: 13.21 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.1868, allocations: 41.11 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.0008393/0.1877, allocations: 322.6 kB / 0.8548 GB, free: 12.84 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.1878, allocations: 99.23 kB / 0.8549 GB, free: 12.72 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.1879, allocations: 29.38 kB / 0.855 GB, free: 12.7 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.862e-05/0.188, allocations: 23.38 kB / 0.855 GB, free: 12.67 MB / 490.8 MB Notification: Performance of SimCode: time 8.51e-07/0.188, allocations: 0 / 0.855 GB, free: 12.67 MB / 490.8 MB Notification: Performance of Templates: time 0.3344/0.5224, allocations: 2.645 MB / 0.8576 GB, free: 28.19 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_1267TetrachlorodibenzoPDioxin.D_1267TetrachlorodibenzoPDioxin_Michalek1999_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_1267TetrachlorodibenzoPDioxin.D_1267TetrachlorodibenzoPDioxin_Michalek1999_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_1267TetrachlorodibenzoPDioxin.D_1267TetrachlorodibenzoPDioxin_Michalek1999_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_1267TetrachlorodibenzoPDioxin.D_1267TetrachlorodibenzoPDioxin_Michalek1999_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_1267TetrachlorodibenzoPDioxin.D_1267TetrachlorodibenzoPDioxin_Michalek1999_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_1267TetrachlorodibenzoPDioxin.D_1267TetrachlorodibenzoPDioxin_Michalek1999_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_1267TetrachlorodibenzoPDioxin.D_1267TetrachlorodibenzoPDioxin_Michalek1999_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.382743365131319]