Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.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.0006335/0.0006335, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009477/0.001581, allocations: 440 kB / 10.41 MB, free: 284 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.0006915/0.0006915, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.001732, allocations: 475.6 kB / 11.79 MB, free: 2.375 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/1, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09021/1.09, allocations: 53.66 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.8176/0.8176, allocations: 291.1 MB / 0.5228 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03171/0.8493, allocations: 21.04 MB / 0.5433 GB, free: 31.49 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.NickelSulfate.NickelSulfate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5447 GB, free: 30.04 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.447e-05, allocations: 6.25 kB / 0.5447 GB, free: 30.04 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate): time 0.003109/0.003134, allocations: 1.96 MB / 0.5466 GB, free: 28.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009791/0.004113, allocations: 0.5691 MB / 0.5472 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.441e-05/0.004177, allocations: 0 / 0.5472 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.564e-05/0.004243, allocations: 11.86 kB / 0.5472 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002859/0.004529, allocations: 79.47 kB / 0.5473 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.004729, allocations: 59.83 kB / 0.5473 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.004946, allocations: 168 kB / 0.5475 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.004989, allocations: 9.953 kB / 0.5475 GB, free: 27.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.005196, allocations: 119.7 kB / 0.5476 GB, free: 27.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.005451, allocations: 71.84 kB / 0.5477 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.005484, allocations: 8 kB / 0.5477 GB, free: 26.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.8e-05/0.005512, allocations: 8 kB / 0.5477 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.895e-05/0.005571, allocations: 27.86 kB / 0.5477 GB, free: 26.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.938e-05/0.00563, allocations: 27.94 kB / 0.5478 GB, free: 26.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.005775, allocations: 83.67 kB / 0.5478 GB, free: 26.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/0.005787, allocations: 0 / 0.5478 GB, free: 26.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005788, allocations: 0 / 0.5478 GB, free: 26.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.005797, allocations: 0 / 0.5478 GB, free: 26.83 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.0005174/0.006315, allocations: 388.2 kB / 0.5482 GB, free: 26.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.006344, allocations: 11.89 kB / 0.5482 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.006383, allocations: 12.92 kB / 0.5482 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.00651, allocations: 160.5 kB / 0.5484 GB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.006524, allocations: 4.375 kB / 0.5484 GB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.006548, allocations: 15.81 kB / 0.5484 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.006674, allocations: 77.02 kB / 0.5485 GB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.006681, allocations: 7.875 kB / 0.5485 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.006689, allocations: 4 kB / 0.5485 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.006694, allocations: 4 kB / 0.5485 GB, free: 26.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.991e-05/0.006734, allocations: 19.98 kB / 0.5485 GB, free: 26.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.00697, allocations: 193.9 kB / 0.5487 GB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.007072, allocations: 114.9 kB / 0.5488 GB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.618e-05/0.007099, allocations: 28.83 kB / 0.5488 GB, free: 25.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.007113, allocations: 7.938 kB / 0.5488 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001052/0.007219, allocations: 86.22 kB / 0.5489 GB, free: 25.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.00722, allocations: 4 kB / 0.5489 GB, free: 25.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001363/0.007356, allocations: 89.66 kB / 0.549 GB, free: 25.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.941e-05/0.007376, allocations: 51.41 kB / 0.5491 GB, free: 25.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.036e-05/0.007436, allocations: 154.6 kB / 0.5492 GB, free: 25.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.007448, allocations: 29.69 kB / 0.5492 GB, free: 25.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.795e-05/0.007476, allocations: 96.08 kB / 0.5493 GB, free: 25.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.007495, allocations: 43.61 kB / 0.5494 GB, free: 25.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.007545, allocations: 41.64 kB / 0.5494 GB, free: 25.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.458e-05/0.00758, allocations: 322.8 kB / 0.5497 GB, free: 24.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.676e-05/0.007616, allocations: 44.52 kB / 0.5498 GB, free: 24.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.071e-05/0.007667, allocations: 168.9 kB / 0.5499 GB, free: 24.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.908e-05/0.007726, allocations: 80.17 kB / 0.55 GB, free: 24.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.007728, allocations: 0 / 0.55 GB, free: 24.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.303e-05/0.007821, allocations: 158.2 kB / 0.5502 GB, free: 24.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.007846, allocations: 33.7 kB / 0.5502 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.00785, allocations: 0 / 0.5502 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.00786, allocations: 0 / 0.5502 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.007967, allocations: 31.98 kB / 0.5502 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.007971, allocations: 0 / 0.5502 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.91e-05/0.00804, allocations: 15.98 kB / 0.5502 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.008051, allocations: 6.969 kB / 0.5502 GB, free: 24.14 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.864e-05/0.00811, allocations: 124.6 kB / 0.5504 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.008126, allocations: 15.92 kB / 0.5504 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.008234, allocations: 94.42 kB / 0.5505 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.008236, allocations: 0 / 0.5505 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.008237, allocations: 0 / 0.5505 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.008241, allocations: 0 / 0.5505 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.204e-05/0.008313, allocations: 101.8 kB / 0.5506 GB, free: 23.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.008314, allocations: 8.203 kB / 0.5506 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.871e-05/0.008393, allocations: 23.94 kB / 0.5506 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.008408, allocations: 19.88 kB / 0.5506 GB, free: 23.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.00841, allocations: 3.938 kB / 0.5506 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.008422, allocations: 3.438 kB / 0.5506 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.008423, allocations: 0 / 0.5506 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008424, allocations: 0 / 0.5506 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.008558, allocations: 135.3 kB / 0.5507 GB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.008576, allocations: 11.92 kB / 0.5508 GB, free: 23.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.888e-05/0.008625, allocations: 8 kB / 0.5508 GB, free: 23.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.00866, allocations: 16 kB / 0.5508 GB, free: 23.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.008667, allocations: 8 kB / 0.5508 GB, free: 23.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.086e-05/0.008698, allocations: 36.75 kB / 0.5508 GB, free: 23.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008698, allocations: 4 kB / 0.5508 GB, free: 23.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000111/0.008809, allocations: 28 kB / 0.5508 GB, free: 23.46 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.483e-05/0.008894, allocations: 96.28 kB / 0.5509 GB, free: 23.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.009012, allocations: 141.9 kB / 0.5511 GB, free: 23.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.009018, allocations: 8 kB / 0.5511 GB, free: 23.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.889e-05/0.009067, allocations: 48.91 kB / 0.5511 GB, free: 23.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.009253, allocations: 364.4 kB / 0.5515 GB, free: 22.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.01166, allocations: 358.1 kB / 0.5518 GB, free: 22.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.212e-05/0.01168, allocations: 71.84 kB / 0.5519 GB, free: 22.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.005e-05/0.01174, allocations: 17.52 kB / 0.5519 GB, free: 22.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.01185, allocations: 91.36 kB / 0.552 GB, free: 22.14 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01185, allocations: 4 kB / 0.552 GB, free: 22.13 MB / 410.7 MB Notification: Performance of Templates: time 0.003741/0.01559, allocations: 2.756 MB / 0.5547 GB, free: 19.44 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.444658395834267]