Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral.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.001823/0.001823, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 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.002026/0.002026, allocations: 177.2 kB / 22.76 MB, free: 1.656 MB / 18.57 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.529/1.529, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Paracetamol_Experiment Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo): time 3.507/3.507, allocations: 274.5 MB / 0.5215 GB, free: 14.15 MB / 458.7 MB " [Timeout remaining time 176] Using package Pharmacolibrary with version 25.09 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.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.DevModels.PKTwoCompartmentModelOral,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral") translateModel(Pharmacolibrary.DevModels.PKTwoCompartmentModelOral,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.6472 GB, free: 38.97 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.243e-05, allocations: 2.312 kB / 0.6472 GB, free: 38.96 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.PKTwoCompartmentModelOral): time 0.002904/0.002926, allocations: 2.361 MB / 0.6495 GB, free: 37.41 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.004344, allocations: 0.61 MB / 0.6501 GB, free: 37 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.004586, allocations: 0 / 0.6501 GB, free: 37 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.004692, allocations: 34.42 kB / 0.6501 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.00509, allocations: 77.41 kB / 0.6502 GB, free: 36.95 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.005387, allocations: 63.39 kB / 0.6503 GB, free: 36.92 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0004469/0.005834, allocations: 299 kB / 0.6506 GB, free: 36.79 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.006008, allocations: 58.64 kB / 0.6506 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.006211, allocations: 155.8 kB / 0.6508 GB, free: 36.69 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.006364, allocations: 82.41 kB / 0.6508 GB, free: 36.67 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/0.006419, allocations: 23.25 kB / 0.6509 GB, free: 36.67 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.505e-05/0.006464, allocations: 21.69 kB / 0.6509 GB, free: 36.67 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 4.683e-05/0.006511, allocations: 51.61 kB / 0.6509 GB, free: 36.63 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.006619, allocations: 93 kB / 0.651 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.006898, allocations: 248.7 kB / 0.6513 GB, free: 36.49 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.006901, allocations: 1.344 kB / 0.6513 GB, free: 36.49 MB / 0.5262 GB Notification: Performance of FrontEnd: time 9.11e-07/0.006902, allocations: 0 / 0.6513 GB, free: 36.49 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.006908, allocations: 3.938 kB / 0.6513 GB, free: 36.48 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008252/0.007733, allocations: 0.6248 MB / 0.6519 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.007769, allocations: 11.97 kB / 0.6519 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.761e-05/0.007857, allocations: 40.11 kB / 0.6519 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.007976, allocations: 149.9 kB / 0.6521 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.007998, allocations: 23.19 kB / 0.6521 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.044e-05/0.008038, allocations: 21.61 kB / 0.6521 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.008388, allocations: 238.2 kB / 0.6523 GB, free: 35.6 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.008408, allocations: 10.14 kB / 0.6524 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.008428, allocations: 7.531 kB / 0.6524 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.008433, allocations: 3.656 kB / 0.6524 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003516/0.008785, allocations: 213.2 kB / 0.6526 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007718/0.009557, allocations: 0.5397 MB / 0.6531 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.009906, allocations: 227.3 kB / 0.6533 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.01007, allocations: 135.6 kB / 0.6534 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.01009, allocations: 8.25 kB / 0.6534 GB, free: 34.85 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003639/0.01046, allocations: 352.8 kB / 0.6538 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/0.01046, allocations: 0 / 0.6538 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of matching and sorting (n=32): time 0.001636/0.01209, allocations: 1.05 MB / 0.6548 GB, free: 33.88 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.01215, allocations: 218.8 kB / 0.655 GB, free: 33.62 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.01229, allocations: 239.8 kB / 0.6552 GB, free: 33.43 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.01231, allocations: 37.64 kB / 0.6553 GB, free: 33.39 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.01238, allocations: 178.8 kB / 0.6555 GB, free: 33.23 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 7.644e-05/0.01246, allocations: 110.2 kB / 0.6556 GB, free: 33.15 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.01257, allocations: 85.14 kB / 0.6556 GB, free: 33.09 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.01266, allocations: 0.5201 MB / 0.6561 GB, free: 32.58 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.01292, allocations: 194.8 kB / 0.6563 GB, free: 32.44 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.01323, allocations: 315.3 kB / 0.6566 GB, free: 32.15 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000714/0.01394, allocations: 0.5773 MB / 0.6572 GB, free: 31.68 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01395, allocations: 0 / 0.6572 GB, free: 31.68 MB / 0.5262 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006315/0.01458, allocations: 0.5217 MB / 0.6577 GB, free: 31.34 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/0.01462, allocations: 87.77 kB / 0.6578 GB, free: 31.25 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.01462, allocations: 3.969 kB / 0.6578 GB, free: 31.25 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.01464, allocations: 4.25 kB / 0.6578 GB, free: 31.25 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.01491, allocations: 75.11 kB / 0.6579 GB, free: 31.24 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.01492, allocations: 10.72 kB / 0.6579 GB, free: 31.23 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.01508, allocations: 16.5 kB / 0.6579 GB, free: 31.23 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.0151, allocations: 14.78 kB / 0.6579 GB, free: 31.23 MB / 0.5262 GB Warning: Assuming fixed start value for the following 10 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real peripheral.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real periodicDose1.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose1.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real central.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real peripheral.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real peripheral.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real peripheral.rising:DISCRETE(fixed = true protected = true ) type: Boolean central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.peripheral.Cmin,peripheral.Cmin,$PRE.peripheral.Cmax,peripheral.Cmax,$PRE.periodicDose1.pulse.count,$PRE.periodicDose1.pulse.T_start,$PRE.peripheral.rising,$PRE.central.rising,periodicDose1.pulse.count,periodicDose1.pulse.T_start,peripheral.rising,central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 3 * 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.0002311/0.01533, allocations: 298.2 kB / 0.6582 GB, free: 30.96 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.01538, allocations: 33.03 kB / 0.6582 GB, free: 30.95 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.652e-05/0.01544, allocations: 28.08 kB / 0.6583 GB, free: 30.93 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01544, allocations: 2.875 kB / 0.6583 GB, free: 30.93 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.01545, allocations: 4.469 kB / 0.6583 GB, free: 30.92 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.01545, allocations: 4.156 kB / 0.6583 GB, free: 30.92 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008631/0.01632, allocations: 0.8034 MB / 0.659 GB, free: 30.36 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01632, allocations: 1.5 kB / 0.659 GB, free: 30.36 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.01656, allocations: 53.39 kB / 0.6591 GB, free: 30.35 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.01656, allocations: 1.469 kB / 0.6591 GB, free: 30.35 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.01659, allocations: 11.97 kB / 0.6591 GB, free: 30.34 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.01659, allocations: 1.469 kB / 0.6591 GB, free: 30.34 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01659, allocations: 0 / 0.6591 GB, free: 30.34 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008218/0.01741, allocations: 0.7597 MB / 0.6599 GB, free: 29.84 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.01744, allocations: 14.78 kB / 0.6599 GB, free: 29.83 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.738e-05/0.01748, allocations: 9.594 kB / 0.6599 GB, free: 29.83 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.01764, allocations: 15.55 kB / 0.6599 GB, free: 29.82 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.191e-05/0.01773, allocations: 31.73 kB / 0.6599 GB, free: 29.82 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.01775, allocations: 10.94 kB / 0.6599 GB, free: 29.81 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 8.431e-05/0.01784, allocations: 178 kB / 0.6601 GB, free: 29.68 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7e-08/0.01784, allocations: 0 / 0.6601 GB, free: 29.68 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0003455/0.01818, allocations: 71 kB / 0.6602 GB, free: 29.67 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,peripheral.C,peripheral.AUC,periodicDose1.TotalCumulativeMass,periodicDose1.variableDose.TotalCumulativeMass) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,peripheral.Cmax,peripheral.Cmin,peripheral.rising,periodicDose1.pulse.T_start,periodicDose1.pulse.count) * Number of discrete states: 11 (periodicDose1.pulse.count,peripheral.Cmin,$whenCondition3,peripheral.Cmax,$whenCondition2,peripheral.rising,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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.0001317/0.01832, allocations: 111 kB / 0.6603 GB, free: 29.57 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0006543/0.01897, allocations: 0.5878 MB / 0.6609 GB, free: 29.13 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01897, allocations: 0 / 0.6609 GB, free: 29.13 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.01926, allocations: 314 kB / 0.6612 GB, free: 28.9 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.0197, allocations: 74.78 kB / 0.6612 GB, free: 28.88 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.02094, allocations: 0.7301 MB / 0.6619 GB, free: 28.39 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.02107, allocations: 136.8 kB / 0.6621 GB, free: 28.31 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.0001093/0.02118, allocations: 25.75 kB / 0.6621 GB, free: 28.3 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-05/0.02124, allocations: 22.5 kB / 0.6621 GB, free: 28.3 MB / 0.5262 GB Notification: Performance of SimCode: time 7.71e-07/0.02124, allocations: 0 / 0.6621 GB, free: 28.3 MB / 0.5262 GB Notification: Performance of Templates: time 0.007448/0.02869, allocations: 3.423 MB / 0.6655 GB, free: 28 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.454375355970114]