Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b.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.0008806/0.0008806, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.001964, 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.0007899/0.0007899, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001082/0.001871, 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.031/1.031, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09282/1.123, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.8154/0.8154, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03352/0.8489, allocations: 21.03 MB / 0.5431 GB, free: 31.98 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_b,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.654e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b): time 0.002528/0.002555, allocations: 1.941 MB / 0.5464 GB, free: 28.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007229/0.003278, allocations: 0.5793 MB / 0.547 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006066/0.009344, allocations: 4 kB / 0.547 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.901e-05/0.009413, allocations: 11.86 kB / 0.547 GB, free: 28.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.009672, allocations: 67.48 kB / 0.5471 GB, free: 27.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.009831, allocations: 59.83 kB / 0.5471 GB, free: 27.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.01002, allocations: 172 kB / 0.5473 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.382e-05/0.01007, allocations: 9.953 kB / 0.5473 GB, free: 27.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.01022, allocations: 115.7 kB / 0.5474 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.01044, allocations: 75.78 kB / 0.5475 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.01046, allocations: 4 kB / 0.5475 GB, free: 27.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.044e-05/0.01048, allocations: 8 kB / 0.5475 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.01053, allocations: 27.92 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.715e-05/0.01057, allocations: 27.94 kB / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.0107, allocations: 75.69 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-05/0.01071, allocations: 0 / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.01071, allocations: 4 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.843e-05/0.01073, allocations: 4 kB / 0.5476 GB, free: 27.39 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.0005582/0.01129, allocations: 380.2 kB / 0.548 GB, free: 26.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.01132, allocations: 15.89 kB / 0.548 GB, free: 26.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.01136, allocations: 16.86 kB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.01151, allocations: 157.2 kB / 0.5482 GB, free: 26.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.01153, allocations: 11.56 kB / 0.5482 GB, free: 26.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.01155, allocations: 8.375 kB / 0.5482 GB, free: 26.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.01168, allocations: 81.02 kB / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.01169, allocations: 3.938 kB / 0.5483 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.0117, allocations: 4 kB / 0.5483 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.01171, allocations: 0 / 0.5483 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.091e-05/0.01176, allocations: 23.92 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.01202, allocations: 201.9 kB / 0.5485 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.01214, allocations: 110.9 kB / 0.5486 GB, free: 26.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.01217, allocations: 16.84 kB / 0.5486 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.01219, allocations: 8 kB / 0.5486 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003145/0.01533, allocations: 94.17 kB / 0.5487 GB, free: 26.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.01533, allocations: 0 / 0.5487 GB, free: 26.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001687/0.0155, allocations: 85.66 kB / 0.5488 GB, free: 26.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.01553, allocations: 59.39 kB / 0.5488 GB, free: 26.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.657e-05/0.01561, allocations: 142.6 kB / 0.549 GB, free: 25.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.01562, allocations: 33.92 kB / 0.549 GB, free: 25.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.01565, allocations: 96.06 kB / 0.5491 GB, free: 25.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.01568, allocations: 47.55 kB / 0.5492 GB, free: 25.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/0.01574, allocations: 49.64 kB / 0.5492 GB, free: 25.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.496e-05/0.01577, allocations: 322.8 kB / 0.5495 GB, free: 25.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.667e-05/0.01582, allocations: 48.45 kB / 0.5496 GB, free: 25.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.283e-05/0.01588, allocations: 158.1 kB / 0.5497 GB, free: 25.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.244e-05/0.01595, allocations: 84.16 kB / 0.5498 GB, free: 24.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.01595, allocations: 0 / 0.5498 GB, free: 24.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001217/0.01608, allocations: 147 kB / 0.5499 GB, free: 24.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.01611, allocations: 37.69 kB / 0.55 GB, free: 24.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01611, allocations: 0 / 0.55 GB, free: 24.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.01612, allocations: 4 kB / 0.55 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.01626, allocations: 31.92 kB / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.01627, allocations: 4 kB / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.351e-05/0.01635, allocations: 15.98 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.01636, allocations: 0 / 0.55 GB, free: 24.7 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.728e-05/0.01642, allocations: 124.6 kB / 0.5501 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.01644, allocations: 15.92 kB / 0.5501 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.01656, allocations: 98.36 kB / 0.5502 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01657, allocations: 0 / 0.5502 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.01657, allocations: 4.047 kB / 0.5502 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.01657, allocations: 7.984 kB / 0.5503 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.002e-05/0.01666, allocations: 101.8 kB / 0.5503 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01666, allocations: 0 / 0.5503 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.698e-05/0.01675, allocations: 26.86 kB / 0.5504 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.525e-05/0.01677, allocations: 11.94 kB / 0.5504 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01677, allocations: 3.938 kB / 0.5504 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.01678, allocations: 0 / 0.5504 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01678, allocations: 4 kB / 0.5504 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01678, allocations: 0 / 0.5504 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.01691, allocations: 143.2 kB / 0.5505 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.01693, allocations: 7.938 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.024e-05/0.01698, allocations: 11.98 kB / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.01702, allocations: 11.97 kB / 0.5506 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.01702, allocations: 8 kB / 0.5506 GB, free: 24.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.681e-05/0.01705, allocations: 42.5 kB / 0.5506 GB, free: 24.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01705, allocations: 0 / 0.5506 GB, free: 24.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001134/0.01716, allocations: 35.94 kB / 0.5506 GB, free: 24 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.21e-05/0.01724, allocations: 88.33 kB / 0.5507 GB, free: 23.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.01737, allocations: 150.1 kB / 0.5509 GB, free: 23.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.01737, allocations: 0 / 0.5509 GB, free: 23.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.742e-05/0.01741, allocations: 44.77 kB / 0.5509 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.01756, allocations: 59.44 kB / 0.551 GB, free: 23.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.01996, allocations: 350.2 kB / 0.5513 GB, free: 23.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.551e-05/0.01999, allocations: 71.78 kB / 0.5514 GB, free: 23.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.007e-05/0.02006, allocations: 17.48 kB / 0.5514 GB, free: 23.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.02016, allocations: 91.34 kB / 0.5515 GB, free: 23.08 MB / 410.7 MB Notification: Performance of SimCode: time 1.292e-06/0.02016, allocations: 0 / 0.5515 GB, free: 23.08 MB / 410.7 MB Notification: Performance of Templates: time 0.003925/0.02408, allocations: 2.747 MB / 0.5542 GB, free: 20.39 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.440262378193438]