Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a.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.0006853/0.0006853, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009574/0.001643, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007253/0.0007253, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.001731, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9732/0.9732, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1078/1.081, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.7979/0.7979, allocations: 291.2 MB / 0.5228 GB, free: 52.51 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03047/0.8284, allocations: 21.03 MB / 0.5433 GB, free: 31.52 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.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.5447 GB, free: 30.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095e-05/1.274e-05, allocations: 10.31 kB / 0.5447 GB, free: 30.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a): time 0.002412/0.002425, allocations: 1.949 MB / 0.5466 GB, free: 28.13 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000737/0.003162, allocations: 0.5754 MB / 0.5472 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.443e-05/0.003216, allocations: 0 / 0.5472 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.439e-05/0.003271, allocations: 19.84 kB / 0.5472 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.003497, allocations: 63.48 kB / 0.5473 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.003639, allocations: 71.77 kB / 0.5474 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.003823, allocations: 164 kB / 0.5475 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.003861, allocations: 5.969 kB / 0.5475 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.004013, allocations: 115.8 kB / 0.5476 GB, free: 27.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.004213, allocations: 75.77 kB / 0.5477 GB, free: 27.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.00424, allocations: 8 kB / 0.5477 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.382e-05/0.004264, allocations: 8 kB / 0.5477 GB, free: 27.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.674e-05/0.00431, allocations: 23.94 kB / 0.5477 GB, free: 27.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.004359, allocations: 31.94 kB / 0.5478 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.00448, allocations: 83.61 kB / 0.5478 GB, free: 26.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.749e-06/0.004489, allocations: 0 / 0.5478 GB, free: 26.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.00449, allocations: 0 / 0.5478 GB, free: 26.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.004499, allocations: 0 / 0.5478 GB, free: 26.89 MB / 410.7 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.0005271/0.005026, allocations: 388.1 kB / 0.5482 GB, free: 26.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.005057, allocations: 11.89 kB / 0.5482 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.005102, allocations: 16.92 kB / 0.5482 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.005246, allocations: 156.5 kB / 0.5484 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.005262, allocations: 8.375 kB / 0.5484 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.005287, allocations: 8.375 kB / 0.5484 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.005421, allocations: 84.95 kB / 0.5485 GB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.005429, allocations: 3.938 kB / 0.5485 GB, free: 26.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.005439, allocations: 3.5 kB / 0.5485 GB, free: 26.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.005446, allocations: 4 kB / 0.5485 GB, free: 26.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.056e-05/0.005497, allocations: 15.98 kB / 0.5485 GB, free: 26.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.005755, allocations: 197.9 kB / 0.5487 GB, free: 25.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.005876, allocations: 122.9 kB / 0.5488 GB, free: 25.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/0.005908, allocations: 16.84 kB / 0.5488 GB, free: 25.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.005923, allocations: 4 kB / 0.5488 GB, free: 25.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/0.006046, allocations: 90.23 kB / 0.5489 GB, free: 25.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.006047, allocations: 224 / 0.5489 GB, free: 25.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001739/0.006221, allocations: 93.58 kB / 0.549 GB, free: 25.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.006243, allocations: 55.34 kB / 0.5491 GB, free: 25.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.741e-05/0.00632, allocations: 154.6 kB / 0.5492 GB, free: 25.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.006336, allocations: 29.7 kB / 0.5492 GB, free: 25.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.00637, allocations: 100.1 kB / 0.5493 GB, free: 25.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.006398, allocations: 43.61 kB / 0.5494 GB, free: 25.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.006449, allocations: 41.64 kB / 0.5494 GB, free: 25.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.642e-05/0.006485, allocations: 326.8 kB / 0.5497 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-05/0.006527, allocations: 48.52 kB / 0.5498 GB, free: 24.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.335e-05/0.006591, allocations: 154.1 kB / 0.5499 GB, free: 24.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.426e-05/0.006665, allocations: 82.97 kB / 0.55 GB, free: 24.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.006667, allocations: 4 kB / 0.55 GB, free: 24.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001195/0.006786, allocations: 151.8 kB / 0.5502 GB, free: 24.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.006813, allocations: 37.69 kB / 0.5502 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.006817, allocations: 0 / 0.5502 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.006828, allocations: 0 / 0.5502 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.006953, allocations: 27.98 kB / 0.5502 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.006957, allocations: 4 kB / 0.5502 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.44e-05/0.007051, allocations: 15.98 kB / 0.5502 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.007061, allocations: 0 / 0.5502 GB, free: 24.21 MB / 410.7 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 5.466e-05/0.007116, allocations: 120.6 kB / 0.5504 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.007134, allocations: 23.92 kB / 0.5504 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.007256, allocations: 94.42 kB / 0.5505 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.007258, allocations: 0 / 0.5505 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.00726, allocations: 0 / 0.5505 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.007264, allocations: 4 kB / 0.5505 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.115e-05/0.007355, allocations: 97.75 kB / 0.5506 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.007356, allocations: 0 / 0.5506 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.007458, allocations: 31.92 kB / 0.5506 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.007475, allocations: 7.953 kB / 0.5506 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.007477, allocations: 3.938 kB / 0.5506 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.007491, allocations: 7.984 kB / 0.5506 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.007492, allocations: 0 / 0.5506 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.007494, allocations: 7.375 kB / 0.5506 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.007659, allocations: 131.3 kB / 0.5507 GB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.007683, allocations: 7.938 kB / 0.5508 GB, free: 23.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.007752, allocations: 11.98 kB / 0.5508 GB, free: 23.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.007796, allocations: 15.91 kB / 0.5508 GB, free: 23.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.007804, allocations: 4 kB / 0.5508 GB, free: 23.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.079e-05/0.007845, allocations: 51.86 kB / 0.5508 GB, free: 23.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007845, allocations: 0 / 0.5508 GB, free: 23.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001979/0.008043, allocations: 36.03 kB / 0.5509 GB, free: 23.51 MB / 410.7 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 7.052e-05/0.008113, allocations: 80.36 kB / 0.5509 GB, free: 23.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.008271, allocations: 148.6 kB / 0.5511 GB, free: 23.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.008278, allocations: 4 kB / 0.5511 GB, free: 23.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.983e-05/0.008348, allocations: 56.83 kB / 0.5511 GB, free: 23.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.008607, allocations: 366.9 kB / 0.5515 GB, free: 22.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00386/0.01247, allocations: 350.2 kB / 0.5518 GB, free: 22.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.006e-05/0.0125, allocations: 75.77 kB / 0.5519 GB, free: 22.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.798e-05/0.01258, allocations: 21.52 kB / 0.5519 GB, free: 22.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.01272, allocations: 91.34 kB / 0.552 GB, free: 22.2 MB / 410.7 MB Notification: Performance of SimCode: time 9.11e-07/0.01272, allocations: 0 / 0.552 GB, free: 22.2 MB / 410.7 MB Notification: Performance of Templates: time 0.005154/0.01787, allocations: 2.768 MB / 0.5547 GB, free: 19.49 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3527206936851144]