Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_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.00188/0.00188, allocations: 109.5 kB / 18.95 MB, free: 1.18 MB / 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.002879/0.002879, allocations: 213.9 kB / 22.25 MB, free: 3.582 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.725/1.725, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 178] 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 1.423/1.423, allocations: 316.8 MB / 0.6144 GB, free: 92.99 MB / 410.7 MB " [Timeout remaining time 178] 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.ChromicAcid.ChromicAcid_Van1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_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.004314/0.004314, allocations: 69.17 kB / 0.775 GB, free: 14.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1504, allocations: 74 MB / 0.8473 GB, free: 4.902 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference): time 0.003268/0.1537, allocations: 1.805 MB / 0.849 GB, free: 3.098 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1548, allocations: 0.5455 MB / 0.8496 GB, free: 2.551 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.499e-05/0.1549, allocations: 0.75 kB / 0.8496 GB, free: 2.551 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.501e-05/0.155, allocations: 11.86 kB / 0.8496 GB, free: 2.539 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003417/0.1553, allocations: 65.36 kB / 0.8496 GB, free: 2.477 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.1555, allocations: 65.17 kB / 0.8497 GB, free: 2.414 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.1558, allocations: 167.9 kB / 0.8499 GB, free: 2.25 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.1558, allocations: 9.953 kB / 0.8499 GB, free: 2.242 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.1559, allocations: 71.7 kB / 0.8499 GB, free: 2.172 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.1562, allocations: 84.3 kB / 0.85 GB, free: 2.09 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.1562, allocations: 4.812 kB / 0.85 GB, free: 2.086 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.238e-05/0.1562, allocations: 11.94 kB / 0.85 GB, free: 2.074 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.882e-05/0.1563, allocations: 28.53 kB / 0.8501 GB, free: 2.047 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.278e-05/0.1564, allocations: 47.78 kB / 0.8501 GB, free: 2 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.1566, allocations: 100.2 kB / 0.8502 GB, free: 1.902 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1566, allocations: 4.625 kB / 0.8502 GB, free: 1.898 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1566, allocations: 0 / 0.8502 GB, free: 1.898 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1566, allocations: 0.5938 kB / 0.8502 GB, free: 1.898 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.0009172/0.1575, allocations: 388.8 kB / 0.8506 GB, free: 1.484 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.1575, allocations: 12.45 kB / 0.8506 GB, free: 1.473 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.283e-05/0.1576, allocations: 17.41 kB / 0.8506 GB, free: 1.457 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.1579, allocations: 150.8 kB / 0.8508 GB, free: 1.285 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1579, allocations: 8.906 kB / 0.8508 GB, free: 1.277 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.1579, allocations: 12.69 kB / 0.8508 GB, free: 1.266 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.1582, allocations: 102.2 kB / 0.8509 GB, free: 1.16 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1582, allocations: 4.562 kB / 0.8509 GB, free: 1.156 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1582, allocations: 0 / 0.8509 GB, free: 1.156 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1582, allocations: 4.656 kB / 0.8509 GB, free: 1.152 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.1585, allocations: 76.58 kB / 0.851 GB, free: 1.078 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005407/0.1591, allocations: 284.9 kB / 0.8512 GB, free: 0.7695 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.1595, allocations: 131.5 kB / 0.8513 GB, free: 0.6328 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.1596, allocations: 53.84 kB / 0.8514 GB, free: 0.5781 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.1597, allocations: 4 kB / 0.8514 GB, free: 0.5742 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/0.1599, allocations: 119.4 kB / 0.8515 GB, free: 460 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.1599, allocations: 0.625 kB / 0.8515 GB, free: 460 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.000599/0.1605, allocations: 198.8 kB / 0.8517 GB, free: 256 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.1606, allocations: 59.95 kB / 0.8518 GB, free: 184 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.1608, allocations: 159 kB / 0.8519 GB, free: 16 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.1608, allocations: 25.7 kB / 0.8519 GB, free: 15.98 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.115e-05/0.1609, allocations: 112.6 kB / 0.852 GB, free: 15.87 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/0.161, allocations: 44.27 kB / 0.8521 GB, free: 15.83 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.118e-05/0.161, allocations: 33.7 kB / 0.8521 GB, free: 15.79 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.1612, allocations: 331.3 kB / 0.8524 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.1614, allocations: 82.28 kB / 0.8525 GB, free: 15.37 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.1617, allocations: 201 kB / 0.8527 GB, free: 15.14 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.162, allocations: 143.5 kB / 0.8528 GB, free: 14.99 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.162, allocations: 4.625 kB / 0.8529 GB, free: 14.99 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007094/0.1628, allocations: 244.5 kB / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/0.1628, allocations: 29.7 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1628, allocations: 4.578 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1628, allocations: 4.5 kB / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.163, allocations: 28.48 kB / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.163, allocations: 4.625 kB / 0.8532 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.1632, allocations: 24.08 kB / 0.8532 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.1632, allocations: 8.562 kB / 0.8532 GB, free: 14.63 MB / 490.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 0.0001156/0.1633, allocations: 126.3 kB / 0.8533 GB, free: 14.5 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.1633, allocations: 8.547 kB / 0.8533 GB, free: 14.49 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004566/0.1638, allocations: 175.5 kB / 0.8535 GB, free: 14.31 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1638, allocations: 4 kB / 0.8535 GB, free: 14.31 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1638, allocations: 0.5938 kB / 0.8535 GB, free: 14.31 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.1638, allocations: 4.578 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.164, allocations: 153.2 kB / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.164, allocations: 0.75 kB / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.1641, allocations: 20.58 kB / 0.8537 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1641, allocations: 4 kB / 0.8537 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1642, allocations: 0.625 kB / 0.8537 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1642, allocations: 0 / 0.8537 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1642, allocations: 4.641 kB / 0.8537 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006164/0.1648, allocations: 258 kB / 0.8539 GB, free: 13.83 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.1648, allocations: 12.52 kB / 0.8539 GB, free: 13.82 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.1648, allocations: 4 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.165, allocations: 16.59 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.165, allocations: 16.52 kB / 0.854 GB, free: 13.78 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.1651, allocations: 12.52 kB / 0.854 GB, free: 13.77 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001163/0.1652, allocations: 121.9 kB / 0.8541 GB, free: 13.65 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1652, allocations: 0.5938 kB / 0.8541 GB, free: 13.65 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002123/0.1654, allocations: 32.56 kB / 0.8541 GB, free: 13.62 MB / 490.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.0001249/0.1655, allocations: 99.88 kB / 0.8542 GB, free: 13.52 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004898/0.166, allocations: 217.2 kB / 0.8544 GB, free: 13.29 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.166, allocations: 0.5 kB / 0.8544 GB, free: 13.29 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.1662, allocations: 64.48 kB / 0.8545 GB, free: 13.23 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.1665, allocations: 46.19 kB / 0.8545 GB, free: 13.18 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007407/0.1672, allocations: 318.6 kB / 0.8548 GB, free: 12.85 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.1673, allocations: 102.7 kB / 0.8549 GB, free: 12.73 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.558e-05/0.1674, allocations: 24.55 kB / 0.855 GB, free: 12.71 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.16e-05/0.1675, allocations: 20.12 kB / 0.855 GB, free: 12.69 MB / 490.8 MB Notification: Performance of SimCode: time 4.21e-07/0.1675, allocations: 0 / 0.855 GB, free: 12.69 MB / 490.8 MB Notification: Performance of Templates: time 0.2804/0.4479, allocations: 2.629 MB / 0.8575 GB, free: 28.21 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.307162754004821]