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.0007755/0.0007755, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001003/0.001778, 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.0007242/0.0007242, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009373/0.001662, 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.044/1.044, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.102/1.146, allocations: 53.67 MB / 243.3 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.7693/0.7693, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03096/0.8002, 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.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 2.966e-06/2.966e-06, allocations: 4 kB / 0.5446 GB, free: 30.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.332e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid): time 0.002863/0.002887, allocations: 1.959 MB / 0.5466 GB, free: 28.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009844/0.003871, allocations: 0.5757 MB / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.725e-05/0.003938, allocations: 0 / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.673e-05/0.004005, allocations: 11.86 kB / 0.5471 GB, free: 27.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.004311, allocations: 67.48 kB / 0.5472 GB, free: 27.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.004522, allocations: 67.77 kB / 0.5473 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.004772, allocations: 172 kB / 0.5474 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.521e-05/0.004827, allocations: 5.969 kB / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.005038, allocations: 111.8 kB / 0.5475 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.005286, allocations: 79.78 kB / 0.5476 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.005317, allocations: 4 kB / 0.5476 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.731e-05/0.005344, allocations: 8 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002305/0.007649, allocations: 23.92 kB / 0.5477 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.007756, allocations: 27.94 kB / 0.5477 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.007914, allocations: 83.61 kB / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.43e-05/0.007928, allocations: 4 kB / 0.5478 GB, free: 27.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.00793, allocations: 0 / 0.5478 GB, free: 27.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.007946, allocations: 0 / 0.5478 GB, free: 27.09 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.0005854/0.008531, allocations: 388.1 kB / 0.5481 GB, free: 26.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.008561, allocations: 15.89 kB / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.008596, allocations: 16.92 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.008734, allocations: 150.8 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.008753, allocations: 8.312 kB / 0.5483 GB, free: 26.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.008781, allocations: 12.36 kB / 0.5483 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.008915, allocations: 73.03 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.008925, allocations: 7.938 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.008935, allocations: 11.98 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.00894, allocations: 0 / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.068e-05/0.008981, allocations: 19.98 kB / 0.5484 GB, free: 26.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/0.009278, allocations: 193.9 kB / 0.5486 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.009409, allocations: 118.9 kB / 0.5487 GB, free: 26.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.009441, allocations: 24.86 kB / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.009462, allocations: 0 / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.009603, allocations: 90.23 kB / 0.5488 GB, free: 25.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.009604, allocations: 4 kB / 0.5488 GB, free: 25.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.000175/0.009779, allocations: 85.59 kB / 0.5489 GB, free: 25.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.009814, allocations: 59.41 kB / 0.549 GB, free: 25.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.534e-05/0.009899, allocations: 146.6 kB / 0.5491 GB, free: 25.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.009916, allocations: 33.92 kB / 0.5492 GB, free: 25.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.009954, allocations: 92.08 kB / 0.5492 GB, free: 25.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.009984, allocations: 47.55 kB / 0.5493 GB, free: 25.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.01004, allocations: 49.62 kB / 0.5493 GB, free: 25.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.696e-05/0.01008, allocations: 326.8 kB / 0.5497 GB, free: 25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.181e-05/0.01012, allocations: 40.53 kB / 0.5497 GB, free: 24.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.456e-05/0.01019, allocations: 164.9 kB / 0.5498 GB, free: 24.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.076e-05/0.01026, allocations: 80.19 kB / 0.5499 GB, free: 24.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.01026, allocations: 3.984 kB / 0.5499 GB, free: 24.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.966e-05/0.01036, allocations: 150.6 kB / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.01039, allocations: 33.7 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.0104, allocations: 0 / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.01041, allocations: 0 / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.01052, allocations: 35.61 kB / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.01052, allocations: 0 / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.354e-05/0.01058, allocations: 19.98 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.01059, allocations: 4 kB / 0.5502 GB, free: 24.4 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.108e-05/0.01064, allocations: 124.6 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.01065, allocations: 7.938 kB / 0.5503 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.01076, allocations: 98.41 kB / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01076, allocations: 0 / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.01077, allocations: 4 kB / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.01077, allocations: 3.984 kB / 0.5504 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.896e-05/0.01084, allocations: 97.77 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01084, allocations: 4 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.967e-05/0.01091, allocations: 27.92 kB / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.579e-05/0.01093, allocations: 7.953 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.01093, allocations: 3.938 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.01094, allocations: 4 kB / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.01094, allocations: 4 kB / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01094, allocations: 0 / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.01107, allocations: 139.3 kB / 0.5507 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.01109, allocations: 7.938 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.46e-05/0.01113, allocations: 15.95 kB / 0.5507 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.01118, allocations: 15.98 kB / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.01118, allocations: 3.984 kB / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.695e-05/0.01121, allocations: 39.94 kB / 0.5507 GB, free: 23.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01121, allocations: 0 / 0.5507 GB, free: 23.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001087/0.01132, allocations: 35.94 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 9.466e-05/0.01141, allocations: 92.38 kB / 0.5509 GB, free: 23.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001188/0.01153, allocations: 149.9 kB / 0.551 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.01154, allocations: 0 / 0.551 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.208e-05/0.01159, allocations: 52.72 kB / 0.5511 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.01173, allocations: 53.14 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.002478/0.01421, allocations: 342.2 kB / 0.5514 GB, free: 22.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.591e-05/0.01424, allocations: 75.83 kB / 0.5515 GB, free: 22.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.498e-05/0.0143, allocations: 13.48 kB / 0.5515 GB, free: 22.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.01441, allocations: 87.34 kB / 0.5516 GB, free: 22.79 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01441, allocations: 3.938 kB / 0.5516 GB, free: 22.79 MB / 410.7 MB Notification: Performance of Templates: time 0.003667/0.01807, allocations: 2.739 MB / 0.5543 GB, free: 20.11 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.4074235036969185]