Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi.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.0008419/0.0008419, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001175/0.002017, 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.0008075/0.0008075, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001726/0.002534, 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.04/1.04, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09637/1.137, allocations: 53.67 MB / 243.3 MB, free: 15.55 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.7533/0.7533, allocations: 291.2 MB / 0.5227 GB, free: 52.69 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03564/0.789, allocations: 21.04 MB / 0.5433 GB, free: 31.71 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_Lanctt2017_sevi,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.5446 GB, free: 30.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.455e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi): time 0.00275/0.002775, allocations: 1.938 MB / 0.5465 GB, free: 28.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009058/0.003681, allocations: 0.5755 MB / 0.5471 GB, free: 27.78 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.944e-05/0.00375, allocations: 7.938 kB / 0.5471 GB, free: 27.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.664e-05/0.003807, allocations: 7.922 kB / 0.5471 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.004081, allocations: 75.41 kB / 0.5472 GB, free: 27.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.004284, allocations: 63.83 kB / 0.5473 GB, free: 27.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.004519, allocations: 164 kB / 0.5474 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.004568, allocations: 9.953 kB / 0.5474 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.004748, allocations: 119.7 kB / 0.5475 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.004969, allocations: 75.77 kB / 0.5476 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.004998, allocations: 8 kB / 0.5476 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.578e-05/0.005024, allocations: 8 kB / 0.5476 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.035e-05/0.005074, allocations: 19.92 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.666e-05/0.005131, allocations: 31.94 kB / 0.5477 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.005269, allocations: 67.77 kB / 0.5477 GB, free: 27.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.748e-05/0.005287, allocations: 3.938 kB / 0.5477 GB, free: 27.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.005289, allocations: 0 / 0.5477 GB, free: 27.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.005304, allocations: 0 / 0.5477 GB, free: 27.12 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.0006382/0.005942, allocations: 392.1 kB / 0.5481 GB, free: 26.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.005974, allocations: 8.031 kB / 0.5481 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.006017, allocations: 16.92 kB / 0.5481 GB, free: 26.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.006184, allocations: 158.8 kB / 0.5483 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.006208, allocations: 4.375 kB / 0.5483 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.006237, allocations: 12.38 kB / 0.5483 GB, free: 26.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.006402, allocations: 73.02 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.006413, allocations: 7.938 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.006423, allocations: 4 kB / 0.5484 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.00643, allocations: 4 kB / 0.5484 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.292e-05/0.006483, allocations: 19.98 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.006805, allocations: 201.8 kB / 0.5486 GB, free: 26.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.006936, allocations: 114.9 kB / 0.5487 GB, free: 26.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.006972, allocations: 20.84 kB / 0.5487 GB, free: 26.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.006994, allocations: 4 kB / 0.5487 GB, free: 26.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/0.007132, allocations: 94.23 kB / 0.5488 GB, free: 25.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.823e-06/0.007134, allocations: 0 / 0.5488 GB, free: 25.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001868/0.00732, allocations: 85.59 kB / 0.5489 GB, free: 25.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.00735, allocations: 59.39 kB / 0.549 GB, free: 25.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.923e-05/0.007439, allocations: 146.6 kB / 0.5491 GB, free: 25.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.007456, allocations: 29.7 kB / 0.5491 GB, free: 25.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/0.007492, allocations: 100.3 kB / 0.5492 GB, free: 25.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.007523, allocations: 39.62 kB / 0.5493 GB, free: 25.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/0.007576, allocations: 45.58 kB / 0.5493 GB, free: 25.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.845e-05/0.007614, allocations: 326.8 kB / 0.5496 GB, free: 25.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.613e-05/0.00766, allocations: 52.52 kB / 0.5497 GB, free: 24.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.046e-05/0.007731, allocations: 158.1 kB / 0.5498 GB, free: 24.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.298e-05/0.007814, allocations: 87.12 kB / 0.5499 GB, free: 24.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.007816, allocations: 0 / 0.5499 GB, free: 24.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001338/0.00795, allocations: 147.8 kB / 0.55 GB, free: 24.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.007984, allocations: 37.69 kB / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.007989, allocations: 0 / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.007999, allocations: 4.031 kB / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.008139, allocations: 31.92 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.008142, allocations: 4 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.901e-05/0.008231, allocations: 23.36 kB / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.008242, allocations: 0 / 0.5501 GB, free: 24.43 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.225e-05/0.008304, allocations: 120.6 kB / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.008325, allocations: 15.92 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.008465, allocations: 98.36 kB / 0.5504 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.008467, allocations: 0 / 0.5504 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.008469, allocations: 0 / 0.5504 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.008474, allocations: 0 / 0.5504 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.641e-05/0.00857, allocations: 109.8 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.008572, allocations: 0 / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.008681, allocations: 23.98 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.008701, allocations: 11.94 kB / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.008706, allocations: 3.938 kB / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.008721, allocations: 4 kB / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.008723, allocations: 0 / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.008725, allocations: 0 / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.008893, allocations: 134.6 kB / 0.5506 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.008917, allocations: 11.94 kB / 0.5506 GB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.681e-05/0.008983, allocations: 12.02 kB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.009032, allocations: 15.97 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.009041, allocations: 4 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.248e-05/0.009084, allocations: 46.5 kB / 0.5507 GB, free: 23.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009084, allocations: 0 / 0.5507 GB, free: 23.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001698/0.009254, allocations: 24 kB / 0.5507 GB, free: 23.75 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 0.0001073/0.009361, allocations: 92.3 kB / 0.5508 GB, free: 23.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.009516, allocations: 154.6 kB / 0.551 GB, free: 23.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.009523, allocations: 4 kB / 0.551 GB, free: 23.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.006e-05/0.009593, allocations: 52.77 kB / 0.551 GB, free: 23.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.009785, allocations: 54.86 kB / 0.5511 GB, free: 23.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/0.01324, allocations: 342.2 kB / 0.5514 GB, free: 23.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.366e-05/0.01327, allocations: 71.84 kB / 0.5515 GB, free: 22.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.005e-05/0.01336, allocations: 13.48 kB / 0.5515 GB, free: 22.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.01349, allocations: 87.34 kB / 0.5516 GB, free: 22.82 MB / 410.7 MB Notification: Performance of SimCode: time 1.243e-06/0.01349, allocations: 7.938 kB / 0.5516 GB, free: 22.81 MB / 410.7 MB Notification: Performance of Templates: time 0.005025/0.01851, allocations: 2.749 MB / 0.5543 GB, free: 20.13 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.442389610223472]