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.001313/0.001313, allocations: 87.56 kB / 20.19 MB, free: 4.383 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.001038/0.001038, allocations: 169 kB / 23.51 MB, free: 1.07 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 0.9549/0.9549, allocations: 177.1 MB / 203.8 MB, free: 5.594 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.634/1.634, allocations: 273.5 MB / 0.5213 GB, free: 14.85 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 1.242e-06/1.242e-06, allocations: 1.312 kB / 0.647 GB, free: 38.66 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.728e-05, allocations: 5.672 kB / 0.647 GB, free: 38.66 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver): time 0.003038/0.003055, allocations: 4.099 MB / 0.651 GB, free: 36.01 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.004461, allocations: 0.9703 MB / 0.6519 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.004616, allocations: 5.812 kB / 0.6519 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.004772, allocations: 77.84 kB / 0.652 GB, free: 35.31 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.005146, allocations: 206.8 kB / 0.6522 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.005406, allocations: 155.2 kB / 0.6523 GB, free: 35.1 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0004778/0.005884, allocations: 0.716 MB / 0.653 GB, free: 34.71 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004511/0.006335, allocations: 498.3 kB / 0.6535 GB, free: 34.43 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004076/0.006743, allocations: 496 kB / 0.654 GB, free: 34.23 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004066/0.007149, allocations: 359.1 kB / 0.6543 GB, free: 34.13 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 9.236e-05/0.007242, allocations: 76.28 kB / 0.6544 GB, free: 34.13 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.753e-05/0.007329, allocations: 75.47 kB / 0.6545 GB, free: 34.13 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.007454, allocations: 184.6 kB / 0.6547 GB, free: 34.01 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.000245/0.007699, allocations: 266.9 kB / 0.6549 GB, free: 33.9 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.008105, allocations: 0.5364 MB / 0.6554 GB, free: 33.63 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.008107, allocations: 2.469 kB / 0.6554 GB, free: 33.63 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.008108, allocations: 0 / 0.6554 GB, free: 33.63 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.008119, allocations: 0 / 0.6554 GB, free: 33.63 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.001141/0.009259, allocations: 0.8743 MB / 0.6563 GB, free: 32.99 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.009306, allocations: 8.969 kB / 0.6563 GB, free: 32.99 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.009486, allocations: 103.8 kB / 0.6564 GB, free: 32.94 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.009873, allocations: 316.7 kB / 0.6567 GB, free: 32.7 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.009907, allocations: 32.25 kB / 0.6567 GB, free: 32.68 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-05/0.01, allocations: 56.06 kB / 0.6568 GB, free: 32.66 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006563/0.01066, allocations: 0.6167 MB / 0.6574 GB, free: 32.38 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.01068, allocations: 9.047 kB / 0.6574 GB, free: 32.37 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.01072, allocations: 21.69 kB / 0.6574 GB, free: 32.35 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/0.01075, allocations: 21.98 kB / 0.6574 GB, free: 32.35 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004427/0.0112, allocations: 327.2 kB / 0.6578 GB, free: 32.3 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.01284, allocations: 1.378 MB / 0.6591 GB, free: 31.46 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.01323, allocations: 239.2 kB / 0.6593 GB, free: 31.39 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.01341, allocations: 122.3 kB / 0.6594 GB, free: 31.36 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.01344, allocations: 8.812 kB / 0.6594 GB, free: 31.36 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002952/0.01373, allocations: 265.2 kB / 0.6597 GB, free: 31.24 MB / 0.5262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000404/0.01413, allocations: 152.6 kB / 0.6598 GB, free: 31.21 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=46): time 2.244e-06/0.01414, allocations: 2.344 kB / 0.6599 GB, free: 31.21 MB / 0.5262 GB Notification: Performance of matching and sorting (n=46): time 0.0006768/0.01481, allocations: 434 kB / 0.6603 GB, free: 31.09 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.01483, allocations: 66.78 kB / 0.6603 GB, free: 31.02 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.01499, allocations: 298.6 kB / 0.6606 GB, free: 30.82 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.01502, allocations: 36.48 kB / 0.6606 GB, free: 30.78 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 8.081e-05/0.0151, allocations: 288.2 kB / 0.6609 GB, free: 30.53 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 7.719e-05/0.01518, allocations: 175.5 kB / 0.6611 GB, free: 30.39 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.0153, allocations: 125 kB / 0.6612 GB, free: 30.33 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.197e-05/0.01536, allocations: 0.5178 MB / 0.6617 GB, free: 29.82 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.01558, allocations: 178.8 kB / 0.6619 GB, free: 29.75 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.01583, allocations: 354.3 kB / 0.6622 GB, free: 29.46 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004359/0.01626, allocations: 468.7 kB / 0.6627 GB, free: 29.15 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.01627, allocations: 1.406 kB / 0.6627 GB, free: 29.15 MB / 0.5262 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006423/0.01691, allocations: 0.5707 MB / 0.6632 GB, free: 28.92 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.01694, allocations: 38.83 kB / 0.6633 GB, free: 28.89 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.01694, allocations: 2.875 kB / 0.6633 GB, free: 28.89 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.01696, allocations: 11.62 kB / 0.6633 GB, free: 28.89 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.01733, allocations: 166.8 kB / 0.6634 GB, free: 28.88 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.01735, allocations: 6.688 kB / 0.6634 GB, free: 28.88 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.01753, allocations: 25.17 kB / 0.6635 GB, free: 28.86 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.01757, allocations: 32.09 kB / 0.6635 GB, free: 28.86 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.0001662/0.01773, allocations: 218.2 kB / 0.6637 GB, free: 28.66 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.0178, allocations: 51.69 kB / 0.6638 GB, free: 28.64 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005134/0.01831, allocations: 411 kB / 0.6641 GB, free: 28.49 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01831, allocations: 3.703 kB / 0.6642 GB, free: 28.49 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01832, allocations: 0 / 0.6642 GB, free: 28.49 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.01835, allocations: 31.69 kB / 0.6642 GB, free: 28.47 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.01839, allocations: 13.56 kB / 0.6642 GB, free: 28.46 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.01853, allocations: 21.05 kB / 0.6642 GB, free: 28.45 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.01859, allocations: 27.33 kB / 0.6642 GB, free: 28.45 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000859/0.01944, allocations: 495.8 kB / 0.6647 GB, free: 28.21 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006421/0.02009, allocations: 0.7224 MB / 0.6654 GB, free: 27.79 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001695/0.02026, allocations: 128.8 kB / 0.6655 GB, free: 27.75 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.0001085/0.02036, allocations: 222.3 kB / 0.6658 GB, free: 27.61 MB / 0.5262 GB Notification: Performance of Backend: time 3.81e-07/0.02036, allocations: 0 / 0.6658 GB, free: 27.61 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0005702/0.02093, allocations: 455.7 kB / 0.6662 GB, free: 27.37 MB / 0.5262 GB Notification: Performance of SimCode: time 0.00181/0.02274, allocations: 1.944 MB / 0.6681 GB, free: 25.85 MB / 0.5262 GB Notification: Performance of Templates: time 0.008774/0.03152, allocations: 7.111 MB / 0.675 GB, free: 24.5 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.791790312156081]