Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_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.0008868/0.0008868, allocations: 100.4 kB / 19.7 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.0009145/0.0009145, allocations: 219.5 kB / 23 MB, free: 2.961 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.09/1.09, 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.8627/0.8627, allocations: 312.3 MB / 0.6109 GB, free: 97 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.NickelOxide.NickelOxide_Tanaka1985_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_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.001736/0.001736, allocations: 72.05 kB / 0.7699 GB, free: 19.63 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1464, allocations: 73.99 MB / 0.8422 GB, free: 9.773 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference): time 0.00266/0.149, allocations: 1.814 MB / 0.8439 GB, free: 7.961 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008122/0.1498, allocations: 0.5454 MB / 0.8445 GB, free: 7.414 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.004e-05/0.1499, allocations: 0.625 kB / 0.8445 GB, free: 7.414 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.15, allocations: 11.86 kB / 0.8445 GB, free: 7.402 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.1504, allocations: 76.81 kB / 0.8446 GB, free: 7.328 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.1505, allocations: 61.69 kB / 0.8446 GB, free: 7.273 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.1507, allocations: 163.9 kB / 0.8448 GB, free: 7.113 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.948e-05/0.1508, allocations: 9.922 kB / 0.8448 GB, free: 7.105 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.726e-05/0.1509, allocations: 71.77 kB / 0.8448 GB, free: 7.035 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.1511, allocations: 88.14 kB / 0.8449 GB, free: 6.949 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.1511, allocations: 8.594 kB / 0.8449 GB, free: 6.941 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.194e-05/0.1512, allocations: 4 kB / 0.8449 GB, free: 6.938 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.507e-05/0.1512, allocations: 32.41 kB / 0.845 GB, free: 6.906 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 5.973e-05/0.1513, allocations: 44.41 kB / 0.845 GB, free: 6.863 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.1514, allocations: 95.58 kB / 0.8451 GB, free: 6.77 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1514, allocations: 0.625 kB / 0.8451 GB, free: 6.77 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1514, allocations: 0.5 kB / 0.8451 GB, free: 6.77 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1514, allocations: 3.938 kB / 0.8451 GB, free: 6.766 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.0006453/0.1521, allocations: 397.2 kB / 0.8455 GB, free: 6.344 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1521, allocations: 16.61 kB / 0.8455 GB, free: 6.328 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.1522, allocations: 12.84 kB / 0.8455 GB, free: 6.316 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.1524, allocations: 155.6 kB / 0.8457 GB, free: 6.141 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1524, allocations: 8.312 kB / 0.8457 GB, free: 6.133 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.1524, allocations: 12.62 kB / 0.8457 GB, free: 6.121 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.1526, allocations: 102.1 kB / 0.8458 GB, free: 6.016 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.1526, allocations: 0.7188 kB / 0.8458 GB, free: 6.016 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1526, allocations: 4 kB / 0.8458 GB, free: 6.012 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1526, allocations: 0.5 kB / 0.8458 GB, free: 6.012 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.1528, allocations: 81.11 kB / 0.8459 GB, free: 5.934 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.1532, allocations: 281 kB / 0.8461 GB, free: 5.629 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.1534, allocations: 131 kB / 0.8463 GB, free: 5.492 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/0.1535, allocations: 49.55 kB / 0.8463 GB, free: 5.441 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.1535, allocations: 4.531 kB / 0.8463 GB, free: 5.438 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.1537, allocations: 116.4 kB / 0.8464 GB, free: 5.312 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 2.485e-06/0.1537, allocations: 0 / 0.8464 GB, free: 5.312 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003622/0.154, allocations: 195.1 kB / 0.8466 GB, free: 5.117 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.1541, allocations: 56.08 kB / 0.8467 GB, free: 5.051 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.1542, allocations: 161.5 kB / 0.8468 GB, free: 4.887 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1542, allocations: 30.27 kB / 0.8468 GB, free: 4.852 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.1543, allocations: 104.6 kB / 0.8469 GB, free: 4.746 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.1543, allocations: 47.56 kB / 0.847 GB, free: 4.699 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.1544, allocations: 42.39 kB / 0.847 GB, free: 4.652 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.81e-05/0.1544, allocations: 330.8 kB / 0.8473 GB, free: 4.32 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.1546, allocations: 78.81 kB / 0.8474 GB, free: 4.238 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.1547, allocations: 206.6 kB / 0.8476 GB, free: 4 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.1549, allocations: 141.7 kB / 0.8478 GB, free: 3.855 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1549, allocations: 0 / 0.8478 GB, free: 3.855 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002618/0.1551, allocations: 240.5 kB / 0.848 GB, free: 3.605 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.1552, allocations: 38.31 kB / 0.848 GB, free: 3.562 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1552, allocations: 0 / 0.848 GB, free: 3.562 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1552, allocations: 0.8125 kB / 0.848 GB, free: 3.562 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1553, allocations: 28.52 kB / 0.8481 GB, free: 3.535 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1553, allocations: 3.938 kB / 0.8481 GB, free: 3.531 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.011e-05/0.1554, allocations: 24.56 kB / 0.8481 GB, free: 3.508 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1554, allocations: 8.703 kB / 0.8481 GB, free: 3.5 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.926e-05/0.1555, allocations: 123.5 kB / 0.8482 GB, free: 3.371 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.1555, allocations: 16.52 kB / 0.8482 GB, free: 3.355 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.1557, allocations: 174.9 kB / 0.8484 GB, free: 3.18 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1557, allocations: 0.5625 kB / 0.8484 GB, free: 3.18 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1558, allocations: 0.5625 kB / 0.8484 GB, free: 3.18 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1558, allocations: 0 / 0.8484 GB, free: 3.18 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.1559, allocations: 161.6 kB / 0.8485 GB, free: 2.992 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1559, allocations: 4.703 kB / 0.8485 GB, free: 2.988 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.754e-05/0.156, allocations: 27.97 kB / 0.8486 GB, free: 2.961 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.156, allocations: 0.5625 kB / 0.8486 GB, free: 2.961 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.156, allocations: 0.5 kB / 0.8486 GB, free: 2.961 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.156, allocations: 4.688 kB / 0.8486 GB, free: 2.957 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.156, allocations: 0 / 0.8486 GB, free: 2.957 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.1563, allocations: 261.2 kB / 0.8488 GB, free: 2.688 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.1563, allocations: 7.984 kB / 0.8488 GB, free: 2.68 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.1564, allocations: 0.5625 kB / 0.8488 GB, free: 2.68 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.806e-05/0.1564, allocations: 16.52 kB / 0.8489 GB, free: 2.664 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/0.1565, allocations: 16.53 kB / 0.8489 GB, free: 2.648 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.1565, allocations: 4 kB / 0.8489 GB, free: 2.645 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.37e-05/0.1565, allocations: 122.4 kB / 0.849 GB, free: 2.527 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1565, allocations: 0.5 kB / 0.849 GB, free: 2.527 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001403/0.1567, allocations: 32.53 kB / 0.849 GB, free: 2.496 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.0001122/0.1568, allocations: 111.8 kB / 0.8491 GB, free: 2.379 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.000279/0.1571, allocations: 206.2 kB / 0.8493 GB, free: 2.16 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.1571, allocations: 0.5938 kB / 0.8493 GB, free: 2.16 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.775e-05/0.1572, allocations: 64.48 kB / 0.8494 GB, free: 2.098 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.1574, allocations: 41.77 kB / 0.8494 GB, free: 2.059 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005506/0.1579, allocations: 359.2 kB / 0.8498 GB, free: 1.68 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.333e-05/0.158, allocations: 102.7 kB / 0.8499 GB, free: 1.559 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.703e-05/0.158, allocations: 20.09 kB / 0.8499 GB, free: 1.543 MB / 474.8 MB Notification: Performance of SimCode: time 7.82e-07/0.158, allocations: 0 / 0.8499 GB, free: 1.543 MB / 474.8 MB Notification: Performance of Templates: time 0.003121/0.1612, allocations: 2.048 MB / 0.8519 GB, free: 15.58 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.197891714051366]