Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide.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.0009822/0.0009822, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001354/0.002336, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008881/0.0008881, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009872/0.001875, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.059/1.059, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1029/1.162, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.7232/0.7232, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03199/0.7552, allocations: 21.03 MB / 0.5431 GB, free: 31.97 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.542e-05, allocations: 10.25 kB / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide): time 0.001644/0.001659, allocations: 1.956 MB / 0.5465 GB, free: 28.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005921/0.002252, allocations: 0.5796 MB / 0.547 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.4e-05/0.002296, allocations: 0 / 0.547 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.555e-05/0.002341, allocations: 15.84 kB / 0.547 GB, free: 27.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.00253, allocations: 67.48 kB / 0.5471 GB, free: 27.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.002644, allocations: 67.77 kB / 0.5472 GB, free: 27.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.002789, allocations: 168 kB / 0.5473 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.589e-05/0.002825, allocations: 5.969 kB / 0.5473 GB, free: 27.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.002954, allocations: 111.8 kB / 0.5474 GB, free: 27.56 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.003125, allocations: 83.77 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.003145, allocations: 4 kB / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.616e-05/0.003162, allocations: 8 kB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.003201, allocations: 23.94 kB / 0.5476 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.00324, allocations: 27.94 kB / 0.5476 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.882e-05/0.003338, allocations: 83.61 kB / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.321e-05/0.003352, allocations: 0 / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.3e-07/0.003352, allocations: 0 / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.003366, allocations: 0 / 0.5477 GB, free: 27.33 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.0004717/0.003837, allocations: 392.1 kB / 0.548 GB, free: 26.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.533e-05/0.003863, allocations: 11.89 kB / 0.548 GB, free: 26.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.003899, allocations: 16.92 kB / 0.5481 GB, free: 26.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.004021, allocations: 150.8 kB / 0.5482 GB, free: 26.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.004035, allocations: 8.375 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.004055, allocations: 12.3 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.004161, allocations: 85.02 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.004168, allocations: 3.938 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.004176, allocations: 8 kB / 0.5483 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.004181, allocations: 0 / 0.5483 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.266e-05/0.004224, allocations: 19.98 kB / 0.5483 GB, free: 26.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002114/0.004435, allocations: 193.1 kB / 0.5485 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.698e-05/0.004532, allocations: 122.9 kB / 0.5486 GB, free: 26.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.443e-05/0.004556, allocations: 20.84 kB / 0.5487 GB, free: 26.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.004569, allocations: 4 kB / 0.5487 GB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/0.004671, allocations: 86.25 kB / 0.5487 GB, free: 26.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.004672, allocations: 4 kB / 0.5487 GB, free: 26.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001598/0.004832, allocations: 89.81 kB / 0.5488 GB, free: 26.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.004856, allocations: 55.41 kB / 0.5489 GB, free: 25.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/0.004925, allocations: 150.6 kB / 0.549 GB, free: 25.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.004944, allocations: 33.7 kB / 0.5491 GB, free: 25.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.745e-05/0.004971, allocations: 96.06 kB / 0.5492 GB, free: 25.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.004993, allocations: 43.61 kB / 0.5492 GB, free: 25.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.005033, allocations: 45.64 kB / 0.5492 GB, free: 25.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.867e-05/0.005062, allocations: 322.8 kB / 0.5495 GB, free: 25.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.37e-05/0.005096, allocations: 48.52 kB / 0.5496 GB, free: 25.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.902e-05/0.005145, allocations: 162.1 kB / 0.5497 GB, free: 24.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.005315, allocations: 78.83 kB / 0.5498 GB, free: 24.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.005318, allocations: 4 kB / 0.5498 GB, free: 24.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001342/0.005452, allocations: 147.8 kB / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.005485, allocations: 33.7 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.005491, allocations: 0 / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.005501, allocations: 3.984 kB / 0.55 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.005629, allocations: 27.98 kB / 0.55 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.005633, allocations: 4 kB / 0.55 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.948e-05/0.005712, allocations: 19.98 kB / 0.5501 GB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.00572, allocations: 0 / 0.5501 GB, free: 24.64 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.807e-05/0.005778, allocations: 124.6 kB / 0.5502 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.005797, allocations: 19.92 kB / 0.5502 GB, free: 24.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.005922, allocations: 94.42 kB / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.005925, allocations: 0 / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.005926, allocations: 0 / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.00593, allocations: 4 kB / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.272e-05/0.006012, allocations: 93.77 kB / 0.5504 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.006014, allocations: 0 / 0.5504 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.085e-05/0.006105, allocations: 35.92 kB / 0.5504 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/0.006123, allocations: 11.94 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.006126, allocations: 7.969 kB / 0.5504 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.006137, allocations: 3.984 kB / 0.5504 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.006139, allocations: 2.875 kB / 0.5504 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006141, allocations: 4 kB / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.006272, allocations: 127.3 kB / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.006289, allocations: 7.938 kB / 0.5506 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.23e-05/0.006342, allocations: 7.984 kB / 0.5506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.006379, allocations: 23.94 kB / 0.5506 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.006385, allocations: 7.938 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.957e-05/0.006414, allocations: 43.12 kB / 0.5506 GB, free: 23.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006414, allocations: 0 / 0.5506 GB, free: 23.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001144/0.006529, allocations: 35.98 kB / 0.5507 GB, free: 23.95 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.236e-05/0.006611, allocations: 80.36 kB / 0.5508 GB, free: 23.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.006761, allocations: 152.5 kB / 0.5509 GB, free: 23.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/0.00677, allocations: 4 kB / 0.5509 GB, free: 23.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.847e-05/0.006819, allocations: 40.78 kB / 0.5509 GB, free: 23.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.006975, allocations: 58.42 kB / 0.551 GB, free: 23.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.00946, allocations: 350.2 kB / 0.5513 GB, free: 23.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.556e-05/0.009486, allocations: 67.84 kB / 0.5514 GB, free: 23.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.199e-05/0.009558, allocations: 25.42 kB / 0.5514 GB, free: 23.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.009665, allocations: 87.34 kB / 0.5515 GB, free: 23.03 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.009666, allocations: 0 / 0.5515 GB, free: 23.03 MB / 410.7 MB Notification: Performance of Templates: time 0.004198/0.01386, allocations: 2.744 MB / 0.5542 GB, free: 20.35 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.387925156392157]