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.0007992/0.0007992, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001084/0.001883, 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.0007153/0.0007153, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008845/0.0016, 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.033/1.033, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.105/1.138, allocations: 53.66 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.7992/0.7992, allocations: 291.2 MB / 0.5226 GB, free: 52.48 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03869/0.8379, allocations: 21.04 MB / 0.5432 GB, free: 31.5 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.463e-06/1.463e-06, allocations: 0 / 0.5445 GB, free: 30.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.619e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide): time 0.001792/0.001809, allocations: 1.967 MB / 0.5465 GB, free: 28.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006293/0.002438, allocations: 0.568 MB / 0.547 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.764e-05/0.002485, allocations: 0 / 0.547 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.138e-05/0.002537, allocations: 11.86 kB / 0.547 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.002751, allocations: 75.47 kB / 0.5471 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.002871, allocations: 63.78 kB / 0.5472 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.003044, allocations: 172 kB / 0.5473 GB, free: 27.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.003e-05/0.003094, allocations: 9.969 kB / 0.5473 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.00324, allocations: 111.7 kB / 0.5474 GB, free: 27.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.003423, allocations: 79.77 kB / 0.5475 GB, free: 27.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.003445, allocations: 8 kB / 0.5475 GB, free: 27.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.826e-05/0.003463, allocations: 4 kB / 0.5475 GB, free: 27.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.497e-05/0.003508, allocations: 27.92 kB / 0.5476 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.003551, allocations: 27.94 kB / 0.5476 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.003662, allocations: 75.75 kB / 0.5477 GB, free: 26.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.662e-05/0.003678, allocations: 3.938 kB / 0.5477 GB, free: 26.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.003679, allocations: 0 / 0.5477 GB, free: 26.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.003696, allocations: 4 kB / 0.5477 GB, free: 26.87 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.0005167/0.004213, allocations: 388.1 kB / 0.548 GB, free: 26.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.00424, allocations: 11.89 kB / 0.548 GB, free: 26.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.004277, allocations: 12.92 kB / 0.5481 GB, free: 26.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.004406, allocations: 162.8 kB / 0.5482 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.004422, allocations: 4.375 kB / 0.5482 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.004446, allocations: 12.38 kB / 0.5482 GB, free: 26.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.004576, allocations: 81.03 kB / 0.5483 GB, free: 26.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.004587, allocations: 7.922 kB / 0.5483 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.004596, allocations: 0 / 0.5483 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.004601, allocations: 0 / 0.5483 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.906e-05/0.00465, allocations: 23.98 kB / 0.5483 GB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.00494, allocations: 193.8 kB / 0.5485 GB, free: 25.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.005081, allocations: 114.9 kB / 0.5486 GB, free: 25.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.005113, allocations: 28.84 kB / 0.5487 GB, free: 25.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.00513, allocations: 0 / 0.5487 GB, free: 25.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.005269, allocations: 90.23 kB / 0.5487 GB, free: 25.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.00527, allocations: 0 / 0.5487 GB, free: 25.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001723/0.005443, allocations: 89.59 kB / 0.5488 GB, free: 25.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.005478, allocations: 55.41 kB / 0.5489 GB, free: 25.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.169e-05/0.005559, allocations: 150.6 kB / 0.549 GB, free: 25.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.005576, allocations: 29.7 kB / 0.5491 GB, free: 25.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.005614, allocations: 96.28 kB / 0.5491 GB, free: 25.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.00564, allocations: 43.62 kB / 0.5492 GB, free: 25.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.005684, allocations: 49.56 kB / 0.5492 GB, free: 25.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.877e-05/0.005733, allocations: 330.8 kB / 0.5496 GB, free: 24.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.155e-05/0.005774, allocations: 44.53 kB / 0.5496 GB, free: 24.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.444e-05/0.005839, allocations: 161.2 kB / 0.5497 GB, free: 24.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.898e-05/0.005908, allocations: 87.48 kB / 0.5498 GB, free: 24.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.00591, allocations: 0 / 0.5498 GB, free: 24.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001088/0.006019, allocations: 147.8 kB / 0.55 GB, free: 24.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.00605, allocations: 32.83 kB / 0.55 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.006055, allocations: 0 / 0.55 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.006064, allocations: 0 / 0.55 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.006179, allocations: 39.92 kB / 0.55 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.006183, allocations: 7.984 kB / 0.5501 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.458e-05/0.006247, allocations: 8 kB / 0.5501 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.006257, allocations: 8 kB / 0.5501 GB, free: 24.18 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.208e-05/0.006309, allocations: 124.6 kB / 0.5502 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.00632, allocations: 11.94 kB / 0.5502 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.006428, allocations: 94.36 kB / 0.5503 GB, free: 23.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.00643, allocations: 4 kB / 0.5503 GB, free: 23.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.006434, allocations: 3.984 kB / 0.5503 GB, free: 23.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.006439, allocations: 0 / 0.5503 GB, free: 23.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.656e-05/0.006515, allocations: 105.8 kB / 0.5504 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.006517, allocations: 0 / 0.5504 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.156e-05/0.006598, allocations: 23.98 kB / 0.5504 GB, free: 23.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.006612, allocations: 7.953 kB / 0.5504 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.006614, allocations: 3.938 kB / 0.5504 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.006626, allocations: 4 kB / 0.5504 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.006627, allocations: 0 / 0.5504 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.006628, allocations: 0 / 0.5504 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.006758, allocations: 139.2 kB / 0.5506 GB, free: 23.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.006776, allocations: 3.969 kB / 0.5506 GB, free: 23.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.806e-05/0.006824, allocations: 19.98 kB / 0.5506 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.006863, allocations: 7.984 kB / 0.5506 GB, free: 23.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.006871, allocations: 11.36 kB / 0.5506 GB, free: 23.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.25e-05/0.006903, allocations: 38.52 kB / 0.5506 GB, free: 23.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006903, allocations: 0 / 0.5506 GB, free: 23.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001102/0.007013, allocations: 32 kB / 0.5507 GB, free: 23.5 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 9.057e-05/0.007104, allocations: 92.28 kB / 0.5508 GB, free: 23.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.00724, allocations: 158 kB / 0.5509 GB, free: 23.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.007247, allocations: 4 kB / 0.5509 GB, free: 23.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.193e-05/0.007289, allocations: 36.78 kB / 0.551 GB, free: 23.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.007456, allocations: 46.47 kB / 0.551 GB, free: 23.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.01001, allocations: 358.2 kB / 0.5513 GB, free: 22.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.976e-05/0.01004, allocations: 71.83 kB / 0.5514 GB, free: 22.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.937e-05/0.0101, allocations: 17.52 kB / 0.5514 GB, free: 22.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.941e-05/0.01019, allocations: 91.34 kB / 0.5515 GB, free: 22.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.0102, allocations: 0 / 0.5515 GB, free: 22.57 MB / 410.7 MB Notification: Performance of Templates: time 0.003936/0.01413, allocations: 2.743 MB / 0.5542 GB, free: 19.89 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.489695859141648]