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.001146/0.001146, allocations: 104.4 kB / 19.71 MB, free: 436 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.001467/0.001467, allocations: 215.5 kB / 23 MB, free: 2.961 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.096/1.096, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.7371/0.7371, allocations: 312.3 MB / 0.6108 GB, free: 97.15 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.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.001814/0.001814, allocations: 81.53 kB / 0.7699 GB, free: 19.7 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1536, allocations: 73.98 MB / 0.8421 GB, free: 9.844 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h): time 0.002799/0.1564, allocations: 1.817 MB / 0.8439 GB, free: 8.027 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009901/0.1574, allocations: 0.542 MB / 0.8444 GB, free: 7.484 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.439e-05/0.1574, allocations: 7.938 kB / 0.8445 GB, free: 7.477 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.1576, allocations: 12.45 kB / 0.8445 GB, free: 7.465 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004516/0.158, allocations: 72.45 kB / 0.8445 GB, free: 7.398 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.1582, allocations: 62.3 kB / 0.8446 GB, free: 7.34 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.1584, allocations: 155.3 kB / 0.8447 GB, free: 7.188 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.909e-05/0.1585, allocations: 9.922 kB / 0.8447 GB, free: 7.18 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1586, allocations: 72.39 kB / 0.8448 GB, free: 7.109 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.1589, allocations: 91.62 kB / 0.8449 GB, free: 7.02 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.1589, allocations: 8.688 kB / 0.8449 GB, free: 7.012 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.315e-05/0.1589, allocations: 8 kB / 0.8449 GB, free: 7.004 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.183e-05/0.159, allocations: 28.47 kB / 0.8449 GB, free: 6.977 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.344e-05/0.1591, allocations: 44.52 kB / 0.845 GB, free: 6.934 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.1593, allocations: 99.5 kB / 0.8451 GB, free: 6.836 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1593, allocations: 0.7188 kB / 0.8451 GB, free: 6.836 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1593, allocations: 0 / 0.8451 GB, free: 6.836 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1593, allocations: 0.5 kB / 0.8451 GB, free: 6.836 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.0007776/0.1601, allocations: 400.9 kB / 0.8455 GB, free: 6.41 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.1601, allocations: 8.656 kB / 0.8455 GB, free: 6.402 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.1602, allocations: 17.47 kB / 0.8455 GB, free: 6.387 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.1604, allocations: 150.8 kB / 0.8456 GB, free: 6.215 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.1604, allocations: 8.969 kB / 0.8456 GB, free: 6.207 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.1604, allocations: 8.844 kB / 0.8457 GB, free: 6.199 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.1606, allocations: 105.6 kB / 0.8458 GB, free: 6.09 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1606, allocations: 0.625 kB / 0.8458 GB, free: 6.09 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.1607, allocations: 0.6562 kB / 0.8458 GB, free: 6.09 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1607, allocations: 0 / 0.8458 GB, free: 6.09 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.1608, allocations: 81.08 kB / 0.8458 GB, free: 6.012 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.1613, allocations: 285 kB / 0.8461 GB, free: 5.703 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.1616, allocations: 131.1 kB / 0.8462 GB, free: 5.566 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1617, allocations: 57.91 kB / 0.8463 GB, free: 5.508 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.1617, allocations: 0 / 0.8463 GB, free: 5.508 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002223/0.1619, allocations: 112.4 kB / 0.8464 GB, free: 5.387 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.1619, allocations: 0 / 0.8464 GB, free: 5.387 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0004068/0.1623, allocations: 195.5 kB / 0.8466 GB, free: 5.191 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.1624, allocations: 63.33 kB / 0.8466 GB, free: 5.117 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.1625, allocations: 158.4 kB / 0.8468 GB, free: 4.957 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.1625, allocations: 29.7 kB / 0.8468 GB, free: 4.922 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.753e-05/0.1626, allocations: 108.5 kB / 0.8469 GB, free: 4.812 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.884e-05/0.1626, allocations: 48.08 kB / 0.847 GB, free: 4.766 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.938e-05/0.1627, allocations: 42.38 kB / 0.847 GB, free: 4.719 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.1628, allocations: 326.8 kB / 0.8473 GB, free: 4.391 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.1629, allocations: 82.22 kB / 0.8474 GB, free: 4.305 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.1632, allocations: 203.2 kB / 0.8476 GB, free: 4.07 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.1634, allocations: 141.3 kB / 0.8477 GB, free: 3.926 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1634, allocations: 4.594 kB / 0.8477 GB, free: 3.922 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002873/0.1637, allocations: 239.8 kB / 0.848 GB, free: 3.672 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/0.1637, allocations: 34.2 kB / 0.848 GB, free: 3.633 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1637, allocations: 4.609 kB / 0.848 GB, free: 3.629 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1638, allocations: 0 / 0.848 GB, free: 3.629 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.1639, allocations: 28.52 kB / 0.848 GB, free: 3.602 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.1639, allocations: 4.688 kB / 0.848 GB, free: 3.598 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.929e-05/0.164, allocations: 20.5 kB / 0.848 GB, free: 3.578 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.164, allocations: 8.797 kB / 0.8481 GB, free: 3.57 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 9.762e-05/0.1641, allocations: 128.3 kB / 0.8482 GB, free: 3.438 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.1641, allocations: 12.55 kB / 0.8482 GB, free: 3.426 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003008/0.1644, allocations: 178.7 kB / 0.8484 GB, free: 3.25 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1644, allocations: 0.5625 kB / 0.8484 GB, free: 3.25 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1644, allocations: 0.5 kB / 0.8484 GB, free: 3.25 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1644, allocations: 0.625 kB / 0.8484 GB, free: 3.25 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.1646, allocations: 161.1 kB / 0.8485 GB, free: 3.062 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1646, allocations: 0.5 kB / 0.8485 GB, free: 3.062 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.1647, allocations: 24.48 kB / 0.8485 GB, free: 3.039 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1647, allocations: 0.5 kB / 0.8485 GB, free: 3.039 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.1647, allocations: 4 kB / 0.8485 GB, free: 3.035 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1647, allocations: 0.625 kB / 0.8485 GB, free: 3.035 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1647, allocations: 0.625 kB / 0.8485 GB, free: 3.035 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000383/0.1651, allocations: 258 kB / 0.8488 GB, free: 2.766 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.1651, allocations: 8.703 kB / 0.8488 GB, free: 2.758 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.1651, allocations: 8 kB / 0.8488 GB, free: 2.75 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.919e-05/0.1652, allocations: 8.609 kB / 0.8488 GB, free: 2.742 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.1652, allocations: 20.56 kB / 0.8488 GB, free: 2.723 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.1653, allocations: 0 / 0.8488 GB, free: 2.723 MB / 474.8 MB Notification: Performance of sorting global known variables: time 7.325e-05/0.1653, allocations: 123.8 kB / 0.849 GB, free: 2.602 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1653, allocations: 5.25 kB / 0.849 GB, free: 2.598 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001454/0.1655, allocations: 35.94 kB / 0.849 GB, free: 2.562 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.0001459/0.1656, allocations: 104.3 kB / 0.8491 GB, free: 2.453 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.1659, allocations: 215 kB / 0.8493 GB, free: 2.227 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.1659, allocations: 4 kB / 0.8493 GB, free: 2.223 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.98e-05/0.166, allocations: 63.89 kB / 0.8494 GB, free: 2.16 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.1663, allocations: 44.67 kB / 0.8494 GB, free: 2.121 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006682/0.167, allocations: 359.4 kB / 0.8497 GB, free: 1.738 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.587e-05/0.167, allocations: 100.5 kB / 0.8498 GB, free: 1.621 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/0.1671, allocations: 19.44 kB / 0.8499 GB, free: 1.605 MB / 474.8 MB Notification: Performance of SimCode: time 9.42e-07/0.1671, allocations: 0 / 0.8499 GB, free: 1.605 MB / 474.8 MB Notification: Performance of Templates: time 0.003236/0.1703, allocations: 2.048 MB / 0.8519 GB, free: 15.65 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.1076076636090875]