Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_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.00101/0.00101, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.002449, 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.001035/0.001035, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001343/0.002378, allocations: 475.6 kB / 11.8 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.9782/0.9782, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09353/1.072, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.787/0.787, allocations: 291.2 MB / 0.5228 GB, free: 52.52 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06991/0.857, allocations: 21.04 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_d,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.5447 GB, free: 30.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.324e-05, allocations: 6.312 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_d): time 0.002339/0.002362, allocations: 1.942 MB / 0.5466 GB, free: 28.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007394/0.003101, allocations: 0.5826 MB / 0.5472 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.32e-05/0.003155, allocations: 3.938 kB / 0.5472 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.109e-05/0.003216, allocations: 11.91 kB / 0.5472 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006402/0.009618, allocations: 67.48 kB / 0.5473 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.009822, allocations: 67.83 kB / 0.5474 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.01002, allocations: 164 kB / 0.5475 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.461e-05/0.01006, allocations: 9.906 kB / 0.5475 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.01022, allocations: 115.7 kB / 0.5476 GB, free: 27.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002583/0.01048, allocations: 75.83 kB / 0.5477 GB, free: 27.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.0105, allocations: 8 kB / 0.5477 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.406e-05/0.01053, allocations: 4 kB / 0.5477 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.399e-05/0.01058, allocations: 27.88 kB / 0.5477 GB, free: 27.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.01063, allocations: 31.94 kB / 0.5478 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.01078, allocations: 79.73 kB / 0.5478 GB, free: 26.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.253e-05/0.01079, allocations: 0 / 0.5478 GB, free: 26.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01079, allocations: 0 / 0.5478 GB, free: 26.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.0108, allocations: 0 / 0.5478 GB, free: 26.9 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.0005531/0.01135, allocations: 380.2 kB / 0.5482 GB, free: 26.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.01138, allocations: 15.89 kB / 0.5482 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.01143, allocations: 16.92 kB / 0.5482 GB, free: 26.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.01156, allocations: 164.4 kB / 0.5484 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.01158, allocations: 8.375 kB / 0.5484 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.0116, allocations: 4.375 kB / 0.5484 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.01174, allocations: 85.02 kB / 0.5485 GB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.01174, allocations: 3.938 kB / 0.5485 GB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.01175, allocations: 0 / 0.5485 GB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.01176, allocations: 0 / 0.5485 GB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.828e-05/0.01181, allocations: 23.92 kB / 0.5485 GB, free: 26.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002516/0.01206, allocations: 197.8 kB / 0.5487 GB, free: 25.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.01217, allocations: 118.9 kB / 0.5488 GB, free: 25.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003105/0.01528, allocations: 20.84 kB / 0.5488 GB, free: 25.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.0153, allocations: 0 / 0.5488 GB, free: 25.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.01543, allocations: 98.11 kB / 0.5489 GB, free: 25.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.01544, allocations: 0 / 0.5489 GB, free: 25.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001713/0.01561, allocations: 85.66 kB / 0.549 GB, free: 25.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.01563, allocations: 55.41 kB / 0.5491 GB, free: 25.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.533e-05/0.0157, allocations: 146.6 kB / 0.5492 GB, free: 25.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.01572, allocations: 37.7 kB / 0.5492 GB, free: 25.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.487e-05/0.01576, allocations: 96.06 kB / 0.5493 GB, free: 25.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.01578, allocations: 47.61 kB / 0.5494 GB, free: 25.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.01584, allocations: 41.64 kB / 0.5494 GB, free: 25.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.343e-05/0.01587, allocations: 322.8 kB / 0.5497 GB, free: 24.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.529e-05/0.01592, allocations: 44.52 kB / 0.5498 GB, free: 24.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.283e-05/0.01598, allocations: 165.2 kB / 0.5499 GB, free: 24.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.27e-05/0.01605, allocations: 84.16 kB / 0.55 GB, free: 24.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01605, allocations: 0 / 0.55 GB, free: 24.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001439/0.0162, allocations: 151.8 kB / 0.5502 GB, free: 24.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.01623, allocations: 36.5 kB / 0.5502 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.01623, allocations: 0 / 0.5502 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.01625, allocations: 4 kB / 0.5502 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.01639, allocations: 31.92 kB / 0.5502 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.01639, allocations: 0 / 0.5502 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.415e-05/0.01649, allocations: 15.98 kB / 0.5502 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.0165, allocations: 4 kB / 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.705e-05/0.01656, allocations: 116.7 kB / 0.5504 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.01658, allocations: 23.92 kB / 0.5504 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.01671, allocations: 94.36 kB / 0.5505 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.01671, allocations: 4.219 kB / 0.5505 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.01671, allocations: 0 / 0.5505 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01672, allocations: 3.938 kB / 0.5505 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.477e-05/0.01681, allocations: 97.75 kB / 0.5506 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.01681, allocations: 3.062 kB / 0.5506 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.01692, allocations: 27.98 kB / 0.5506 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.01693, allocations: 8 kB / 0.5506 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.01694, allocations: 7.922 kB / 0.5506 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.01695, allocations: 11.98 kB / 0.5506 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01695, allocations: 0 / 0.5506 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01695, allocations: 0 / 0.5506 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.01712, allocations: 139.2 kB / 0.5508 GB, free: 23.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.01714, allocations: 3.938 kB / 0.5508 GB, free: 23.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.623e-05/0.01721, allocations: 15.98 kB / 0.5508 GB, free: 23.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.01725, allocations: 11.97 kB / 0.5508 GB, free: 23.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.01725, allocations: 4 kB / 0.5508 GB, free: 23.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.711e-05/0.01729, allocations: 43.92 kB / 0.5508 GB, free: 23.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01729, allocations: 0 / 0.5508 GB, free: 23.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001671/0.01746, allocations: 36.03 kB / 0.5509 GB, free: 23.52 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 0.0001109/0.01757, allocations: 84.36 kB / 0.5509 GB, free: 23.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.01771, allocations: 157.9 kB / 0.5511 GB, free: 23.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.01772, allocations: 0 / 0.5511 GB, free: 23.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.98e-05/0.01778, allocations: 40.84 kB / 0.5511 GB, free: 23.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.01906, allocations: 378.6 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.003783/0.02284, 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.896e-05/0.02288, allocations: 75.77 kB / 0.5519 GB, free: 22.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000109/0.02299, allocations: 21.48 kB / 0.5519 GB, free: 22.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.02316, allocations: 87.34 kB / 0.552 GB, free: 22.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.813e-06/0.02316, allocations: 4 kB / 0.552 GB, free: 22.2 MB / 410.7 MB Notification: Performance of Templates: time 0.0047/0.02786, allocations: 2.754 MB / 0.5547 GB, free: 19.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.346708795055747]