Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_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.001328/0.001328, 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.001431/0.001431, allocations: 220.4 kB / 23.01 MB, free: 2.934 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 0.9404/0.9404, 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.8732/0.8732, allocations: 312.3 MB / 0.6108 GB, free: 97.59 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.Americium241.Americium241_Stanley1982_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_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.001722/0.001722, allocations: 74.92 kB / 0.7699 GB, free: 20.18 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1437, allocations: 73.99 MB / 0.8421 GB, free: 10.31 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_reference): time 0.002619/0.1463, allocations: 1.812 MB / 0.8439 GB, free: 8.5 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008757/0.1472, allocations: 0.5455 MB / 0.8444 GB, free: 7.953 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.1473, allocations: 3.938 kB / 0.8445 GB, free: 7.949 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.518e-05/0.1474, allocations: 12.36 kB / 0.8445 GB, free: 7.938 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003315/0.1477, allocations: 72.61 kB / 0.8445 GB, free: 7.871 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.1479, allocations: 61.8 kB / 0.8446 GB, free: 7.812 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.148, allocations: 164 kB / 0.8447 GB, free: 7.652 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.1481, allocations: 9.938 kB / 0.8448 GB, free: 7.645 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.133e-05/0.1482, allocations: 67.77 kB / 0.8448 GB, free: 7.578 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.1484, allocations: 88.27 kB / 0.8449 GB, free: 7.492 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.1484, allocations: 8 kB / 0.8449 GB, free: 7.484 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.833e-05/0.1484, allocations: 4.688 kB / 0.8449 GB, free: 7.48 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.644e-05/0.1485, allocations: 36.58 kB / 0.845 GB, free: 7.445 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.372e-05/0.1486, allocations: 47.78 kB / 0.845 GB, free: 7.398 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.1487, allocations: 96.17 kB / 0.8451 GB, free: 7.305 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1487, allocations: 0 / 0.8451 GB, free: 7.305 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1487, allocations: 0.625 kB / 0.8451 GB, free: 7.305 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1487, allocations: 0 / 0.8451 GB, free: 7.305 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.0006403/0.1494, allocations: 389.3 kB / 0.8455 GB, free: 6.891 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1494, allocations: 12.53 kB / 0.8455 GB, free: 6.879 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.1495, allocations: 13.38 kB / 0.8455 GB, free: 6.867 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.1496, allocations: 154.8 kB / 0.8456 GB, free: 6.691 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1497, allocations: 8.938 kB / 0.8456 GB, free: 6.684 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.1497, allocations: 12.66 kB / 0.8457 GB, free: 6.672 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.1499, allocations: 102.4 kB / 0.8458 GB, free: 6.566 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1499, allocations: 0 / 0.8458 GB, free: 6.566 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1499, allocations: 4.625 kB / 0.8458 GB, free: 6.562 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1499, allocations: 0 / 0.8458 GB, free: 6.562 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.1501, allocations: 85.08 kB / 0.8458 GB, free: 6.48 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.1504, allocations: 285.2 kB / 0.8461 GB, free: 6.172 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.1507, allocations: 135.3 kB / 0.8462 GB, free: 6.031 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.62e-05/0.1508, allocations: 49.53 kB / 0.8463 GB, free: 5.98 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.1508, allocations: 4 kB / 0.8463 GB, free: 5.977 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.151, allocations: 116.3 kB / 0.8464 GB, free: 5.852 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/0.151, allocations: 0 / 0.8464 GB, free: 5.852 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003603/0.1514, allocations: 203.4 kB / 0.8466 GB, free: 5.648 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.1514, allocations: 55.34 kB / 0.8466 GB, free: 5.582 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1515, allocations: 158.2 kB / 0.8468 GB, free: 5.422 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1515, allocations: 34.2 kB / 0.8468 GB, free: 5.383 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.1516, allocations: 104.1 kB / 0.8469 GB, free: 5.277 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.1516, allocations: 44.23 kB / 0.847 GB, free: 5.234 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.1517, allocations: 38.3 kB / 0.847 GB, free: 5.191 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.342e-05/0.1517, allocations: 330.8 kB / 0.8473 GB, free: 4.859 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.1519, allocations: 78.41 kB / 0.8474 GB, free: 4.777 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.152, allocations: 208.8 kB / 0.8476 GB, free: 4.539 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.1522, allocations: 135.8 kB / 0.8477 GB, free: 4.398 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1522, allocations: 0 / 0.8477 GB, free: 4.398 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002662/0.1525, allocations: 244.2 kB / 0.848 GB, free: 4.145 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.1525, allocations: 38.39 kB / 0.848 GB, free: 4.102 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1525, allocations: 0 / 0.848 GB, free: 4.102 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1525, allocations: 0.625 kB / 0.848 GB, free: 4.102 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1526, allocations: 28.83 kB / 0.848 GB, free: 4.074 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1526, allocations: 3.984 kB / 0.848 GB, free: 4.07 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.435e-05/0.1527, allocations: 32.38 kB / 0.8481 GB, free: 4.039 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1527, allocations: 0.6875 kB / 0.8481 GB, free: 4.039 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.795e-05/0.1528, allocations: 122.9 kB / 0.8482 GB, free: 3.91 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.1528, allocations: 12.58 kB / 0.8482 GB, free: 3.898 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.1531, allocations: 182.7 kB / 0.8484 GB, free: 3.719 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1531, allocations: 0.625 kB / 0.8484 GB, free: 3.719 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1531, allocations: 0 / 0.8484 GB, free: 3.719 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1531, allocations: 8.641 kB / 0.8484 GB, free: 3.711 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.1532, allocations: 149.2 kB / 0.8485 GB, free: 3.535 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1532, allocations: 0.5938 kB / 0.8485 GB, free: 3.535 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.383e-05/0.1533, allocations: 24.48 kB / 0.8485 GB, free: 3.512 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1533, allocations: 0.5 kB / 0.8485 GB, free: 3.512 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1533, allocations: 4 kB / 0.8485 GB, free: 3.508 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1533, allocations: 8.578 kB / 0.8486 GB, free: 3.5 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1533, allocations: 0.625 kB / 0.8486 GB, free: 3.5 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.1537, allocations: 250.1 kB / 0.8488 GB, free: 3.238 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.1537, allocations: 11.92 kB / 0.8488 GB, free: 3.227 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.1537, allocations: 8.641 kB / 0.8488 GB, free: 3.219 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.8e-05/0.1538, allocations: 12.61 kB / 0.8488 GB, free: 3.207 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.1538, allocations: 12.48 kB / 0.8488 GB, free: 3.195 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.1538, allocations: 7.984 kB / 0.8488 GB, free: 3.188 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.292e-05/0.1539, allocations: 119.9 kB / 0.849 GB, free: 3.07 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1539, allocations: 0.5938 kB / 0.849 GB, free: 3.07 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001374/0.154, allocations: 35.94 kB / 0.849 GB, free: 3.035 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.000102/0.1541, allocations: 112.4 kB / 0.8491 GB, free: 2.918 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002771/0.1544, allocations: 210.2 kB / 0.8493 GB, free: 2.695 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1544, allocations: 0 / 0.8493 GB, free: 2.695 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.1545, allocations: 60.39 kB / 0.8494 GB, free: 2.637 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.1547, allocations: 44.95 kB / 0.8494 GB, free: 2.598 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005618/0.1553, allocations: 360.2 kB / 0.8497 GB, free: 2.215 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.416e-05/0.1553, allocations: 103.4 kB / 0.8498 GB, free: 2.094 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.1554, allocations: 15.44 kB / 0.8499 GB, free: 2.082 MB / 474.8 MB Notification: Performance of SimCode: time 6.11e-07/0.1554, allocations: 0.5 kB / 0.8499 GB, free: 2.082 MB / 474.8 MB Notification: Performance of Templates: time 0.003087/0.1585, allocations: 2.049 MB / 0.8519 GB, free: 132 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Stanley1982_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.360964111983776]