Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_1_to_3_m.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.0008846/0.0008846, allocations: 112.3 kB / 19.71 MB, free: 432 kB / 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.0009579/0.0009579, allocations: 217.3 kB / 23.01 MB, free: 2.957 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.078/1.078, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7563/0.7563, allocations: 312.3 MB / 0.6108 GB, free: 97.61 MB / 410.7 MB " [Timeout remaining time 179] 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.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_1_to_3_m,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_1_to_3_m") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_1_to_3_m,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_1_to_3_m") [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.001881/0.001881, allocations: 70.45 kB / 0.7699 GB, free: 20.37 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1519, allocations: 73.99 MB / 0.8421 GB, free: 10.51 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_1_to_3_m): time 0.002779/0.1547, allocations: 1.833 MB / 0.8439 GB, free: 8.68 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008758/0.1555, allocations: 0.5416 MB / 0.8445 GB, free: 8.137 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.751e-05/0.1556, allocations: 0.625 kB / 0.8445 GB, free: 8.137 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.1557, allocations: 11.86 kB / 0.8445 GB, free: 8.125 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.1561, allocations: 72.73 kB / 0.8445 GB, free: 8.055 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.1562, allocations: 62.17 kB / 0.8446 GB, free: 7.996 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.1564, allocations: 159.9 kB / 0.8447 GB, free: 7.84 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.1565, allocations: 9.297 kB / 0.8448 GB, free: 7.832 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1566, allocations: 72.2 kB / 0.8448 GB, free: 7.762 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.1569, allocations: 92.33 kB / 0.8449 GB, free: 7.672 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.1569, allocations: 4.5 kB / 0.8449 GB, free: 7.668 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.29e-05/0.1569, allocations: 8 kB / 0.8449 GB, free: 7.66 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.117e-05/0.157, allocations: 32.45 kB / 0.845 GB, free: 7.629 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.145e-05/0.1571, allocations: 44.39 kB / 0.845 GB, free: 7.586 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.1572, allocations: 99.56 kB / 0.8451 GB, free: 7.488 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1572, allocations: 0.5625 kB / 0.8451 GB, free: 7.488 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1572, allocations: 0.5312 kB / 0.8451 GB, free: 7.488 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1572, allocations: 3.984 kB / 0.8451 GB, free: 7.484 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.0006044/0.1578, allocations: 395.8 kB / 0.8455 GB, free: 7.066 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1579, allocations: 11.97 kB / 0.8455 GB, free: 7.055 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.1579, allocations: 17.47 kB / 0.8455 GB, free: 7.039 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.1581, allocations: 147.5 kB / 0.8456 GB, free: 6.871 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1581, allocations: 4.375 kB / 0.8457 GB, free: 6.867 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.1581, allocations: 16.69 kB / 0.8457 GB, free: 6.852 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.1583, allocations: 102.2 kB / 0.8458 GB, free: 6.746 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.1583, allocations: 0.5938 kB / 0.8458 GB, free: 6.746 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1583, allocations: 0 / 0.8458 GB, free: 6.746 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1583, allocations: 4.625 kB / 0.8458 GB, free: 6.742 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.1585, allocations: 76.52 kB / 0.8458 GB, free: 6.668 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.1588, allocations: 292.8 kB / 0.8461 GB, free: 6.352 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.1591, allocations: 131.5 kB / 0.8462 GB, free: 6.215 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.656e-05/0.1592, allocations: 53.5 kB / 0.8463 GB, free: 6.16 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.1592, allocations: 4.625 kB / 0.8463 GB, free: 6.156 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.1594, allocations: 108 kB / 0.8464 GB, free: 6.039 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.1594, allocations: 0.625 kB / 0.8464 GB, free: 6.039 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003671/0.1597, allocations: 197.6 kB / 0.8466 GB, free: 5.844 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.1598, allocations: 60.02 kB / 0.8467 GB, free: 5.773 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.1599, allocations: 162.4 kB / 0.8468 GB, free: 5.605 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1599, allocations: 26.2 kB / 0.8468 GB, free: 5.574 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.16, allocations: 104.7 kB / 0.8469 GB, free: 5.469 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.16, allocations: 39.64 kB / 0.847 GB, free: 5.43 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.16, allocations: 42.19 kB / 0.847 GB, free: 5.383 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.912e-05/0.1601, allocations: 327.3 kB / 0.8473 GB, free: 5.055 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.1602, allocations: 82.28 kB / 0.8474 GB, free: 4.969 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.1604, allocations: 201 kB / 0.8476 GB, free: 4.738 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.1606, allocations: 147.6 kB / 0.8477 GB, free: 4.586 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1606, allocations: 0 / 0.8477 GB, free: 4.586 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002553/0.1608, allocations: 244.5 kB / 0.848 GB, free: 4.332 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.1609, allocations: 30.33 kB / 0.848 GB, free: 4.297 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1609, allocations: 0 / 0.848 GB, free: 4.297 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1609, allocations: 4.594 kB / 0.848 GB, free: 4.293 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.729e-05/0.161, allocations: 28.42 kB / 0.848 GB, free: 4.266 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.161, allocations: 4.609 kB / 0.848 GB, free: 4.262 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.165e-05/0.1611, allocations: 24.47 kB / 0.8481 GB, free: 4.238 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.1611, allocations: 7.984 kB / 0.8481 GB, free: 4.23 MB / 474.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 7.72e-05/0.1612, allocations: 128.1 kB / 0.8482 GB, free: 4.098 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.1612, allocations: 7.953 kB / 0.8482 GB, free: 4.09 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.1614, allocations: 175.4 kB / 0.8484 GB, free: 3.914 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1614, allocations: 8.781 kB / 0.8484 GB, free: 3.906 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1614, allocations: 0 / 0.8484 GB, free: 3.906 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.1614, allocations: 4.594 kB / 0.8484 GB, free: 3.902 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.1615, allocations: 153.2 kB / 0.8485 GB, free: 3.723 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1616, allocations: 4.609 kB / 0.8485 GB, free: 3.719 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.572e-05/0.1616, allocations: 24.7 kB / 0.8485 GB, free: 3.695 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1616, allocations: 4 kB / 0.8485 GB, free: 3.691 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1616, allocations: 0.6875 kB / 0.8485 GB, free: 3.691 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1617, allocations: 4 kB / 0.8486 GB, free: 3.688 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1617, allocations: 0.7812 kB / 0.8486 GB, free: 3.688 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.162, allocations: 261.8 kB / 0.8488 GB, free: 3.414 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.162, allocations: 12.52 kB / 0.8488 GB, free: 3.402 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.162, allocations: 0.5 kB / 0.8488 GB, free: 3.402 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.662e-05/0.1621, allocations: 16.48 kB / 0.8488 GB, free: 3.387 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.1621, allocations: 16.47 kB / 0.8488 GB, free: 3.371 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.1622, allocations: 4 kB / 0.8489 GB, free: 3.367 MB / 474.8 MB Notification: Performance of sorting global known variables: time 7.005e-05/0.1622, allocations: 126.5 kB / 0.849 GB, free: 3.246 MB / 474.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1622, allocations: 0.6562 kB / 0.849 GB, free: 3.246 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001456/0.1624, allocations: 32 kB / 0.849 GB, free: 3.215 MB / 474.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.0002479/0.1626, allocations: 96.44 kB / 0.8491 GB, free: 3.113 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.1629, allocations: 217.6 kB / 0.8493 GB, free: 2.883 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.163, allocations: 0.625 kB / 0.8493 GB, free: 2.883 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.929e-05/0.163, allocations: 67.61 kB / 0.8494 GB, free: 2.82 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.1633, allocations: 38.19 kB / 0.8494 GB, free: 2.785 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005766/0.1638, allocations: 360.3 kB / 0.8497 GB, free: 2.402 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.917e-05/0.1639, allocations: 102.8 kB / 0.8498 GB, free: 2.281 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.164, allocations: 16.06 kB / 0.8499 GB, free: 2.27 MB / 474.8 MB Notification: Performance of SimCode: time 6.71e-07/0.164, allocations: 0.625 kB / 0.8499 GB, free: 2.27 MB / 474.8 MB Notification: Performance of Templates: time 0.003305/0.1673, allocations: 2.05 MB / 0.8519 GB, free: 324 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_1_to_3_m.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_1_to_3_m.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_1_to_3_m.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_1_to_3_m.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_1_to_3_m.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_1_to_3_m > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_1_to_3_m.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.285460547544062]