Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver.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.001098/0.001098, allocations: 73.88 kB / 20.65 MB, free: 3.848 MB / 18.57 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.00104/0.00104, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9762/0.9762, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 1.689/1.689, allocations: 273.5 MB / 0.522 GB, free: 14.73 MB / 458.7 MB " [Timeout remaining time 178] 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.SingleDoseVeinsGutSpleenPortalVeinLiver,tolerance=1e-06,outputFormat="empty",numberOfIntervals=495,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver") translateModel(Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver,tolerance=1e-06,outputFormat="empty",numberOfIntervals=495,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 1.531 kB / 0.6482 GB, free: 38.49 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.509e-05, allocations: 10.88 kB / 0.6482 GB, free: 38.48 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver): time 0.003463/0.003488, allocations: 4.058 MB / 0.6521 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.004589, allocations: 0.9621 MB / 0.6531 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.004709, allocations: 7.188 kB / 0.6531 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.00484, allocations: 79.89 kB / 0.6532 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.005164, allocations: 213 kB / 0.6534 GB, free: 35.02 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.005369, allocations: 154.9 kB / 0.6535 GB, free: 34.93 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0004389/0.005808, allocations: 0.7161 MB / 0.6542 GB, free: 34.55 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004087/0.006217, allocations: 495.4 kB / 0.6547 GB, free: 34.27 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004028/0.00662, allocations: 499 kB / 0.6552 GB, free: 34.07 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004672/0.007087, allocations: 357.8 kB / 0.6555 GB, free: 33.97 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.007208, allocations: 73.88 kB / 0.6556 GB, free: 33.97 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.007318, allocations: 76.25 kB / 0.6556 GB, free: 33.97 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.007437, allocations: 187.8 kB / 0.6558 GB, free: 33.84 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.007731, allocations: 261.5 kB / 0.6561 GB, free: 33.73 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004983/0.00823, allocations: 0.5277 MB / 0.6566 GB, free: 33.48 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.008233, allocations: 0.5312 kB / 0.6566 GB, free: 33.48 MB / 0.5262 GB Notification: Performance of FrontEnd: time 5.61e-07/0.008234, allocations: 1.406 kB / 0.6566 GB, free: 33.48 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.008241, allocations: 0.5 kB / 0.6566 GB, free: 33.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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001027/0.009268, allocations: 0.8776 MB / 0.6574 GB, free: 32.82 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.009301, allocations: 13.81 kB / 0.6575 GB, free: 32.82 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.009425, allocations: 93.91 kB / 0.6575 GB, free: 32.78 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.009688, allocations: 295.9 kB / 0.6578 GB, free: 32.54 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.009723, allocations: 34.5 kB / 0.6579 GB, free: 32.52 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.926e-05/0.009792, allocations: 53.75 kB / 0.6579 GB, free: 32.51 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005427/0.01033, allocations: 0.575 MB / 0.6585 GB, free: 32.23 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.01035, allocations: 3.938 kB / 0.6585 GB, free: 32.23 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.01039, allocations: 23.59 kB / 0.6585 GB, free: 32.21 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-05/0.01042, allocations: 22.77 kB / 0.6585 GB, free: 32.21 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003198/0.01074, allocations: 264.3 kB / 0.6588 GB, free: 32.19 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.01226, allocations: 1.333 MB / 0.6601 GB, free: 31.37 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.0126, allocations: 214.8 kB / 0.6603 GB, free: 31.31 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.01274, allocations: 109.6 kB / 0.6604 GB, free: 31.29 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.01277, allocations: 8.812 kB / 0.6604 GB, free: 31.29 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.01303, allocations: 242.5 kB / 0.6606 GB, free: 31.18 MB / 0.5262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003988/0.01343, allocations: 154.6 kB / 0.6608 GB, free: 31.14 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=46): time 2.044e-06/0.01344, allocations: 0 / 0.6608 GB, free: 31.14 MB / 0.5262 GB Notification: Performance of matching and sorting (n=46): time 0.0005798/0.01401, allocations: 390.9 kB / 0.6611 GB, free: 31.05 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.01405, allocations: 65.66 kB / 0.6612 GB, free: 30.98 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.01419, allocations: 296.8 kB / 0.6615 GB, free: 30.77 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.01422, allocations: 37.39 kB / 0.6615 GB, free: 30.73 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 8.914e-05/0.01431, allocations: 287.1 kB / 0.6618 GB, free: 30.49 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 8.517e-05/0.01439, allocations: 185.1 kB / 0.662 GB, free: 30.34 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.01452, allocations: 124.6 kB / 0.6621 GB, free: 30.28 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 7.64e-05/0.01459, allocations: 0.5213 MB / 0.6626 GB, free: 29.77 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.01476, allocations: 159.9 kB / 0.6628 GB, free: 29.71 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.01496, allocations: 321.8 kB / 0.6631 GB, free: 29.43 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.01533, allocations: 432.9 kB / 0.6635 GB, free: 29.13 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01533, allocations: 0 / 0.6635 GB, free: 29.13 MB / 0.5262 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005786/0.01591, allocations: 0.5135 MB / 0.664 GB, free: 28.94 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.01594, allocations: 44.8 kB / 0.664 GB, free: 28.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.01595, allocations: 4.25 kB / 0.664 GB, free: 28.9 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.01597, allocations: 5.656 kB / 0.664 GB, free: 28.9 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.01634, allocations: 168.3 kB / 0.6642 GB, free: 28.89 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.01635, allocations: 9.953 kB / 0.6642 GB, free: 28.89 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.01652, allocations: 21.47 kB / 0.6642 GB, free: 28.88 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.01656, allocations: 30.58 kB / 0.6642 GB, free: 28.88 MB / 0.5262 GB Warning: Assuming fixed start value for the following 8 variables: singleDose1.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real singleDose1.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real artery.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real gut.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real vein.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real spleen.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real liver.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real lungs.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 5 (singleDose1.pulse.count,$PRE.singleDose1.pulse.count,singleDose1.pulse.T_start,$PRE.singleDose1.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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 0.0001849/0.01674, allocations: 228.4 kB / 0.6645 GB, free: 28.67 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.379e-05/0.01681, allocations: 47.78 kB / 0.6645 GB, free: 28.65 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004624/0.01728, allocations: 388.5 kB / 0.6649 GB, free: 28.51 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.01728, allocations: 4.219 kB / 0.6649 GB, free: 28.51 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.01728, allocations: 0 / 0.6649 GB, free: 28.51 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.01729, allocations: 4.484 kB / 0.6649 GB, free: 28.51 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006357/0.01793, allocations: 0.6489 MB / 0.6655 GB, free: 28.12 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01793, allocations: 0 / 0.6655 GB, free: 28.12 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.01819, allocations: 82.55 kB / 0.6656 GB, free: 28.11 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.0182, allocations: 2.844 kB / 0.6656 GB, free: 28.11 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.01822, allocations: 15.78 kB / 0.6656 GB, free: 28.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.01823, allocations: 2.844 kB / 0.6656 GB, free: 28.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01823, allocations: 3.281 kB / 0.6656 GB, free: 28.1 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005343/0.01876, allocations: 0.5444 MB / 0.6662 GB, free: 27.81 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.01879, allocations: 39.58 kB / 0.6662 GB, free: 27.78 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.01884, allocations: 20.03 kB / 0.6662 GB, free: 27.77 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.01899, allocations: 18.3 kB / 0.6662 GB, free: 27.76 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.01904, allocations: 30.08 kB / 0.6663 GB, free: 27.75 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.01906, allocations: 15.66 kB / 0.6663 GB, free: 27.75 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 8.165e-05/0.01914, allocations: 209.9 kB / 0.6665 GB, free: 27.62 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7e-08/0.01914, allocations: 0 / 0.6665 GB, free: 27.62 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0003194/0.01946, allocations: 167 kB / 0.6666 GB, free: 27.59 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 14 (singleDose1.TotalCumulativeMass,singleDose1.variableDose.TotalCumulativeMass,artery.M,artery.AUC,gut.M,gut.AUC,vein.M,vein.AUC,spleen.M,spleen.AUC,liver.M,liver.AUC,lungs.M,lungs.AUC) * Number of discrete variables: 3 ($whenCondition1,singleDose1.pulse.T_start,singleDose1.pulse.count) * Number of discrete states: 1 (singleDose1.pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 44 * 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.824e-05/0.01956, allocations: 114.5 kB / 0.6667 GB, free: 27.48 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0004012/0.01996, allocations: 387.8 kB / 0.6671 GB, free: 27.34 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01997, allocations: 0 / 0.6671 GB, free: 27.34 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.02012, allocations: 138.5 kB / 0.6672 GB, free: 27.31 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.02055, allocations: 145.5 kB / 0.6674 GB, free: 27.26 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.02224, allocations: 1.314 MB / 0.6687 GB, free: 26.43 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.302e-05/0.0223, allocations: 128.4 kB / 0.6688 GB, free: 26.36 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.0001733/0.02248, allocations: 75.98 kB / 0.6689 GB, free: 26.34 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003154/0.02279, allocations: 213.1 kB / 0.6691 GB, free: 26.27 MB / 0.5262 GB Notification: Performance of SimCode: time 6.21e-07/0.02279, allocations: 0 / 0.6691 GB, free: 26.27 MB / 0.5262 GB Notification: Performance of Templates: time 0.01223/0.03503, allocations: 8.75 MB / 0.6776 GB, free: 23.93 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.043823282700032]