Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c.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.001059/0.001059, 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.001402/0.001402, allocations: 215.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.137/1.137, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.7677/0.7677, allocations: 312.3 MB / 0.6108 GB, free: 97.46 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_Shinohara2017_nio_c,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c") [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.001657/0.001657, allocations: 69.58 kB / 0.7699 GB, free: 20.11 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1429, allocations: 74 MB / 0.8422 GB, free: 10.24 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c): time 0.002403/0.1453, allocations: 1.814 MB / 0.8439 GB, free: 8.43 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007987/0.1461, allocations: 0.5372 MB / 0.8444 GB, free: 7.891 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.479e-05/0.1462, allocations: 4.5 kB / 0.8445 GB, free: 7.887 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.1463, allocations: 12.39 kB / 0.8445 GB, free: 7.875 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003567/0.1466, allocations: 68.83 kB / 0.8445 GB, free: 7.809 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.1468, allocations: 61.7 kB / 0.8446 GB, free: 7.75 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.147, allocations: 164 kB / 0.8447 GB, free: 7.59 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.465e-05/0.147, allocations: 5.844 kB / 0.8447 GB, free: 7.586 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.361e-05/0.1471, allocations: 75.69 kB / 0.8448 GB, free: 7.512 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.1473, allocations: 88.25 kB / 0.8449 GB, free: 7.426 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.1474, allocations: 8.562 kB / 0.8449 GB, free: 7.418 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.92e-05/0.1474, allocations: 4.656 kB / 0.8449 GB, free: 7.414 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-05/0.1474, allocations: 31.89 kB / 0.8449 GB, free: 7.383 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 5.959e-05/0.1475, allocations: 48.38 kB / 0.845 GB, free: 7.336 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.1476, allocations: 99.56 kB / 0.8451 GB, free: 7.238 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1477, allocations: 0.7188 kB / 0.8451 GB, free: 7.238 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1477, allocations: 0 / 0.8451 GB, free: 7.238 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1477, allocations: 0.7188 kB / 0.8451 GB, free: 7.238 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.0006487/0.1483, allocations: 393.2 kB / 0.8455 GB, free: 6.82 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1484, allocations: 19.83 kB / 0.8455 GB, free: 6.801 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.1484, allocations: 13.44 kB / 0.8455 GB, free: 6.789 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.1486, allocations: 151.4 kB / 0.8456 GB, free: 6.617 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1486, allocations: 4.375 kB / 0.8456 GB, free: 6.613 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.1486, allocations: 16.84 kB / 0.8457 GB, free: 6.598 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.1488, allocations: 98.11 kB / 0.8458 GB, free: 6.496 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1488, allocations: 0.6875 kB / 0.8458 GB, free: 6.496 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1488, allocations: 4 kB / 0.8458 GB, free: 6.492 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1488, allocations: 4.625 kB / 0.8458 GB, free: 6.488 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.149, allocations: 80.98 kB / 0.8458 GB, free: 6.41 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.1494, allocations: 288.2 kB / 0.8461 GB, free: 6.098 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.1496, allocations: 131.7 kB / 0.8462 GB, free: 5.961 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.679e-05/0.1497, allocations: 49.53 kB / 0.8463 GB, free: 5.91 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.1497, allocations: 4.594 kB / 0.8463 GB, free: 5.906 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002874/0.15, allocations: 119.4 kB / 0.8464 GB, free: 5.781 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 2.144e-06/0.15, allocations: 0.6875 kB / 0.8464 GB, free: 5.781 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003665/0.1504, allocations: 198.9 kB / 0.8466 GB, free: 5.582 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.1504, allocations: 51.41 kB / 0.8466 GB, free: 5.52 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.1505, allocations: 155.2 kB / 0.8468 GB, free: 5.359 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.1506, allocations: 29.7 kB / 0.8468 GB, free: 5.324 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.1506, allocations: 112.7 kB / 0.8469 GB, free: 5.211 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.1506, allocations: 39.64 kB / 0.847 GB, free: 5.172 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.1507, allocations: 42.3 kB / 0.847 GB, free: 5.125 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.1508, allocations: 323.5 kB / 0.8473 GB, free: 4.801 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.1509, allocations: 82.28 kB / 0.8474 GB, free: 4.715 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.151, allocations: 208.8 kB / 0.8476 GB, free: 4.477 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.1512, allocations: 139.8 kB / 0.8477 GB, free: 4.332 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1512, allocations: 0 / 0.8477 GB, free: 4.332 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002742/0.1515, allocations: 244.3 kB / 0.848 GB, free: 4.078 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.1515, allocations: 29.7 kB / 0.848 GB, free: 4.043 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1515, allocations: 4.594 kB / 0.848 GB, free: 4.039 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1515, allocations: 4.562 kB / 0.848 GB, free: 4.035 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1516, allocations: 32.66 kB / 0.848 GB, free: 4.004 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1516, allocations: 0 / 0.848 GB, free: 4.004 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.386e-05/0.1517, allocations: 24.5 kB / 0.8481 GB, free: 3.98 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1517, allocations: 4.594 kB / 0.8481 GB, free: 3.977 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.933e-05/0.1518, allocations: 122.5 kB / 0.8482 GB, free: 3.848 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.1518, allocations: 11.95 kB / 0.8482 GB, free: 3.836 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.1521, allocations: 175.7 kB / 0.8484 GB, free: 3.66 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.1521, allocations: 8.625 kB / 0.8484 GB, free: 3.652 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1521, allocations: 7.922 kB / 0.8484 GB, free: 3.645 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1521, allocations: 0.5312 kB / 0.8484 GB, free: 3.645 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.1522, allocations: 149.9 kB / 0.8485 GB, free: 3.469 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1522, allocations: 0 / 0.8485 GB, free: 3.469 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.996e-05/0.1523, allocations: 28.64 kB / 0.8485 GB, free: 3.441 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1523, allocations: 0.5938 kB / 0.8485 GB, free: 3.441 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1523, allocations: 3.984 kB / 0.8485 GB, free: 3.438 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1523, allocations: 0.7188 kB / 0.8485 GB, free: 3.438 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1523, allocations: 7.984 kB / 0.8486 GB, free: 3.43 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.1527, allocations: 254.1 kB / 0.8488 GB, free: 3.164 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.1527, allocations: 12.64 kB / 0.8488 GB, free: 3.152 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.1527, allocations: 3.984 kB / 0.8488 GB, free: 3.148 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.789e-05/0.1528, allocations: 16.61 kB / 0.8488 GB, free: 3.133 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.1528, allocations: 12.55 kB / 0.8488 GB, free: 3.121 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.1528, allocations: 12.55 kB / 0.8489 GB, free: 3.109 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.401e-05/0.1529, allocations: 121.9 kB / 0.849 GB, free: 2.992 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1529, allocations: 0.5 kB / 0.849 GB, free: 2.992 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001454/0.1531, allocations: 32.62 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.0001039/0.1532, allocations: 96.56 kB / 0.8491 GB, free: 2.859 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002783/0.1534, allocations: 220.2 kB / 0.8493 GB, free: 2.629 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1534, allocations: 0.625 kB / 0.8493 GB, free: 2.629 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.583e-05/0.1535, allocations: 60.61 kB / 0.8494 GB, free: 2.57 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.1537, allocations: 45.62 kB / 0.8494 GB, free: 2.527 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.1543, allocations: 360.2 kB / 0.8497 GB, free: 2.145 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.922e-05/0.1544, allocations: 103.4 kB / 0.8498 GB, free: 2.023 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.1544, allocations: 16.03 kB / 0.8499 GB, free: 2.012 MB / 474.8 MB Notification: Performance of SimCode: time 7.01e-07/0.1544, allocations: 0 / 0.8499 GB, free: 2.012 MB / 474.8 MB Notification: Performance of Templates: time 0.002951/0.1574, allocations: 2.052 MB / 0.8519 GB, free: 60 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.519055380485952]