Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.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.004429/0.004429, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.002614/0.002614, allocations: 218.4 kB / 22.25 MB, free: 3.578 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.783/1.783, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] 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 1.453/1.453, allocations: 316.7 MB / 0.6144 GB, free: 93.23 MB / 410.7 MB " [Timeout remaining time 178] 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.LArginine.LArginine_Wang2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003986/0.003986, allocations: 78 kB / 0.775 GB, free: 14.93 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.2, allocations: 73.99 MB / 0.8472 GB, free: 5.086 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference): time 0.004462/0.2045, allocations: 2.33 MB / 0.8495 GB, free: 2.754 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.2058, allocations: 0.5916 MB / 0.8501 GB, free: 2.168 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.206, allocations: 3.938 kB / 0.8501 GB, free: 2.164 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.2061, allocations: 28.44 kB / 0.8501 GB, free: 2.137 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.2063, allocations: 72.03 kB / 0.8502 GB, free: 2.066 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.2066, allocations: 53.06 kB / 0.8502 GB, free: 2.016 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.2069, allocations: 262.7 kB / 0.8505 GB, free: 1.758 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.2071, allocations: 33.17 kB / 0.8505 GB, free: 1.727 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.2073, allocations: 95.64 kB / 0.8506 GB, free: 1.633 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.2075, allocations: 100.1 kB / 0.8507 GB, free: 1.535 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.2076, allocations: 16.75 kB / 0.8507 GB, free: 1.52 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.4e-05/0.2076, allocations: 16 kB / 0.8507 GB, free: 1.504 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.166e-05/0.2077, allocations: 36.47 kB / 0.8508 GB, free: 1.469 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.2078, allocations: 95.58 kB / 0.8509 GB, free: 1.375 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.2081, allocations: 199.8 kB / 0.851 GB, free: 1.18 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2081, allocations: 0.5938 kB / 0.851 GB, free: 1.18 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.003e-06/0.2081, allocations: 0 / 0.851 GB, free: 1.18 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.2081, allocations: 4.438 kB / 0.851 GB, free: 1.176 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001035/0.2091, allocations: 499.1 kB / 0.8515 GB, free: 0.6445 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2092, allocations: 11.89 kB / 0.8515 GB, free: 0.6328 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.865e-05/0.2093, allocations: 28.78 kB / 0.8516 GB, free: 0.6055 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.2096, allocations: 180.2 kB / 0.8517 GB, free: 412 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.2096, allocations: 12.61 kB / 0.8517 GB, free: 400 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/0.2096, allocations: 23.88 kB / 0.8518 GB, free: 376 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004176/0.2101, allocations: 196.1 kB / 0.852 GB, free: 168 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.2101, allocations: 0 / 0.852 GB, free: 168 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.2101, allocations: 4 kB / 0.852 GB, free: 164 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.2101, allocations: 4 kB / 0.852 GB, free: 160 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003857/0.2105, allocations: 147.6 kB / 0.8521 GB, free: 8 kB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009246/0.2114, allocations: 494.4 kB / 0.8526 GB, free: 15.49 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.2119, allocations: 169.6 kB / 0.8527 GB, free: 15.32 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.2121, allocations: 98.52 kB / 0.8528 GB, free: 15.21 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.2122, allocations: 0 / 0.8528 GB, free: 15.21 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006865/0.2128, allocations: 227.1 kB / 0.853 GB, free: 14.96 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.2128, allocations: 6.438 kB / 0.8531 GB, free: 14.96 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001663/0.2145, allocations: 0.6966 MB / 0.8537 GB, free: 14.2 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.2146, allocations: 144.5 kB / 0.8539 GB, free: 14.03 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.2149, allocations: 215 kB / 0.8541 GB, free: 13.81 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.2149, allocations: 33.7 kB / 0.8541 GB, free: 13.77 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.215, allocations: 133.7 kB / 0.8542 GB, free: 13.64 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.908e-05/0.2151, allocations: 67.44 kB / 0.8543 GB, free: 13.57 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.2152, allocations: 61.64 kB / 0.8544 GB, free: 13.5 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.2154, allocations: 334.8 kB / 0.8547 GB, free: 13.17 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.2157, allocations: 141.6 kB / 0.8548 GB, free: 13.01 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.216, allocations: 226.5 kB / 0.855 GB, free: 12.75 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/0.2165, allocations: 274.7 kB / 0.8553 GB, free: 12.44 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2165, allocations: 0.6562 kB / 0.8553 GB, free: 12.44 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.3318/0.5483, allocations: 391.6 kB / 0.8557 GB, free: 28.24 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.304e-05/0.5484, allocations: 68.56 kB / 0.8557 GB, free: 28.18 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.5484, allocations: 1.531 kB / 0.8557 GB, free: 28.18 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.933e-05/0.5484, allocations: 6.125 kB / 0.8557 GB, free: 28.18 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.5486, allocations: 49.31 kB / 0.8558 GB, free: 28.18 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.5486, allocations: 5.656 kB / 0.8558 GB, free: 28.18 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.5489, allocations: 18.34 kB / 0.8558 GB, free: 28.18 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.5489, allocations: 16.66 kB / 0.8558 GB, free: 28.18 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0002514/0.5491, allocations: 168 kB / 0.856 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.5492, allocations: 25.55 kB / 0.856 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.384e-05/0.5492, allocations: 28 kB / 0.856 GB, free: 28.03 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.5492, allocations: 2.344 kB / 0.856 GB, free: 28.03 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.5492, allocations: 1.656 kB / 0.856 GB, free: 28.03 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.5493, allocations: 5.953 kB / 0.856 GB, free: 28.03 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008246/0.5501, allocations: 0.5359 MB / 0.8566 GB, free: 27.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5501, allocations: 2.5 kB / 0.8566 GB, free: 27.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.5503, allocations: 33.45 kB / 0.8566 GB, free: 27.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.5503, allocations: 1.156 kB / 0.8566 GB, free: 27.73 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.5503, allocations: 6.719 kB / 0.8566 GB, free: 27.73 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.5503, allocations: 1.109 kB / 0.8566 GB, free: 27.73 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5503, allocations: 4.125 kB / 0.8566 GB, free: 27.73 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009131/0.5512, allocations: 0.504 MB / 0.8571 GB, free: 27.5 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.5513, allocations: 23.66 kB / 0.8571 GB, free: 27.5 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.237e-05/0.5513, allocations: 6.469 kB / 0.8571 GB, free: 27.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.5516, allocations: 12.22 kB / 0.8571 GB, free: 27.5 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.5517, allocations: 22.06 kB / 0.8572 GB, free: 27.5 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.5517, allocations: 7.297 kB / 0.8572 GB, free: 27.5 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0002034/0.5519, allocations: 157.3 kB / 0.8573 GB, free: 27.43 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5519, allocations: 3.188 kB / 0.8573 GB, free: 27.43 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0005306/0.5525, allocations: 59.59 kB / 0.8574 GB, free: 27.43 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001567/0.5526, allocations: 109.6 kB / 0.8575 GB, free: 27.34 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0008335/0.5534, allocations: 379 kB / 0.8579 GB, free: 27.12 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5535, allocations: 0.625 kB / 0.8579 GB, free: 27.12 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000398/0.5538, allocations: 169.5 kB / 0.858 GB, free: 27.02 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008001/0.5546, allocations: 68.5 kB / 0.8581 GB, free: 27.02 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.5563, allocations: 0.6753 MB / 0.8587 GB, free: 26.75 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.5564, allocations: 126.1 kB / 0.8589 GB, free: 26.67 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000113/0.5565, allocations: 23.5 kB / 0.8589 GB, free: 26.67 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.115e-05/0.5566, allocations: 25.12 kB / 0.8589 GB, free: 26.66 MB / 490.8 MB Notification: Performance of SimCode: time 1.473e-06/0.5566, allocations: 0.5312 kB / 0.8589 GB, free: 26.66 MB / 490.8 MB Notification: Performance of Templates: time 0.008867/0.5655, allocations: 3.635 MB / 0.8625 GB, free: 26.36 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.807672272901982]