Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d.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.0009745/0.0009745, allocations: 108.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.001064/0.001064, allocations: 221.3 kB / 23.01 MB, free: 2.965 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.118/1.118, allocations: 230.6 MB / 256.8 MB, free: 9.582 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.78/0.78, allocations: 312.3 MB / 0.6108 GB, free: 97.45 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_d,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d") [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.002168/0.002168, allocations: 81.39 kB / 0.7699 GB, free: 20.12 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1406, allocations: 73.99 MB / 0.8421 GB, free: 10.27 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d): time 0.002296/0.1429, allocations: 1.82 MB / 0.8439 GB, free: 8.449 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007926/0.1437, allocations: 0.5412 MB / 0.8444 GB, free: 7.906 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.391e-05/0.1438, allocations: 4.5 kB / 0.8444 GB, free: 7.902 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.1439, allocations: 12.53 kB / 0.8445 GB, free: 7.891 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.1442, allocations: 68.66 kB / 0.8445 GB, free: 7.824 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.1444, allocations: 57.73 kB / 0.8446 GB, free: 7.77 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.1446, allocations: 168 kB / 0.8447 GB, free: 7.605 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.1446, allocations: 5.312 kB / 0.8447 GB, free: 7.602 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.475e-05/0.1447, allocations: 72.38 kB / 0.8448 GB, free: 7.531 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.1449, allocations: 84.28 kB / 0.8449 GB, free: 7.449 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.1449, allocations: 8.562 kB / 0.8449 GB, free: 7.441 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.14e-05/0.145, allocations: 8 kB / 0.8449 GB, free: 7.434 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.327e-05/0.145, allocations: 32.64 kB / 0.8449 GB, free: 7.402 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.195e-05/0.1451, allocations: 47.78 kB / 0.845 GB, free: 7.355 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.1452, allocations: 96.5 kB / 0.8451 GB, free: 7.262 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1452, allocations: 4 kB / 0.8451 GB, free: 7.258 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1452, allocations: 0.5625 kB / 0.8451 GB, free: 7.258 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.1452, allocations: 0 / 0.8451 GB, free: 7.258 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.0006352/0.1459, allocations: 397.2 kB / 0.8455 GB, free: 6.836 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1459, allocations: 12.42 kB / 0.8455 GB, free: 6.824 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.146, allocations: 16.84 kB / 0.8455 GB, free: 6.809 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.1461, allocations: 147.4 kB / 0.8456 GB, free: 6.641 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1461, allocations: 4.969 kB / 0.8456 GB, free: 6.637 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.1462, allocations: 20.11 kB / 0.8457 GB, free: 6.617 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.1464, allocations: 97.16 kB / 0.8457 GB, free: 6.52 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1464, allocations: 0.6875 kB / 0.8457 GB, free: 6.52 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1464, allocations: 4 kB / 0.8458 GB, free: 6.516 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1464, allocations: 0.5 kB / 0.8458 GB, free: 6.516 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.1465, allocations: 85.09 kB / 0.8458 GB, free: 6.434 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.1469, allocations: 288.8 kB / 0.8461 GB, free: 6.121 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.1472, allocations: 131.6 kB / 0.8462 GB, free: 5.984 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.832e-05/0.1473, allocations: 57.41 kB / 0.8463 GB, free: 5.926 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.1473, allocations: 4.562 kB / 0.8463 GB, free: 5.922 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.1475, allocations: 111.9 kB / 0.8464 GB, free: 5.801 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/0.1475, allocations: 0 / 0.8464 GB, free: 5.801 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003618/0.1478, allocations: 199.6 kB / 0.8466 GB, free: 5.602 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.1479, allocations: 55.41 kB / 0.8466 GB, free: 5.535 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.148, allocations: 159.2 kB / 0.8468 GB, free: 5.371 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.148, allocations: 25.7 kB / 0.8468 GB, free: 5.34 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.1481, allocations: 108.6 kB / 0.8469 GB, free: 5.23 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.1481, allocations: 43.64 kB / 0.847 GB, free: 5.188 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.1481, allocations: 38.48 kB / 0.847 GB, free: 5.145 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.1482, allocations: 326.8 kB / 0.8473 GB, free: 4.816 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.1484, allocations: 83.12 kB / 0.8474 GB, free: 4.73 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.1486, allocations: 206.6 kB / 0.8476 GB, free: 4.492 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.1488, allocations: 145.5 kB / 0.8477 GB, free: 4.344 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1488, allocations: 0.6875 kB / 0.8477 GB, free: 4.344 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002572/0.149, allocations: 241.4 kB / 0.848 GB, free: 4.09 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.149, allocations: 30.36 kB / 0.848 GB, free: 4.055 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.149, allocations: 0.625 kB / 0.848 GB, free: 4.055 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1491, allocations: 4 kB / 0.848 GB, free: 4.051 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1492, allocations: 36.5 kB / 0.848 GB, free: 4.016 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1492, allocations: 0.625 kB / 0.848 GB, free: 4.016 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.708e-05/0.1493, allocations: 24.5 kB / 0.8481 GB, free: 3.992 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.1493, allocations: 4 kB / 0.8481 GB, free: 3.988 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.949e-05/0.1494, allocations: 126.9 kB / 0.8482 GB, free: 3.855 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.1494, allocations: 11.94 kB / 0.8482 GB, free: 3.844 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.1496, allocations: 178.6 kB / 0.8484 GB, free: 3.668 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1496, allocations: 0.5938 kB / 0.8484 GB, free: 3.668 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1496, allocations: 4 kB / 0.8484 GB, free: 3.664 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1496, allocations: 0.625 kB / 0.8484 GB, free: 3.664 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.1497, allocations: 149.8 kB / 0.8485 GB, free: 3.488 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1497, allocations: 0 / 0.8485 GB, free: 3.488 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.622e-05/0.1498, allocations: 24.61 kB / 0.8485 GB, free: 3.465 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.1498, allocations: 4.531 kB / 0.8485 GB, free: 3.461 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1498, allocations: 4.672 kB / 0.8485 GB, free: 3.457 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1498, allocations: 0 / 0.8485 GB, free: 3.457 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1498, allocations: 0.5938 kB / 0.8485 GB, free: 3.457 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/0.1502, allocations: 253.9 kB / 0.8488 GB, free: 3.191 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.1502, allocations: 16.53 kB / 0.8488 GB, free: 3.176 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.1502, allocations: 4 kB / 0.8488 GB, free: 3.172 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.637e-05/0.1503, allocations: 16.52 kB / 0.8488 GB, free: 3.156 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.1503, allocations: 20.59 kB / 0.8488 GB, free: 3.137 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.1503, allocations: 4 kB / 0.8488 GB, free: 3.133 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.047e-05/0.1504, allocations: 118.4 kB / 0.849 GB, free: 3.02 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1504, allocations: 4.625 kB / 0.849 GB, free: 3.016 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001358/0.1505, allocations: 28 kB / 0.849 GB, free: 2.988 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 9.718e-05/0.1506, allocations: 100.5 kB / 0.8491 GB, free: 2.883 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.1509, allocations: 218.3 kB / 0.8493 GB, free: 2.652 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1509, allocations: 0 / 0.8493 GB, free: 2.652 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.457e-05/0.151, allocations: 64.52 kB / 0.8494 GB, free: 2.59 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.1512, allocations: 43.88 kB / 0.8494 GB, free: 2.551 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005346/0.1517, allocations: 368.6 kB / 0.8497 GB, free: 2.16 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.771e-05/0.1518, allocations: 94.86 kB / 0.8498 GB, free: 2.047 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.1518, allocations: 19.97 kB / 0.8499 GB, free: 2.031 MB / 474.8 MB Notification: Performance of SimCode: time 6.62e-07/0.1518, allocations: 0.625 kB / 0.8499 GB, free: 2.031 MB / 474.8 MB Notification: Performance of Templates: time 0.002947/0.1548, allocations: 2.046 MB / 0.8519 GB, free: 88 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.155223581008613]