Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide.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.001025/0.001025, allocations: 77.06 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001332/0.002356, allocations: 444 kB / 10.41 MB, free: 276 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.001033/0.001033, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001343/0.002376, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.9386/0.9386, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1697/1.108, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.8045/0.8045, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03184/0.8363, allocations: 21.05 MB / 0.5433 GB, free: 31.47 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.5447 GB, free: 30.03 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.748e-06/1.119e-05, allocations: 6.25 kB / 0.5447 GB, free: 30.02 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide): time 0.00175/0.001761, allocations: 1.961 MB / 0.5466 GB, free: 28.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007405/0.002502, allocations: 0.5718 MB / 0.5472 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.002554, allocations: 3.938 kB / 0.5472 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.008e-05/0.002604, allocations: 11.92 kB / 0.5472 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.002821, allocations: 79.41 kB / 0.5473 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.002944, allocations: 55.84 kB / 0.5473 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.003105, allocations: 168 kB / 0.5475 GB, free: 27.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.003143, allocations: 9.969 kB / 0.5475 GB, free: 27.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.003272, allocations: 119.7 kB / 0.5476 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.003445, allocations: 75.77 kB / 0.5477 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.003468, allocations: 8 kB / 0.5477 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.928e-05/0.003488, allocations: 8 kB / 0.5477 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/0.003535, allocations: 23.92 kB / 0.5477 GB, free: 26.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.003573, allocations: 31.94 kB / 0.5478 GB, free: 26.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.003679, allocations: 75.69 kB / 0.5478 GB, free: 26.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/0.00369, allocations: 0 / 0.5478 GB, free: 26.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.003691, allocations: 0 / 0.5478 GB, free: 26.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.0037, allocations: 0 / 0.5478 GB, free: 26.82 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.0004911/0.004191, allocations: 396.1 kB / 0.5482 GB, free: 26.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/0.004219, allocations: 11.89 kB / 0.5482 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.004257, allocations: 16.86 kB / 0.5482 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.004383, allocations: 156.5 kB / 0.5484 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.004398, allocations: 12.36 kB / 0.5484 GB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.004419, allocations: 8.375 kB / 0.5484 GB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.004538, allocations: 85.02 kB / 0.5485 GB, free: 26.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.004546, allocations: 3.938 kB / 0.5485 GB, free: 26.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.004556, allocations: 0 / 0.5485 GB, free: 26.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.004562, allocations: 4 kB / 0.5485 GB, free: 26.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.209e-05/0.004604, allocations: 19.92 kB / 0.5485 GB, free: 26.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.004861, allocations: 193.9 kB / 0.5487 GB, free: 25.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.00499, allocations: 118.9 kB / 0.5488 GB, free: 25.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.907e-05/0.00502, allocations: 12.86 kB / 0.5488 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.005036, allocations: 4 kB / 0.5488 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.005154, allocations: 102.4 kB / 0.5489 GB, free: 25.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.005156, allocations: 3.938 kB / 0.5489 GB, free: 25.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001472/0.005303, allocations: 85.66 kB / 0.549 GB, free: 25.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.005327, allocations: 51.41 kB / 0.5491 GB, free: 25.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.699e-05/0.005394, allocations: 146.6 kB / 0.5492 GB, free: 25.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.005409, allocations: 29.7 kB / 0.5492 GB, free: 25.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/0.005442, allocations: 100.1 kB / 0.5493 GB, free: 25.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.005464, allocations: 43.61 kB / 0.5494 GB, free: 25.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.005503, allocations: 41.64 kB / 0.5494 GB, free: 25.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.182e-05/0.005535, allocations: 330.8 kB / 0.5497 GB, free: 24.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.33e-05/0.005568, allocations: 44.47 kB / 0.5498 GB, free: 24.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.045e-05/0.005619, allocations: 166.1 kB / 0.5499 GB, free: 24.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.923e-05/0.005678, allocations: 79.14 kB / 0.55 GB, free: 24.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.005679, allocations: 0 / 0.55 GB, free: 24.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.755e-05/0.005767, allocations: 147.8 kB / 0.5501 GB, free: 24.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.005794, allocations: 33.7 kB / 0.5502 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.005797, allocations: 0 / 0.5502 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.005809, allocations: 0 / 0.5502 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.005967, allocations: 35.91 kB / 0.5502 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.005971, allocations: 8 kB / 0.5502 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.398e-05/0.006045, allocations: 15.31 kB / 0.5502 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.006054, allocations: 3.984 kB / 0.5502 GB, free: 24.12 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.544e-05/0.006109, allocations: 120.7 kB / 0.5504 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.006126, allocations: 15.94 kB / 0.5504 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.006243, allocations: 102.3 kB / 0.5505 GB, free: 23.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.006245, allocations: 0 / 0.5505 GB, free: 23.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.006247, allocations: 0 / 0.5505 GB, free: 23.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.00625, allocations: 0 / 0.5505 GB, free: 23.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.619e-05/0.006326, allocations: 105.8 kB / 0.5506 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.006327, allocations: 0 / 0.5506 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.936e-05/0.006397, allocations: 27.98 kB / 0.5506 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.006411, allocations: 7.953 kB / 0.5506 GB, free: 23.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.006413, allocations: 3.938 kB / 0.5506 GB, free: 23.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.006424, allocations: 0 / 0.5506 GB, free: 23.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.006426, allocations: 3.984 kB / 0.5506 GB, free: 23.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.006429, allocations: 4 kB / 0.5506 GB, free: 23.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.006556, allocations: 131.2 kB / 0.5507 GB, free: 23.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.006573, allocations: 11.88 kB / 0.5508 GB, free: 23.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.851e-05/0.006621, allocations: 16.02 kB / 0.5508 GB, free: 23.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.006663, allocations: 16 kB / 0.5508 GB, free: 23.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.00667, allocations: 4 kB / 0.5508 GB, free: 23.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.193e-05/0.006701, allocations: 44.75 kB / 0.5508 GB, free: 23.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.006701, allocations: 0 / 0.5508 GB, free: 23.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001227/0.006824, allocations: 32 kB / 0.5509 GB, free: 23.43 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 8.058e-05/0.006905, allocations: 88.28 kB / 0.5509 GB, free: 23.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.007048, allocations: 157.2 kB / 0.5511 GB, free: 23.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.007054, allocations: 4 kB / 0.5511 GB, free: 23.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.655e-05/0.00711, allocations: 44.78 kB / 0.5511 GB, free: 23.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.007324, allocations: 370.4 kB / 0.5515 GB, free: 22.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.00982, allocations: 358.1 kB / 0.5518 GB, free: 22.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.373e-05/0.009844, allocations: 71.83 kB / 0.5519 GB, free: 22.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.604e-05/0.0099, allocations: 9.5 kB / 0.5519 GB, free: 22.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.01, allocations: 99.33 kB / 0.552 GB, free: 22.11 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01, allocations: 0 / 0.552 GB, free: 22.11 MB / 410.7 MB Notification: Performance of Templates: time 0.003726/0.01373, allocations: 2.75 MB / 0.5547 GB, free: 19.42 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4305282402783632]