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.0007852/0.0007852, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009671/0.001752, 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.0007342/0.0007342, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000961/0.001695, 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.137/1.137, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.142/1.279, 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.8749/0.8749, allocations: 291.2 MB / 0.5227 GB, free: 52.72 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04426/0.9191, allocations: 21.05 MB / 0.5433 GB, free: 31.73 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: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.5446 GB, free: 30.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.627e-05/3.812e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.33 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d): time 0.002236/0.002274, allocations: 1.944 MB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007906/0.003065, allocations: 0.5755 MB / 0.5471 GB, free: 27.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.003124, allocations: 0 / 0.5471 GB, free: 27.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.079e-05/0.003185, allocations: 19.84 kB / 0.5471 GB, free: 27.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.003436, allocations: 67.48 kB / 0.5472 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.003577, allocations: 63.78 kB / 0.5472 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.003784, allocations: 168 kB / 0.5474 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.323e-05/0.003837, allocations: 9.953 kB / 0.5474 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.003999, allocations: 115.8 kB / 0.5475 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.004237, allocations: 79.77 kB / 0.5476 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.004263, allocations: 4 kB / 0.5476 GB, free: 27.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.05e-05/0.004283, allocations: 11.94 kB / 0.5476 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.771e-05/0.004341, allocations: 19.94 kB / 0.5476 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.972e-05/0.004391, allocations: 27.94 kB / 0.5477 GB, free: 27.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.004522, allocations: 75.73 kB / 0.5477 GB, free: 27.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.866e-05/0.004541, allocations: 4 kB / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.004543, allocations: 0 / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.004561, allocations: 3.938 kB / 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.0006711/0.005232, allocations: 384.2 kB / 0.5481 GB, free: 26.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.005272, allocations: 12.03 kB / 0.5481 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.005314, allocations: 16.92 kB / 0.5481 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.005483, allocations: 158.8 kB / 0.5483 GB, free: 26.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.005507, allocations: 4.375 kB / 0.5483 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.005535, allocations: 8.375 kB / 0.5483 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.005696, allocations: 85 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.005708, allocations: 7.938 kB / 0.5484 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.00572, allocations: 4 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.005726, allocations: 0 / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.452e-05/0.005771, allocations: 19.98 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.006102, allocations: 197.8 kB / 0.5486 GB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.006232, allocations: 114.9 kB / 0.5487 GB, free: 26.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.004e-05/0.006262, allocations: 20.86 kB / 0.5487 GB, free: 26.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.006287, allocations: 3.984 kB / 0.5487 GB, free: 26.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.006428, allocations: 94.23 kB / 0.5488 GB, free: 25.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.00643, allocations: 0 / 0.5488 GB, free: 25.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001662/0.006596, allocations: 85.59 kB / 0.5489 GB, free: 25.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.006632, allocations: 55.41 kB / 0.549 GB, free: 25.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.006715, allocations: 150.6 kB / 0.5491 GB, free: 25.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.006729, allocations: 29.7 kB / 0.5491 GB, free: 25.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.00677, allocations: 100.1 kB / 0.5492 GB, free: 25.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.0068, allocations: 43.61 kB / 0.5493 GB, free: 25.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.006853, allocations: 45.86 kB / 0.5493 GB, free: 25.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.399e-05/0.006897, allocations: 322.8 kB / 0.5496 GB, free: 25.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.243e-05/0.006939, allocations: 52.45 kB / 0.5497 GB, free: 25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.177e-05/0.007001, allocations: 157.2 kB / 0.5498 GB, free: 24.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.434e-05/0.007065, allocations: 88.09 kB / 0.5499 GB, free: 24.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.007068, allocations: 0 / 0.5499 GB, free: 24.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000117/0.007185, allocations: 146.6 kB / 0.55 GB, free: 24.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/0.00723, allocations: 37.7 kB / 0.5501 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.007236, allocations: 0 / 0.5501 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.007248, allocations: 0 / 0.5501 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.007394, allocations: 39.91 kB / 0.5501 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.007399, allocations: 4 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.15e-05/0.00747, allocations: 12 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.00748, 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 7.05e-05/0.007551, allocations: 120.6 kB / 0.5502 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.007567, allocations: 11.92 kB / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.007709, allocations: 98.36 kB / 0.5504 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.007713, allocations: 0 / 0.5504 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.007717, allocations: 4 kB / 0.5504 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.007722, allocations: 0 / 0.5504 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.007824, allocations: 105.8 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.00783, allocations: 3.062 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.007933, allocations: 23.98 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.007954, allocations: 7.953 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.007958, allocations: 3.938 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.007972, allocations: 4 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.007974, allocations: 7.984 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.007976, allocations: 0 / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.008155, allocations: 139.2 kB / 0.5506 GB, free: 23.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.008179, allocations: 7.938 kB / 0.5506 GB, free: 23.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.968e-05/0.008239, allocations: 12.02 kB / 0.5507 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.008295, allocations: 19.97 kB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.008303, allocations: 0 / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.547e-05/0.008338, allocations: 39.94 kB / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.008338, allocations: 0 / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001115/0.00845, 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 0.0001131/0.008563, allocations: 92.38 kB / 0.5508 GB, free: 23.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.00874, allocations: 154 kB / 0.551 GB, free: 23.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.008747, allocations: 8 kB / 0.551 GB, free: 23.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.47e-05/0.008802, allocations: 44.7 kB / 0.551 GB, free: 23.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.008982, allocations: 57.12 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.002621/0.0116, allocations: 346.2 kB / 0.5514 GB, free: 23.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.393e-05/0.01164, allocations: 71.83 kB / 0.5515 GB, free: 22.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.32e-05/0.01172, allocations: 13.48 kB / 0.5515 GB, free: 22.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.01184, allocations: 91.34 kB / 0.5516 GB, free: 22.83 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01185, allocations: 0 / 0.5516 GB, free: 22.83 MB / 410.7 MB Notification: Performance of Templates: time 0.004717/0.01656, allocations: 2.743 MB / 0.5543 GB, free: 20.16 MB / 410.7 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.725453087128699]