Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.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.0006628/0.0006628, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008997/0.001563, 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.0007215/0.0007215, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008883/0.00161, 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.021/1.021, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1105/1.131, 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.7282/0.7282, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02642/0.7547, allocations: 21.05 MB / 0.5432 GB, free: 31.95 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.SelenicAcid.SelenicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18e-05/1.349e-05, allocations: 10.31 kB / 0.5445 GB, free: 30.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid): time 0.002412/0.002426, allocations: 1.953 MB / 0.5465 GB, free: 28.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007979/0.003223, allocations: 0.5796 MB / 0.547 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.261e-05/0.003286, allocations: 4 kB / 0.547 GB, free: 27.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.588e-05/0.003342, allocations: 15.84 kB / 0.547 GB, free: 27.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.0036, allocations: 67.48 kB / 0.5471 GB, free: 27.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.003773, allocations: 63.83 kB / 0.5472 GB, free: 27.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.003977, allocations: 164 kB / 0.5473 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.004019, allocations: 9.953 kB / 0.5473 GB, free: 27.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.004188, allocations: 115.8 kB / 0.5474 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.004387, allocations: 75.77 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.004412, allocations: 8 kB / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.343e-05/0.004436, allocations: 8 kB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.981e-05/0.004486, allocations: 19.94 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.004541, allocations: 31.94 kB / 0.5476 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.004679, allocations: 87.61 kB / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.518e-05/0.004694, allocations: 0 / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.004695, allocations: 0 / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.004712, 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.0006524/0.005365, allocations: 384.2 kB / 0.548 GB, free: 26.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.005402, allocations: 11.89 kB / 0.548 GB, free: 26.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.005453, allocations: 12.92 kB / 0.5481 GB, free: 26.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.005624, allocations: 165.8 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.005647, allocations: 8.375 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.005674, allocations: 8.375 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.005838, allocations: 81.02 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.005848, allocations: 7.875 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.005858, allocations: 0 / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.005866, allocations: 4 kB / 0.5483 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.608e-05/0.005933, allocations: 15.98 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.006239, allocations: 193.9 kB / 0.5485 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.006383, allocations: 122.9 kB / 0.5486 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.006422, allocations: 20.84 kB / 0.5487 GB, free: 26.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.00644, allocations: 4 kB / 0.5487 GB, free: 26.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.006583, allocations: 94.17 kB / 0.5487 GB, free: 26.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.006584, allocations: 0 / 0.5487 GB, free: 26.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001805/0.006765, allocations: 89.64 kB / 0.5488 GB, free: 26.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.006793, allocations: 51.62 kB / 0.5489 GB, free: 25.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.624e-05/0.006889, allocations: 154.6 kB / 0.549 GB, free: 25.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.006905, allocations: 33.64 kB / 0.5491 GB, free: 25.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.006939, allocations: 104.1 kB / 0.5492 GB, free: 25.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.006972, allocations: 43.61 kB / 0.5492 GB, free: 25.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/0.007026, allocations: 41.64 kB / 0.5492 GB, free: 25.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.485e-05/0.00706, allocations: 322.8 kB / 0.5495 GB, free: 25.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.766e-05/0.007108, allocations: 44.52 kB / 0.5496 GB, free: 25.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.901e-05/0.007177, allocations: 162.1 kB / 0.5497 GB, free: 24.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.104e-05/0.007258, allocations: 86.03 kB / 0.5498 GB, free: 24.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.00726, allocations: 0 / 0.5498 GB, free: 24.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001343/0.007394, allocations: 151.8 kB / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.007423, allocations: 37.7 kB / 0.55 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.007428, allocations: 0 / 0.55 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.007438, allocations: 0 / 0.55 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.007575, allocations: 31.97 kB / 0.55 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.007578, allocations: 0 / 0.55 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.945e-05/0.007678, allocations: 16 kB / 0.5501 GB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.007688, allocations: 3.984 kB / 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 6.247e-05/0.007751, allocations: 120.6 kB / 0.5502 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.007776, allocations: 19.92 kB / 0.5502 GB, free: 24.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.007915, allocations: 98.42 kB / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007917, allocations: 0 / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.007919, allocations: 0 / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.007923, allocations: 0 / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.38e-05/0.008017, allocations: 101.8 kB / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.008018, allocations: 0 / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.008131, allocations: 27.98 kB / 0.5504 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.008149, allocations: 11.89 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.008152, allocations: 3.938 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.008166, allocations: 3.984 kB / 0.5504 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.008168, allocations: 0 / 0.5504 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008169, allocations: 4 kB / 0.5504 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.008338, allocations: 135.3 kB / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.008363, allocations: 7.938 kB / 0.5506 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.008435, allocations: 11.98 kB / 0.5506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.008478, allocations: 11.97 kB / 0.5506 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.00849, allocations: 7.375 kB / 0.5506 GB, free: 24.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.515e-05/0.008525, allocations: 42.45 kB / 0.5506 GB, free: 23.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008525, allocations: 4 kB / 0.5506 GB, free: 23.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001893/0.008714, allocations: 28 kB / 0.5507 GB, free: 23.96 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.461e-05/0.008789, allocations: 96.31 kB / 0.5508 GB, free: 23.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.008945, allocations: 149 kB / 0.5509 GB, free: 23.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.008951, allocations: 4 kB / 0.5509 GB, free: 23.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.618e-05/0.009007, allocations: 36.78 kB / 0.5509 GB, free: 23.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.009197, allocations: 58.45 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.003885/0.01308, allocations: 354.1 kB / 0.5513 GB, free: 23.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.11e-05/0.01311, allocations: 67.84 kB / 0.5514 GB, free: 23.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.954e-05/0.01319, allocations: 21.52 kB / 0.5514 GB, free: 23.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.01333, allocations: 95.28 kB / 0.5515 GB, free: 23.02 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01333, allocations: 0 / 0.5515 GB, free: 23.02 MB / 410.7 MB Notification: Performance of Templates: time 0.004884/0.01821, allocations: 2.736 MB / 0.5542 GB, free: 20.35 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3812823304906487]