Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.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.0009844/0.0009844, allocations: 104.4 kB / 19.71 MB, free: 440 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.001041/0.001041, allocations: 224.5 kB / 23.01 MB, free: 2.945 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.077/1.077, allocations: 230.6 MB / 256.8 MB, free: 9.652 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.8397/0.8397, allocations: 312.3 MB / 0.6108 GB, free: 97.7 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.NickelSulfate.NickelSulfate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate") [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.001645/0.001645, allocations: 73.64 kB / 0.7699 GB, free: 20.21 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.149, allocations: 73.99 MB / 0.8421 GB, free: 10.35 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate): time 0.002613/0.1516, allocations: 1.833 MB / 0.8439 GB, free: 8.523 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008597/0.1525, allocations: 0.5379 MB / 0.8445 GB, free: 7.984 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.953e-05/0.1526, allocations: 8.469 kB / 0.8445 GB, free: 7.977 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.1527, allocations: 8.484 kB / 0.8445 GB, free: 7.969 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003915/0.1531, allocations: 72.78 kB / 0.8445 GB, free: 7.898 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.1532, allocations: 57.81 kB / 0.8446 GB, free: 7.844 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.1534, allocations: 164 kB / 0.8448 GB, free: 7.684 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.209e-05/0.1535, allocations: 5.312 kB / 0.8448 GB, free: 7.68 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.1536, allocations: 76.36 kB / 0.8448 GB, free: 7.605 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003694/0.154, allocations: 88.31 kB / 0.8449 GB, free: 7.52 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.154, allocations: 8 kB / 0.8449 GB, free: 7.512 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.125e-05/0.154, allocations: 8.719 kB / 0.8449 GB, free: 7.504 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.956e-05/0.1541, allocations: 31.91 kB / 0.845 GB, free: 7.473 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.1542, allocations: 44.45 kB / 0.845 GB, free: 7.43 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.1543, allocations: 99.55 kB / 0.8451 GB, free: 7.332 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1543, allocations: 0.5 kB / 0.8451 GB, free: 7.332 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1543, allocations: 0.625 kB / 0.8451 GB, free: 7.332 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1543, allocations: 4 kB / 0.8451 GB, free: 7.328 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.0007132/0.155, allocations: 397.5 kB / 0.8455 GB, free: 6.906 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.1551, allocations: 8.031 kB / 0.8455 GB, free: 6.898 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.1551, allocations: 17.47 kB / 0.8455 GB, free: 6.883 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.1553, allocations: 147.5 kB / 0.8456 GB, free: 6.715 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.1554, allocations: 8.375 kB / 0.8457 GB, free: 6.707 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.1554, allocations: 12.7 kB / 0.8457 GB, free: 6.695 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.1556, allocations: 106.3 kB / 0.8458 GB, free: 6.586 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.1556, allocations: 0 / 0.8458 GB, free: 6.586 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.1556, allocations: 0.625 kB / 0.8458 GB, free: 6.586 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1556, allocations: 0 / 0.8458 GB, free: 6.586 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.1558, allocations: 81.08 kB / 0.8458 GB, free: 6.508 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.1562, allocations: 288.8 kB / 0.8461 GB, free: 6.195 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.1564, allocations: 131.5 kB / 0.8462 GB, free: 6.059 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.624e-05/0.1565, allocations: 57.44 kB / 0.8463 GB, free: 6 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.1565, allocations: 0.5312 kB / 0.8463 GB, free: 6 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.1568, allocations: 112 kB / 0.8464 GB, free: 5.879 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.884e-06/0.1568, allocations: 0.5 kB / 0.8464 GB, free: 5.879 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003834/0.1571, allocations: 202.4 kB / 0.8466 GB, free: 5.68 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.1572, allocations: 56.03 kB / 0.8467 GB, free: 5.613 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.1573, allocations: 157.5 kB / 0.8468 GB, free: 5.453 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1573, allocations: 30.33 kB / 0.8468 GB, free: 5.418 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.1574, allocations: 108.6 kB / 0.8469 GB, free: 5.309 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.1574, allocations: 47.64 kB / 0.847 GB, free: 5.262 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.1574, allocations: 34.33 kB / 0.847 GB, free: 5.223 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.1575, allocations: 327.4 kB / 0.8473 GB, free: 4.895 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.1577, allocations: 82.25 kB / 0.8474 GB, free: 4.809 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.1578, allocations: 202.7 kB / 0.8476 GB, free: 4.574 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.158, allocations: 145.5 kB / 0.8477 GB, free: 4.426 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.158, allocations: 0.625 kB / 0.8477 GB, free: 4.426 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002751/0.1583, allocations: 237.9 kB / 0.848 GB, free: 4.176 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.1583, allocations: 36.36 kB / 0.848 GB, free: 4.137 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1583, allocations: 0.625 kB / 0.848 GB, free: 4.137 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1583, allocations: 0.625 kB / 0.848 GB, free: 4.137 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1584, allocations: 31.92 kB / 0.848 GB, free: 4.105 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.1584, allocations: 4.594 kB / 0.848 GB, free: 4.102 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.38e-05/0.1585, allocations: 24.36 kB / 0.8481 GB, free: 4.078 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.1585, allocations: 4.688 kB / 0.8481 GB, free: 4.074 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.576e-05/0.1586, allocations: 127.4 kB / 0.8482 GB, free: 3.941 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.1586, allocations: 8.516 kB / 0.8482 GB, free: 3.934 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.1589, allocations: 179 kB / 0.8484 GB, free: 3.754 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1589, allocations: 0.5938 kB / 0.8484 GB, free: 3.754 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1589, allocations: 0.5938 kB / 0.8484 GB, free: 3.754 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1589, allocations: 7.984 kB / 0.8484 GB, free: 3.746 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.159, allocations: 149.9 kB / 0.8485 GB, free: 3.57 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.159, allocations: 4.594 kB / 0.8485 GB, free: 3.566 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.624e-05/0.1591, allocations: 24.67 kB / 0.8485 GB, free: 3.543 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.1591, allocations: 0 / 0.8485 GB, free: 3.543 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.1591, allocations: 4.688 kB / 0.8486 GB, free: 3.539 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1591, allocations: 4 kB / 0.8486 GB, free: 3.535 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1591, allocations: 0.5 kB / 0.8486 GB, free: 3.535 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.1595, allocations: 262.1 kB / 0.8488 GB, free: 3.262 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.1595, allocations: 12.52 kB / 0.8488 GB, free: 3.25 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.1595, allocations: 8 kB / 0.8488 GB, free: 3.242 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.769e-05/0.1596, allocations: 12.59 kB / 0.8488 GB, free: 3.23 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.1596, allocations: 16.61 kB / 0.8489 GB, free: 3.215 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.1597, allocations: 3.984 kB / 0.8489 GB, free: 3.211 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.483e-05/0.1597, allocations: 119.9 kB / 0.849 GB, free: 3.094 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1597, allocations: 0 / 0.849 GB, free: 3.094 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001401/0.1599, allocations: 32.56 kB / 0.849 GB, free: 3.062 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.0001141/0.16, allocations: 100.7 kB / 0.8491 GB, free: 2.957 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002964/0.1603, allocations: 217.5 kB / 0.8493 GB, free: 2.727 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1603, allocations: 0.6875 kB / 0.8493 GB, free: 2.727 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.829e-05/0.1604, allocations: 64.61 kB / 0.8494 GB, free: 2.664 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.1606, allocations: 41.69 kB / 0.8494 GB, free: 2.625 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005767/0.1612, allocations: 352.5 kB / 0.8497 GB, free: 2.25 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.393e-05/0.1612, allocations: 102.8 kB / 0.8498 GB, free: 2.129 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.1613, allocations: 20.03 kB / 0.8499 GB, free: 2.113 MB / 474.8 MB Notification: Performance of SimCode: time 7.02e-07/0.1613, allocations: 0.625 kB / 0.8499 GB, free: 2.113 MB / 474.8 MB Notification: Performance of Templates: time 0.003226/0.1645, allocations: 2.05 MB / 0.8519 GB, free: 160 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.246047859080136]