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.0008374/0.0008374, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001157/0.001995, 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.0009102/0.0009102, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001224/0.002134, 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.03/1.03, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09427/1.124, allocations: 53.67 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.7499/0.7499, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03363/0.7835, 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.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.503e-06/1.503e-06, allocations: 0 / 0.5447 GB, free: 30.03 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.735e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.03 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid): time 0.00304/0.003068, allocations: 1.96 MB / 0.5466 GB, free: 28.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009529/0.004021, allocations: 0.5769 MB / 0.5472 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.004122, allocations: 0 / 0.5472 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.284e-05/0.004195, allocations: 15.86 kB / 0.5472 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.004484, allocations: 63.53 kB / 0.5473 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.004645, allocations: 63.84 kB / 0.5473 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.004851, allocations: 175.9 kB / 0.5475 GB, free: 27.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.004896, allocations: 5.969 kB / 0.5475 GB, free: 27.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.005066, allocations: 115.8 kB / 0.5476 GB, free: 27.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.005297, allocations: 67.84 kB / 0.5477 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.005324, allocations: 8 kB / 0.5477 GB, free: 26.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.363e-05/0.005348, allocations: 15.94 kB / 0.5477 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.005406, allocations: 27.91 kB / 0.5477 GB, free: 26.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.89e-05/0.005455, allocations: 31.94 kB / 0.5478 GB, free: 26.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.005593, allocations: 71.69 kB / 0.5478 GB, free: 26.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.566e-05/0.005609, allocations: 0 / 0.5478 GB, free: 26.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.00561, allocations: 0 / 0.5478 GB, free: 26.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.00562, 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.0005994/0.006219, allocations: 396.1 kB / 0.5482 GB, free: 26.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.006257, allocations: 15.89 kB / 0.5482 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.006306, allocations: 12.92 kB / 0.5482 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.006466, allocations: 156.5 kB / 0.5484 GB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.006487, allocations: 8.375 kB / 0.5484 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.006512, allocations: 8.375 kB / 0.5484 GB, free: 26.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.006648, allocations: 73.03 kB / 0.5485 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.006658, allocations: 7.875 kB / 0.5485 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.006669, allocations: 0 / 0.5485 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.006677, allocations: 7.938 kB / 0.5485 GB, free: 26.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.771e-05/0.006725, allocations: 23.97 kB / 0.5485 GB, free: 26.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.007018, allocations: 193.9 kB / 0.5487 GB, free: 25.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.007134, allocations: 118.9 kB / 0.5488 GB, free: 25.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/0.00716, allocations: 12.86 kB / 0.5488 GB, free: 25.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.007176, allocations: 7.984 kB / 0.5488 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/0.007293, allocations: 94.17 kB / 0.5489 GB, free: 25.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.714e-06/0.007295, allocations: 0 / 0.5489 GB, free: 25.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001444/0.007439, allocations: 85.66 kB / 0.549 GB, free: 25.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.007461, allocations: 55.41 kB / 0.5491 GB, free: 25.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.995e-05/0.007531, allocations: 154.6 kB / 0.5492 GB, free: 25.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.007544, allocations: 29.7 kB / 0.5492 GB, free: 25.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.007573, allocations: 96.08 kB / 0.5493 GB, free: 25.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.007594, allocations: 43.61 kB / 0.5494 GB, free: 25.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.007644, allocations: 41.64 kB / 0.5494 GB, free: 25.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.874e-05/0.007682, allocations: 330.8 kB / 0.5497 GB, free: 24.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.67e-05/0.007719, allocations: 44.53 kB / 0.5498 GB, free: 24.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.506e-05/0.007774, allocations: 158.1 kB / 0.5499 GB, free: 24.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.176e-05/0.007836, allocations: 79.16 kB / 0.55 GB, free: 24.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.00784, allocations: 11.12 kB / 0.55 GB, free: 24.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.952e-05/0.007939, allocations: 151.8 kB / 0.5501 GB, free: 24.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.00797, allocations: 33.7 kB / 0.5502 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.007975, allocations: 0 / 0.5502 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.007989, allocations: 0 / 0.5502 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.008104, allocations: 27.98 kB / 0.5502 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.008107, allocations: 4 kB / 0.5502 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.516e-05/0.008173, allocations: 15.98 kB / 0.5502 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.00818, allocations: 0 / 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.074e-05/0.008231, allocations: 132.8 kB / 0.5503 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.008246, allocations: 15.94 kB / 0.5504 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.008351, allocations: 98.86 kB / 0.5505 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.008352, allocations: 0 / 0.5505 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.008353, allocations: 0 / 0.5505 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.008357, allocations: 7.984 kB / 0.5505 GB, free: 23.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.352e-05/0.008431, allocations: 97.75 kB / 0.5506 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.008433, allocations: 0 / 0.5506 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.247e-05/0.008515, allocations: 23.98 kB / 0.5506 GB, free: 23.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.509e-05/0.00853, allocations: 11.89 kB / 0.5506 GB, free: 23.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.008533, allocations: 7.938 kB / 0.5506 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/0.00857, allocations: 4 kB / 0.5506 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.008572, allocations: 4 kB / 0.5506 GB, free: 23.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008573, allocations: 0 / 0.5506 GB, free: 23.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.008716, allocations: 138.8 kB / 0.5507 GB, free: 23.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.008733, allocations: 3.938 kB / 0.5507 GB, free: 23.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.098e-05/0.008784, allocations: 7.984 kB / 0.5507 GB, free: 23.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.008821, allocations: 11.98 kB / 0.5508 GB, free: 23.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.008829, allocations: 11.23 kB / 0.5508 GB, free: 23.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.416e-05/0.008863, allocations: 48.78 kB / 0.5508 GB, free: 23.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008863, allocations: 0 / 0.5508 GB, free: 23.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001116/0.008975, allocations: 32 kB / 0.5508 GB, free: 23.45 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.667e-05/0.009061, allocations: 88.28 kB / 0.5509 GB, free: 23.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.009194, allocations: 156.7 kB / 0.5511 GB, free: 23.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.0092, allocations: 0 / 0.5511 GB, free: 23.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.805e-05/0.009258, allocations: 40.84 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.0002064/0.009465, allocations: 370.5 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.002465/0.01193, allocations: 354.1 kB / 0.5518 GB, free: 22.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.725e-05/0.01196, allocations: 67.84 kB / 0.5519 GB, free: 22.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.904e-05/0.01202, allocations: 25.52 kB / 0.5519 GB, free: 22.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.01212, allocations: 87.34 kB / 0.552 GB, free: 22.14 MB / 410.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01212, allocations: 0 / 0.552 GB, free: 22.14 MB / 410.7 MB Notification: Performance of Templates: time 0.003818/0.01594, allocations: 2.762 MB / 0.5547 GB, free: 19.44 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.200379654765129]