Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h.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.001927/0.001927, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002023/0.002023, allocations: 219.5 kB / 22.25 MB, free: 3.688 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.853/1.853, allocations: 230.6 MB / 256 MB, free: 9.578 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.428/1.428, allocations: 316.7 MB / 0.6144 GB, free: 93.05 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.Iodine131.Iodine131_Ravichandran2014_0_and_48_h,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h") [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.004139/0.004139, allocations: 73.66 kB / 0.775 GB, free: 14.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1528, allocations: 73.98 MB / 0.8472 GB, free: 4.887 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h): time 0.003436/0.1563, allocations: 1.819 MB / 0.849 GB, free: 3.07 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1575, allocations: 0.5454 MB / 0.8496 GB, free: 2.523 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.846e-05/0.1576, allocations: 0.6875 kB / 0.8496 GB, free: 2.523 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.1577, allocations: 19.78 kB / 0.8496 GB, free: 2.504 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004083/0.1581, allocations: 68.73 kB / 0.8496 GB, free: 2.438 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.1583, allocations: 65.91 kB / 0.8497 GB, free: 2.379 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.1586, allocations: 164 kB / 0.8499 GB, free: 2.219 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.1587, allocations: 5.312 kB / 0.8499 GB, free: 2.215 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.1588, allocations: 76.28 kB / 0.8499 GB, free: 2.141 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.1591, allocations: 80.34 kB / 0.85 GB, free: 2.062 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.1591, allocations: 8 kB / 0.85 GB, free: 2.055 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.265e-05/0.1591, allocations: 8.562 kB / 0.85 GB, free: 2.047 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.567e-05/0.1592, allocations: 32.56 kB / 0.8501 GB, free: 2.016 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.944e-05/0.1593, allocations: 47.77 kB / 0.8501 GB, free: 1.969 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.1595, allocations: 100.4 kB / 0.8502 GB, free: 1.871 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1595, allocations: 0 / 0.8502 GB, free: 1.871 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1595, allocations: 0.625 kB / 0.8502 GB, free: 1.871 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.1595, allocations: 0 / 0.8502 GB, free: 1.871 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.000902/0.1604, allocations: 388.9 kB / 0.8506 GB, free: 1.457 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1604, allocations: 12.75 kB / 0.8506 GB, free: 1.445 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.1605, allocations: 13.53 kB / 0.8506 GB, free: 1.434 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.1608, allocations: 154.8 kB / 0.8507 GB, free: 1.258 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.1608, allocations: 12.98 kB / 0.8508 GB, free: 1.246 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.1608, allocations: 8.125 kB / 0.8508 GB, free: 1.238 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.1611, allocations: 98.28 kB / 0.8509 GB, free: 1.137 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.1611, allocations: 0.625 kB / 0.8509 GB, free: 1.137 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.1611, allocations: 4 kB / 0.8509 GB, free: 1.133 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1611, allocations: 0.8438 kB / 0.8509 GB, free: 1.133 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.1614, allocations: 81.19 kB / 0.8509 GB, free: 1.055 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.162, allocations: 284.3 kB / 0.8512 GB, free: 0.7461 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.1624, allocations: 131.5 kB / 0.8513 GB, free: 0.6094 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.1626, allocations: 54.38 kB / 0.8514 GB, free: 0.5547 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.1626, allocations: 7.984 kB / 0.8514 GB, free: 0.5469 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003331/0.1629, allocations: 112.2 kB / 0.8515 GB, free: 436 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.1629, allocations: 0 / 0.8515 GB, free: 436 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006426/0.1636, allocations: 204.1 kB / 0.8517 GB, free: 228 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.1636, allocations: 51.41 kB / 0.8517 GB, free: 164 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.1639, allocations: 158.5 kB / 0.8519 GB, free: 15.99 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.1639, allocations: 29.7 kB / 0.8519 GB, free: 15.96 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.164, allocations: 112 kB / 0.852 GB, free: 15.85 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.382e-05/0.1641, allocations: 45.36 kB / 0.8521 GB, free: 15.8 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.006e-05/0.1642, allocations: 37.7 kB / 0.8521 GB, free: 15.76 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.1644, allocations: 330.8 kB / 0.8524 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.1646, allocations: 77.66 kB / 0.8525 GB, free: 15.35 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.1649, allocations: 209.5 kB / 0.8527 GB, free: 15.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.1652, allocations: 143.1 kB / 0.8528 GB, free: 14.96 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1653, allocations: 1.094 kB / 0.8528 GB, free: 14.96 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004945/0.1657, allocations: 239.2 kB / 0.8531 GB, free: 14.71 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.293e-05/0.1658, allocations: 30.3 kB / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1658, allocations: 4.5 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1658, allocations: 0.6875 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.166, allocations: 31.97 kB / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.166, allocations: 4.562 kB / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004758/0.1665, allocations: 24.5 kB / 0.8532 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.1665, allocations: 4.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.0001314/0.1666, allocations: 126.4 kB / 0.8533 GB, free: 14.48 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.1667, allocations: 12.64 kB / 0.8533 GB, free: 14.46 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004871/0.1672, allocations: 174.3 kB / 0.8535 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.1672, allocations: 4.906 kB / 0.8535 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1672, allocations: 0 / 0.8535 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1672, allocations: 4.531 kB / 0.8535 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.1673, allocations: 153.2 kB / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1673, allocations: 0.7188 kB / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.1675, allocations: 24.7 kB / 0.8536 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.1675, allocations: 7.984 kB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1675, allocations: 0.625 kB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1675, allocations: 4 kB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1675, allocations: 0.5 kB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006257/0.1682, allocations: 254.4 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.914e-05/0.1682, allocations: 15.91 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.1682, allocations: 4.531 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.1684, allocations: 12.58 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.1684, allocations: 16.47 kB / 0.8539 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.1684, allocations: 4.625 kB / 0.854 GB, free: 13.75 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001192/0.1686, allocations: 121.9 kB / 0.8541 GB, free: 13.64 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.1686, allocations: 0.5625 kB / 0.8541 GB, free: 13.64 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002238/0.1688, allocations: 32 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.0001451/0.1689, allocations: 104.5 kB / 0.8542 GB, free: 13.5 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004876/0.1694, allocations: 211.2 kB / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1694, allocations: 0 / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.1696, allocations: 67.89 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.0003121/0.1699, allocations: 46.38 kB / 0.8545 GB, free: 13.16 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007884/0.1707, allocations: 318 kB / 0.8548 GB, free: 12.83 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.1708, allocations: 107 kB / 0.8549 GB, free: 12.7 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.667e-05/0.1709, allocations: 24.2 kB / 0.8549 GB, free: 12.68 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.171, allocations: 25.17 kB / 0.855 GB, free: 12.66 MB / 490.8 MB Notification: Performance of SimCode: time 5.71e-07/0.171, allocations: 0 / 0.855 GB, free: 12.66 MB / 490.8 MB Notification: Performance of Templates: time 0.3088/0.4798, allocations: 2.63 MB / 0.8575 GB, free: 28.12 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.5548844209406525]