Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_2.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.0008907/0.0008907, 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.001423/0.001423, allocations: 215.5 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 1.032/1.032, 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.7463/0.7463, allocations: 312.3 MB / 0.6108 GB, free: 96.98 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_Eidson1994_human_case_2,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_2") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_2,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_2") [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.002542/0.002542, allocations: 81.42 kB / 0.7699 GB, free: 19.57 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1436, allocations: 73.99 MB / 0.8421 GB, free: 9.715 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_2): time 0.002893/0.1465, allocations: 1.826 MB / 0.8439 GB, free: 7.891 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008678/0.1473, allocations: 0.5452 MB / 0.8445 GB, free: 7.344 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.32e-05/0.1474, allocations: 0.625 kB / 0.8445 GB, free: 7.344 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.1475, allocations: 15.84 kB / 0.8445 GB, free: 7.328 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003709/0.1479, allocations: 68.73 kB / 0.8445 GB, free: 7.262 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.148, allocations: 58.09 kB / 0.8446 GB, free: 7.207 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.1483, allocations: 168.1 kB / 0.8448 GB, free: 7.043 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.1483, allocations: 5.312 kB / 0.8448 GB, free: 7.039 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1484, allocations: 72.38 kB / 0.8448 GB, free: 6.969 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.1487, allocations: 84.28 kB / 0.8449 GB, free: 6.887 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.1487, allocations: 4 kB / 0.8449 GB, free: 6.883 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.034e-05/0.1487, allocations: 8.625 kB / 0.8449 GB, free: 6.875 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.272e-05/0.1488, allocations: 28.41 kB / 0.8449 GB, free: 6.848 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.717e-05/0.1488, allocations: 55.77 kB / 0.845 GB, free: 6.793 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.149, allocations: 96.33 kB / 0.8451 GB, free: 6.699 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.149, allocations: 0 / 0.8451 GB, free: 6.699 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.144e-06/0.149, allocations: 1.031 kB / 0.8451 GB, free: 6.699 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.149, allocations: 3.938 kB / 0.8451 GB, free: 6.695 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.0006803/0.1497, allocations: 388.8 kB / 0.8455 GB, free: 6.281 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1497, allocations: 8.562 kB / 0.8455 GB, free: 6.273 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.1498, allocations: 17.53 kB / 0.8455 GB, free: 6.258 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.15, allocations: 158.8 kB / 0.8456 GB, free: 6.078 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.15, allocations: 9 kB / 0.8457 GB, free: 6.07 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.15, allocations: 12.75 kB / 0.8457 GB, free: 6.059 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.1502, allocations: 98.22 kB / 0.8458 GB, free: 5.957 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1502, allocations: 0 / 0.8458 GB, free: 5.957 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.1503, allocations: 8.578 kB / 0.8458 GB, free: 5.949 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1503, allocations: 4 kB / 0.8458 GB, free: 5.945 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.1504, allocations: 88.59 kB / 0.8459 GB, free: 5.863 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.1508, allocations: 277 kB / 0.8461 GB, free: 5.562 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.1511, allocations: 131.2 kB / 0.8462 GB, free: 5.426 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.45e-05/0.1512, allocations: 49.53 kB / 0.8463 GB, free: 5.375 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.1512, allocations: 4.625 kB / 0.8463 GB, free: 5.371 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/0.1514, allocations: 107.8 kB / 0.8464 GB, free: 5.254 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.1514, allocations: 0.5938 kB / 0.8464 GB, free: 5.254 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003599/0.1517, allocations: 202.7 kB / 0.8466 GB, free: 5.051 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.1518, allocations: 59.98 kB / 0.8467 GB, free: 4.98 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.1519, allocations: 162.2 kB / 0.8468 GB, free: 4.816 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1519, allocations: 29.7 kB / 0.8468 GB, free: 4.781 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.152, allocations: 104.7 kB / 0.8469 GB, free: 4.676 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.152, allocations: 47.58 kB / 0.847 GB, free: 4.629 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.1521, allocations: 34.58 kB / 0.847 GB, free: 4.59 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.364e-05/0.1521, allocations: 330.8 kB / 0.8473 GB, free: 4.258 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.1523, allocations: 86.72 kB / 0.8474 GB, free: 4.168 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.1524, allocations: 205 kB / 0.8476 GB, free: 3.934 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.1526, allocations: 147.5 kB / 0.8477 GB, free: 3.781 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1526, allocations: 0 / 0.8477 GB, free: 3.781 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002645/0.1529, allocations: 240.3 kB / 0.848 GB, free: 3.531 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.1529, allocations: 34.45 kB / 0.848 GB, free: 3.492 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1529, allocations: 0 / 0.848 GB, free: 3.492 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1529, allocations: 8.547 kB / 0.848 GB, free: 3.484 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.153, allocations: 28.48 kB / 0.848 GB, free: 3.457 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.153, allocations: 0 / 0.848 GB, free: 3.457 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.978e-05/0.1531, allocations: 16.5 kB / 0.8481 GB, free: 3.441 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1531, allocations: 8.5 kB / 0.8481 GB, free: 3.434 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.905e-05/0.1532, allocations: 126.5 kB / 0.8482 GB, free: 3.301 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.1532, allocations: 8.578 kB / 0.8482 GB, free: 3.293 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.1535, allocations: 179.4 kB / 0.8484 GB, free: 3.113 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1535, allocations: 4 kB / 0.8484 GB, free: 3.109 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1535, allocations: 0.5312 kB / 0.8484 GB, free: 3.109 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1535, allocations: 0.6875 kB / 0.8484 GB, free: 3.109 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.1536, allocations: 153.1 kB / 0.8485 GB, free: 2.93 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1536, allocations: 0.625 kB / 0.8485 GB, free: 2.93 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.912e-05/0.1537, allocations: 24.47 kB / 0.8485 GB, free: 2.906 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1537, allocations: 4 kB / 0.8485 GB, free: 2.902 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1537, allocations: 8.531 kB / 0.8486 GB, free: 2.895 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1537, allocations: 0.5312 kB / 0.8486 GB, free: 2.895 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1537, allocations: 0 / 0.8486 GB, free: 2.895 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.154, allocations: 253.6 kB / 0.8488 GB, free: 2.633 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.154, allocations: 15.97 kB / 0.8488 GB, free: 2.617 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.1541, allocations: 4.656 kB / 0.8488 GB, free: 2.613 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.516e-05/0.1541, allocations: 11.98 kB / 0.8488 GB, free: 2.602 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.1542, allocations: 16.72 kB / 0.8488 GB, free: 2.586 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.1542, allocations: 4 kB / 0.8488 GB, free: 2.582 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.29e-05/0.1542, allocations: 122.5 kB / 0.849 GB, free: 2.465 MB / 474.8 MB Notification: Performance of sort global known variables: time 4e-08/0.1542, allocations: 1.25 kB / 0.849 GB, free: 2.465 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001417/0.1544, allocations: 32 kB / 0.849 GB, free: 2.434 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.0001086/0.1545, allocations: 104.3 kB / 0.8491 GB, free: 2.324 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002788/0.1548, allocations: 218.2 kB / 0.8493 GB, free: 2.094 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1548, allocations: 3.938 kB / 0.8493 GB, free: 2.09 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.504e-05/0.1549, allocations: 60.8 kB / 0.8494 GB, free: 2.031 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.1551, allocations: 47.16 kB / 0.8494 GB, free: 1.988 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008769/0.156, allocations: 360.3 kB / 0.8498 GB, free: 1.605 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.639e-05/0.156, allocations: 98.67 kB / 0.8498 GB, free: 1.488 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.844e-05/0.1561, allocations: 15.48 kB / 0.8499 GB, free: 1.477 MB / 474.8 MB Notification: Performance of SimCode: time 8.61e-07/0.1561, allocations: 2.562 kB / 0.8499 GB, free: 1.477 MB / 474.8 MB Notification: Performance of Templates: time 0.00293/0.159, allocations: 2.046 MB / 0.8519 GB, free: 15.53 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_2.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_2.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_2.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_2.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_2.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_2 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.114253398962319]