Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate.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.001562/0.001562, allocations: 104.3 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.001248/0.001248, allocations: 220.4 kB / 23 MB, free: 2.969 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.9747/0.9747, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.7752/0.7752, allocations: 312.3 MB / 0.6108 GB, free: 97.48 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.StrontiumChromate.StrontiumChromate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate") [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.001466/0.001466, allocations: 71.45 kB / 0.7699 GB, free: 20.11 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1341, allocations: 73.98 MB / 0.8421 GB, free: 10.26 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate): time 0.002266/0.1363, allocations: 1.832 MB / 0.8439 GB, free: 8.43 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007904/0.1371, allocations: 0.5494 MB / 0.8445 GB, free: 7.879 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.628e-05/0.1372, allocations: 0 / 0.8445 GB, free: 7.879 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.606e-05/0.1373, allocations: 16.34 kB / 0.8445 GB, free: 7.863 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.1376, allocations: 64.73 kB / 0.8445 GB, free: 7.801 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.1377, allocations: 58.34 kB / 0.8446 GB, free: 7.746 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.1379, allocations: 167.3 kB / 0.8448 GB, free: 7.582 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.138, allocations: 9.797 kB / 0.8448 GB, free: 7.574 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.887e-05/0.138, allocations: 68.39 kB / 0.8448 GB, free: 7.508 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.1383, allocations: 88.33 kB / 0.8449 GB, free: 7.422 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.1383, allocations: 4 kB / 0.8449 GB, free: 7.418 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.975e-05/0.1383, allocations: 8.594 kB / 0.8449 GB, free: 7.41 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.733e-05/0.1384, allocations: 31.91 kB / 0.845 GB, free: 7.379 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 5.977e-05/0.1384, allocations: 52.48 kB / 0.845 GB, free: 7.328 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.1385, allocations: 95.58 kB / 0.8451 GB, free: 7.234 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1386, allocations: 4.781 kB / 0.8451 GB, free: 7.23 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1386, allocations: 0 / 0.8451 GB, free: 7.23 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1386, allocations: 0.7188 kB / 0.8451 GB, free: 7.23 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.0006032/0.1392, allocations: 393 kB / 0.8455 GB, free: 6.812 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1392, allocations: 12.39 kB / 0.8455 GB, free: 6.801 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.1392, allocations: 20.78 kB / 0.8455 GB, free: 6.781 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.1394, allocations: 143.5 kB / 0.8456 GB, free: 6.617 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1394, allocations: 9 kB / 0.8457 GB, free: 6.609 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.1394, allocations: 16.11 kB / 0.8457 GB, free: 6.594 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.1396, allocations: 101.6 kB / 0.8458 GB, free: 6.492 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1396, allocations: 0.5 kB / 0.8458 GB, free: 6.492 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1396, allocations: 4.656 kB / 0.8458 GB, free: 6.488 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.1396, allocations: 4 kB / 0.8458 GB, free: 6.484 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.1398, allocations: 85.06 kB / 0.8459 GB, free: 6.402 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.1402, allocations: 284.3 kB / 0.8461 GB, free: 6.094 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.1404, allocations: 127.7 kB / 0.8462 GB, free: 5.961 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.609e-05/0.1405, allocations: 53.91 kB / 0.8463 GB, free: 5.906 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.1405, allocations: 0 / 0.8463 GB, free: 5.906 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.1407, allocations: 116.5 kB / 0.8464 GB, free: 5.781 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.1407, allocations: 0 / 0.8464 GB, free: 5.781 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003451/0.141, allocations: 194.8 kB / 0.8466 GB, free: 5.586 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.1411, allocations: 56.09 kB / 0.8466 GB, free: 5.52 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.1412, allocations: 162.2 kB / 0.8468 GB, free: 5.355 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1412, allocations: 25.7 kB / 0.8468 GB, free: 5.324 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.1412, allocations: 108.6 kB / 0.8469 GB, free: 5.215 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.1413, allocations: 51.62 kB / 0.847 GB, free: 5.164 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.1413, allocations: 34.3 kB / 0.847 GB, free: 5.125 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.552e-05/0.1414, allocations: 327.3 kB / 0.8473 GB, free: 4.797 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.1415, allocations: 86.47 kB / 0.8474 GB, free: 4.707 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.1419, allocations: 202.7 kB / 0.8476 GB, free: 4.473 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.142, allocations: 146.2 kB / 0.8477 GB, free: 4.324 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.142, allocations: 0 / 0.8477 GB, free: 4.324 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002532/0.1423, allocations: 242.1 kB / 0.848 GB, free: 4.07 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.1423, allocations: 29.7 kB / 0.848 GB, free: 4.035 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1423, allocations: 0.5938 kB / 0.848 GB, free: 4.035 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1423, allocations: 4.531 kB / 0.848 GB, free: 4.031 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1424, allocations: 40.5 kB / 0.848 GB, free: 3.992 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1424, allocations: 0 / 0.848 GB, free: 3.992 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.085e-05/0.1425, allocations: 20.59 kB / 0.8481 GB, free: 3.973 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1425, allocations: 4.5 kB / 0.8481 GB, free: 3.969 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 8.001e-05/0.1426, allocations: 126.4 kB / 0.8482 GB, free: 3.836 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.1426, allocations: 12.53 kB / 0.8482 GB, free: 3.824 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.1429, allocations: 174.9 kB / 0.8484 GB, free: 3.648 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1429, allocations: 4.625 kB / 0.8484 GB, free: 3.645 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1429, allocations: 0.625 kB / 0.8484 GB, free: 3.645 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1429, allocations: 0 / 0.8484 GB, free: 3.645 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.143, allocations: 149.7 kB / 0.8485 GB, free: 3.469 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.143, allocations: 0.5312 kB / 0.8485 GB, free: 3.469 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.643e-05/0.1431, allocations: 20.55 kB / 0.8485 GB, free: 3.449 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1431, allocations: 4 kB / 0.8485 GB, free: 3.445 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1431, allocations: 8.453 kB / 0.8485 GB, free: 3.438 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1431, allocations: 0.5625 kB / 0.8485 GB, free: 3.438 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1431, allocations: 0 / 0.8485 GB, free: 3.438 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.1434, allocations: 260.7 kB / 0.8488 GB, free: 3.168 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.1435, allocations: 15.95 kB / 0.8488 GB, free: 3.152 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.1435, allocations: 12.55 kB / 0.8488 GB, free: 3.141 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.998e-05/0.1435, allocations: 12.61 kB / 0.8488 GB, free: 3.129 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.1436, allocations: 16.72 kB / 0.8489 GB, free: 3.113 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.1436, allocations: 4 kB / 0.8489 GB, free: 3.109 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.994e-05/0.1437, allocations: 119.8 kB / 0.849 GB, free: 2.992 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1437, allocations: 0 / 0.849 GB, free: 2.992 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001367/0.1438, allocations: 32.59 kB / 0.849 GB, free: 2.961 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.0001065/0.1439, allocations: 103.8 kB / 0.8491 GB, free: 2.852 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002627/0.1442, allocations: 208.2 kB / 0.8493 GB, free: 2.633 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1442, allocations: 4.625 kB / 0.8493 GB, free: 2.629 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.27e-05/0.1443, allocations: 64.61 kB / 0.8494 GB, free: 2.566 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.1445, allocations: 49.66 kB / 0.8494 GB, free: 2.52 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005397/0.145, allocations: 362.8 kB / 0.8498 GB, free: 2.137 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.17e-05/0.1451, allocations: 94.8 kB / 0.8498 GB, free: 2.023 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.1451, allocations: 20.03 kB / 0.8499 GB, free: 2.008 MB / 474.8 MB Notification: Performance of SimCode: time 8.22e-07/0.1451, allocations: 0 / 0.8499 GB, free: 2.008 MB / 474.8 MB Notification: Performance of Templates: time 0.002723/0.1478, allocations: 2.05 MB / 0.8519 GB, free: 52 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.314381405711174]