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.0006426/0.0006426, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008875/0.00153, 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.0006854/0.0006854, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008383/0.001524, 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.05/1.05, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1216/1.172, allocations: 53.66 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.8498/0.8498, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04322/0.893, allocations: 21.05 MB / 0.5432 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.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 2.004e-06/2.004e-06, allocations: 3.938 kB / 0.5446 GB, free: 30.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.71e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide): time 0.001936/0.001953, allocations: 1.965 MB / 0.5466 GB, free: 28.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008201/0.002773, allocations: 0.5718 MB / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.711e-05/0.002841, allocations: 3.938 kB / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.859e-05/0.002899, allocations: 15.86 kB / 0.5471 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.003156, allocations: 67.53 kB / 0.5472 GB, free: 27.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.003302, allocations: 67.77 kB / 0.5473 GB, free: 27.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.003493, allocations: 164 kB / 0.5474 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.818e-05/0.003551, allocations: 13.89 kB / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.003719, allocations: 115.8 kB / 0.5476 GB, free: 27.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.003928, allocations: 75.84 kB / 0.5476 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.003957, allocations: 8 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.177e-05/0.003979, allocations: 4 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.57e-05/0.004035, allocations: 27.86 kB / 0.5477 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.988e-05/0.004084, allocations: 27.94 kB / 0.5477 GB, free: 27.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.004215, allocations: 75.7 kB / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.407e-05/0.004229, allocations: 0 / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.004231, allocations: 0 / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.004246, allocations: 0 / 0.5478 GB, free: 27.1 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.0007036/0.00495, allocations: 392.1 kB / 0.5481 GB, free: 26.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.004991, allocations: 11.89 kB / 0.5481 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.00504, allocations: 16.92 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.005215, allocations: 154.8 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.00524, allocations: 4.375 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.005272, allocations: 12.38 kB / 0.5483 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.005419, allocations: 80.95 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.005431, allocations: 3.938 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.005443, allocations: 4 kB / 0.5484 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.00545, allocations: 4 kB / 0.5484 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.663e-05/0.005497, allocations: 23.98 kB / 0.5484 GB, free: 26.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.005822, allocations: 193.9 kB / 0.5486 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.005947, allocations: 122.8 kB / 0.5487 GB, free: 26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.16e-05/0.005979, allocations: 28.84 kB / 0.5488 GB, free: 25.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.005998, allocations: 0 / 0.5488 GB, free: 25.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.006131, allocations: 90.23 kB / 0.5489 GB, free: 25.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.006132, allocations: 0 / 0.5489 GB, free: 25.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001717/0.006304, allocations: 93.58 kB / 0.5489 GB, free: 25.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.006334, allocations: 55.41 kB / 0.549 GB, free: 25.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.915e-05/0.006413, allocations: 146.6 kB / 0.5491 GB, free: 25.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.006426, allocations: 29.7 kB / 0.5492 GB, free: 25.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.006464, allocations: 100.1 kB / 0.5493 GB, free: 25.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.006496, allocations: 47.61 kB / 0.5493 GB, free: 25.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.00654, allocations: 37.66 kB / 0.5493 GB, free: 25.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.855e-05/0.006609, allocations: 326.8 kB / 0.5497 GB, free: 25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.546e-05/0.006674, allocations: 44.52 kB / 0.5497 GB, free: 24.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.584e-05/0.00674, allocations: 158.1 kB / 0.5498 GB, free: 24.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.089e-05/0.006811, allocations: 87.28 kB / 0.5499 GB, free: 24.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.006814, allocations: 0 / 0.5499 GB, free: 24.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001151/0.006929, allocations: 151.8 kB / 0.5501 GB, free: 24.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.006968, allocations: 37.69 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.006974, allocations: 0 / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.006985, allocations: 4 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.007103, allocations: 31.11 kB / 0.5501 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.007108, allocations: 0 / 0.5501 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/0.007176, allocations: 11.98 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.007185, allocations: 12 kB / 0.5502 GB, free: 24.39 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 6.089e-05/0.007246, allocations: 120.6 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.007262, allocations: 15.92 kB / 0.5503 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.007383, allocations: 90.42 kB / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.007386, allocations: 4 kB / 0.5504 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.007388, allocations: 224 / 0.5504 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.007392, allocations: 0 / 0.5504 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.761e-05/0.00747, allocations: 105.7 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.007471, allocations: 0 / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.302e-05/0.007554, allocations: 31.92 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.564e-05/0.00757, allocations: 11.94 kB / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.007572, allocations: 3.938 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.007585, allocations: 8 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.007587, allocations: 0 / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.007589, allocations: 0 / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.00773, allocations: 130.7 kB / 0.5507 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.007749, allocations: 7.938 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.488e-05/0.007794, allocations: 11.98 kB / 0.5507 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.007841, allocations: 20 kB / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.007847, allocations: 0 / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.994e-05/0.007876, allocations: 42.45 kB / 0.5507 GB, free: 23.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007877, allocations: 0 / 0.5507 GB, free: 23.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001088/0.007985, allocations: 32 kB / 0.5508 GB, free: 23.71 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 7.661e-05/0.008062, allocations: 84.36 kB / 0.5509 GB, free: 23.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.0082, allocations: 154.6 kB / 0.551 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.008206, allocations: 4 kB / 0.551 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.346e-05/0.00826, allocations: 44.77 kB / 0.5511 GB, free: 23.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.008416, allocations: 57.69 kB / 0.5511 GB, free: 23.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.01092, allocations: 350.2 kB / 0.5514 GB, free: 22.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.404e-05/0.01095, allocations: 67.84 kB / 0.5515 GB, free: 22.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.554e-05/0.01102, allocations: 21.52 kB / 0.5515 GB, free: 22.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.01113, allocations: 87.34 kB / 0.5516 GB, free: 22.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.893e-06/0.01113, allocations: 0 / 0.5516 GB, free: 22.79 MB / 410.7 MB Notification: Performance of Templates: time 0.004862/0.01599, allocations: 2.752 MB / 0.5543 GB, free: 20.11 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.683103988878429]