Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_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.002394/0.002394, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 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.005767/0.005767, allocations: 173.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.671/1.671, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 178] 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 1.439/1.439, allocations: 293 MB / 0.5392 GB, free: 50.15 MB / 410.7 MB " [Timeout remaining time 178] 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_c,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.6999 GB, free: 8.605 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.116e-05, allocations: 4.812 kB / 0.6999 GB, free: 8.602 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c): time 0.00262/0.002651, allocations: 1.822 MB / 0.7017 GB, free: 6.762 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009342/0.003585, allocations: 0.538 MB / 0.7022 GB, free: 6.219 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.003648, allocations: 7.938 kB / 0.7022 GB, free: 6.211 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.003763, allocations: 19.84 kB / 0.7022 GB, free: 6.191 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003545/0.004117, allocations: 59.55 kB / 0.7023 GB, free: 6.133 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001639/0.004281, allocations: 67.77 kB / 0.7024 GB, free: 6.066 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.004481, allocations: 167.3 kB / 0.7025 GB, free: 5.902 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.004528, allocations: 5.312 kB / 0.7025 GB, free: 5.898 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.00467, allocations: 91.78 kB / 0.7026 GB, free: 5.809 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.0049, allocations: 83.7 kB / 0.7027 GB, free: 5.727 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.004927, allocations: 4 kB / 0.7027 GB, free: 5.723 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.433e-05/0.004951, allocations: 8 kB / 0.7027 GB, free: 5.715 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.005016, allocations: 31.84 kB / 0.7027 GB, free: 5.684 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.9e-05/0.005095, allocations: 47.89 kB / 0.7028 GB, free: 5.637 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.005265, allocations: 99.67 kB / 0.7029 GB, free: 5.539 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.005267, allocations: 0 / 0.7029 GB, free: 5.539 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005268, allocations: 0 / 0.7029 GB, free: 5.539 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.005273, allocations: 4 kB / 0.7029 GB, free: 5.535 MB / 410.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.0008027/0.006076, allocations: 391.5 kB / 0.7033 GB, free: 5.117 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.006125, allocations: 15.89 kB / 0.7033 GB, free: 5.102 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.2e-05/0.006187, allocations: 24.83 kB / 0.7033 GB, free: 5.078 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.006408, allocations: 142.2 kB / 0.7034 GB, free: 4.914 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.006429, allocations: 4.375 kB / 0.7034 GB, free: 4.91 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.006463, allocations: 12.38 kB / 0.7035 GB, free: 4.898 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.006736, allocations: 102.1 kB / 0.7035 GB, free: 4.793 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.006747, allocations: 3.938 kB / 0.7036 GB, free: 4.789 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.006764, allocations: 4 kB / 0.7036 GB, free: 4.785 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.00677, allocations: 4 kB / 0.7036 GB, free: 4.781 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002617/0.007032, allocations: 79.92 kB / 0.7036 GB, free: 4.703 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.007461, allocations: 276.4 kB / 0.7039 GB, free: 4.402 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.007819, allocations: 150.3 kB / 0.704 GB, free: 4.246 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.007957, allocations: 44.83 kB / 0.7041 GB, free: 4.199 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.007975, allocations: 4 kB / 0.7041 GB, free: 4.195 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.008222, allocations: 119.1 kB / 0.7042 GB, free: 4.07 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.008224, allocations: 0 / 0.7042 GB, free: 4.07 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005345/0.008758, allocations: 193.7 kB / 0.7044 GB, free: 3.875 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.008791, allocations: 59.34 kB / 0.7044 GB, free: 3.805 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.008909, allocations: 157 kB / 0.7046 GB, free: 3.645 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.008927, allocations: 37.69 kB / 0.7046 GB, free: 3.602 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.008977, allocations: 96.09 kB / 0.7047 GB, free: 3.504 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.009005, allocations: 43.64 kB / 0.7048 GB, free: 3.461 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.00907, allocations: 45.64 kB / 0.7048 GB, free: 3.41 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.716e-05/0.009127, allocations: 322.8 kB / 0.7051 GB, free: 3.086 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.009289, allocations: 77.66 kB / 0.7052 GB, free: 3.004 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.009501, allocations: 206.1 kB / 0.7054 GB, free: 2.766 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.009776, allocations: 141.1 kB / 0.7055 GB, free: 2.621 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.009779, allocations: 3.938 kB / 0.7055 GB, free: 2.617 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003786/0.01016, allocations: 244.8 kB / 0.7058 GB, free: 2.359 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.01019, allocations: 33.69 kB / 0.7058 GB, free: 2.32 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01019, allocations: 4 kB / 0.7058 GB, free: 2.316 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.01021, allocations: 0 / 0.7058 GB, free: 2.316 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.01037, allocations: 23.98 kB / 0.7058 GB, free: 2.293 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.01038, allocations: 4 kB / 0.7058 GB, free: 2.289 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.01055, allocations: 19.92 kB / 0.7058 GB, free: 2.27 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.01056, allocations: 4 kB / 0.7058 GB, free: 2.266 MB / 410.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 8.244e-05/0.01064, allocations: 130.4 kB / 0.706 GB, free: 2.129 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.01066, allocations: 15.91 kB / 0.706 GB, free: 2.113 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003793/0.01104, allocations: 166.4 kB / 0.7061 GB, free: 1.949 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.01105, allocations: 4 kB / 0.7061 GB, free: 1.945 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.01105, allocations: 4 kB / 0.7061 GB, free: 1.941 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.01106, allocations: 0 / 0.7061 GB, free: 1.941 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.01117, allocations: 145.2 kB / 0.7063 GB, free: 1.77 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01117, allocations: 4.156 kB / 0.7063 GB, free: 1.766 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.01132, allocations: 31.91 kB / 0.7063 GB, free: 1.734 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.348e-05/0.01133, allocations: 7.969 kB / 0.7063 GB, free: 1.727 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.01135, allocations: 4 kB / 0.7063 GB, free: 1.723 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01135, allocations: 0 / 0.7063 GB, free: 1.723 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01135, allocations: 8 kB / 0.7063 GB, free: 1.715 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/0.01185, allocations: 248.9 kB / 0.7066 GB, free: 1.453 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/0.01188, allocations: 19.81 kB / 0.7066 GB, free: 1.434 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.01191, allocations: 4 kB / 0.7066 GB, free: 1.43 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.01203, allocations: 11.98 kB / 0.7066 GB, free: 1.418 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.0121, allocations: 15.97 kB / 0.7066 GB, free: 1.402 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.01211, allocations: 4 kB / 0.7066 GB, free: 1.398 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.248e-05/0.01218, allocations: 123.1 kB / 0.7067 GB, free: 1.277 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01218, allocations: 0 / 0.7067 GB, free: 1.277 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002109/0.0124, allocations: 32 kB / 0.7068 GB, free: 1.246 MB / 410.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 0.0001193/0.01251, allocations: 111.2 kB / 0.7069 GB, free: 1.125 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003847/0.0129, allocations: 209 kB / 0.7071 GB, free: 0.9023 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.0129, allocations: 0 / 0.7071 GB, free: 0.9023 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.01306, allocations: 63.77 kB / 0.7071 GB, free: 0.8438 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.01346, allocations: 55.77 kB / 0.7072 GB, free: 0.7891 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007511/0.01421, allocations: 309.4 kB / 0.7075 GB, free: 472 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.69e-05/0.01428, allocations: 93.81 kB / 0.7076 GB, free: 360 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.01439, allocations: 21.48 kB / 0.7076 GB, free: 336 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.094e-05/0.01446, allocations: 24.48 kB / 0.7076 GB, free: 312 kB / 410.8 MB Notification: Performance of SimCode: time 4.31e-07/0.01446, allocations: 4 kB / 0.7076 GB, free: 308 kB / 410.8 MB Notification: Performance of Templates: time 0.008465/0.02293, allocations: 2.483 MB / 0.7101 GB, free: 13.93 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_c.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.903133073821664]