Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_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.001068/0.001068, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001638/0.002706, allocations: 455.9 kB / 10.35 MB, free: 348 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.001088/0.001088, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001435/0.002523, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.053/1.053, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1306/1.183, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.8128/0.8128, allocations: 291.2 MB / 0.5227 GB, free: 52.72 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03909/0.8519, allocations: 21.04 MB / 0.5432 GB, free: 31.74 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_c,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.5446 GB, free: 30.35 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081e-05/1.267e-05, allocations: 10.19 kB / 0.5446 GB, free: 30.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c): time 0.001741/0.001754, allocations: 1.953 MB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006853/0.002439, allocations: 0.5677 MB / 0.5471 GB, free: 27.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.048e-05/0.002499, allocations: 3.938 kB / 0.5471 GB, free: 27.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.685e-05/0.002546, allocations: 19.84 kB / 0.5471 GB, free: 27.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.002758, allocations: 67.48 kB / 0.5472 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.002882, allocations: 59.84 kB / 0.5472 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.003056, allocations: 172 kB / 0.5474 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.051e-05/0.003106, allocations: 5.969 kB / 0.5474 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.003256, allocations: 119.6 kB / 0.5475 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.00343, allocations: 71.83 kB / 0.5476 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.003456, allocations: 8 kB / 0.5476 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.01e-05/0.003476, allocations: 8 kB / 0.5476 GB, free: 27.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.003522, allocations: 23.88 kB / 0.5476 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.003563, allocations: 31.94 kB / 0.5477 GB, free: 27.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.003684, allocations: 75.73 kB / 0.5477 GB, free: 27.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.003695, allocations: 4 kB / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003696, allocations: 0 / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.003707, allocations: 0 / 0.5477 GB, free: 27.14 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.0005279/0.004235, allocations: 388.1 kB / 0.5481 GB, free: 26.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.004265, allocations: 11.89 kB / 0.5481 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.004302, allocations: 12.92 kB / 0.5481 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.004447, allocations: 154.8 kB / 0.5483 GB, free: 26.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.004464, allocations: 8.375 kB / 0.5483 GB, free: 26.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.004487, allocations: 12.38 kB / 0.5483 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.004609, allocations: 77.02 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.004619, allocations: 3.938 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.004628, allocations: 0 / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.004634, allocations: 7.984 kB / 0.5484 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.236e-05/0.004676, allocations: 27.92 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002424/0.004919, allocations: 197.9 kB / 0.5486 GB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.005025, allocations: 118.9 kB / 0.5487 GB, free: 26.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.608e-05/0.005051, allocations: 24.86 kB / 0.5487 GB, free: 26.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.005068, allocations: 7.984 kB / 0.5487 GB, free: 26.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/0.005179, allocations: 82.19 kB / 0.5488 GB, free: 25.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 8.81e-07/0.00518, allocations: 0 / 0.5488 GB, free: 25.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.00014/0.00532, allocations: 89.66 kB / 0.5489 GB, free: 25.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.005343, allocations: 51.41 kB / 0.5489 GB, free: 25.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.459e-05/0.005417, allocations: 150.6 kB / 0.5491 GB, free: 25.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.00543, allocations: 29.7 kB / 0.5491 GB, free: 25.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.005461, allocations: 100.1 kB / 0.5492 GB, free: 25.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.005483, allocations: 47.61 kB / 0.5493 GB, free: 25.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.005526, allocations: 41.64 kB / 0.5493 GB, free: 25.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.395e-05/0.00556, allocations: 326.8 kB / 0.5496 GB, free: 25.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.39e-05/0.005594, allocations: 44.52 kB / 0.5497 GB, free: 25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.564e-05/0.005649, allocations: 158.1 kB / 0.5498 GB, free: 24.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.993e-05/0.005709, allocations: 86.81 kB / 0.5499 GB, free: 24.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.005712, allocations: 0 / 0.5499 GB, free: 24.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.509e-05/0.005807, allocations: 147.8 kB / 0.55 GB, free: 24.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.005835, allocations: 29.7 kB / 0.5501 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.00584, allocations: 0 / 0.5501 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.446e-06/0.005848, allocations: 8 kB / 0.5501 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.005949, allocations: 39.91 kB / 0.5501 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-06/0.005953, allocations: 0 / 0.5501 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/0.006014, allocations: 8 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.006021, allocations: 7.984 kB / 0.5501 GB, free: 24.45 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 4.89e-05/0.00607, allocations: 124.6 kB / 0.5502 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.006083, allocations: 15.92 kB / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.956e-05/0.006183, allocations: 94.36 kB / 0.5503 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.006184, allocations: 8 kB / 0.5503 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.006187, allocations: 3.312 kB / 0.5504 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.006191, allocations: 0 / 0.5504 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.242e-05/0.006263, allocations: 102 kB / 0.5504 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006264, allocations: 0 / 0.5504 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.006383, allocations: 27.92 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.006402, allocations: 7.953 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.006405, allocations: 7.938 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.006418, allocations: 0 / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.006423, allocations: 3.984 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.006423, allocations: 0 / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.006578, allocations: 146.6 kB / 0.5506 GB, free: 23.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.006596, allocations: 7.938 kB / 0.5506 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.218e-05/0.006648, allocations: 11.98 kB / 0.5507 GB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.00669, allocations: 11.97 kB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.006697, allocations: 8 kB / 0.5507 GB, free: 23.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.847e-05/0.006726, allocations: 35.12 kB / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006726, allocations: 0 / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000112/0.006838, allocations: 32 kB / 0.5507 GB, free: 23.77 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 6.355e-05/0.006901, allocations: 96.38 kB / 0.5508 GB, free: 23.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.007019, allocations: 149.8 kB / 0.551 GB, free: 23.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.007025, allocations: 3.938 kB / 0.551 GB, free: 23.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.948e-05/0.007074, allocations: 48.83 kB / 0.551 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.007215, allocations: 57.64 kB / 0.5511 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.009634, allocations: 346.2 kB / 0.5514 GB, free: 23.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.655e-05/0.009661, allocations: 75.77 kB / 0.5515 GB, free: 22.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.302e-05/0.009714, allocations: 21.52 kB / 0.5515 GB, free: 22.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.009815, allocations: 91.34 kB / 0.5516 GB, free: 22.82 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.009816, allocations: 0 / 0.5516 GB, free: 22.82 MB / 410.7 MB Notification: Performance of Templates: time 0.003948/0.01376, allocations: 2.75 MB / 0.5543 GB, free: 20.15 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7091195406392217]