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.002434/0.002434, allocations: 81.5 kB / 19.44 MB, free: 344 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.002981/0.002981, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.614/1.614, allocations: 177.1 MB / 203.1 MB, free: 5.27 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.553/3.553, allocations: 274.5 MB / 0.5215 GB, free: 14.16 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.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.884e-06/1.884e-06, allocations: 0 / 0.6472 GB, free: 39.11 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.085e-05/3.273e-05, allocations: 2.312 kB / 0.6472 GB, free: 39.11 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver): time 0.004684/0.004717, allocations: 4.063 MB / 0.6512 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001931/0.006647, allocations: 0.9707 MB / 0.6521 GB, free: 35.8 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.006836, allocations: 7.594 kB / 0.6521 GB, free: 35.8 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.007031, allocations: 77.78 kB / 0.6522 GB, free: 35.76 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004605/0.007491, allocations: 208.3 kB / 0.6524 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.007821, allocations: 154.6 kB / 0.6526 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0005241/0.008345, allocations: 0.7205 MB / 0.6533 GB, free: 35.16 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005414/0.008887, allocations: 495.5 kB / 0.6537 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005402/0.009427, allocations: 495.5 kB / 0.6542 GB, free: 34.68 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005371/0.009964, allocations: 356.9 kB / 0.6545 GB, free: 34.58 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.01009, allocations: 80.47 kB / 0.6546 GB, free: 34.58 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.0103, allocations: 76.97 kB / 0.6547 GB, free: 34.58 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.01049, allocations: 180.5 kB / 0.6549 GB, free: 34.46 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003928/0.01088, allocations: 268 kB / 0.6551 GB, free: 34.35 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008968/0.01178, allocations: 0.7568 MB / 0.6559 GB, free: 34.02 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.01178, allocations: 5.312 kB / 0.6559 GB, free: 34.02 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.834e-06/0.01178, allocations: 0 / 0.6559 GB, free: 34.02 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.01179, allocations: 1.469 kB / 0.6559 GB, free: 34.02 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.001857/0.01365, allocations: 0.9086 MB / 0.6568 GB, free: 33.36 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 7.066e-05/0.01372, allocations: 9.781 kB / 0.6568 GB, free: 33.36 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002542/0.01398, allocations: 93.86 kB / 0.6569 GB, free: 33.31 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006486/0.01463, allocations: 328.2 kB / 0.6572 GB, free: 33.07 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.104e-05/0.01469, allocations: 40.28 kB / 0.6572 GB, free: 33.05 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.01481, allocations: 51.38 kB / 0.6573 GB, free: 33.04 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.01611, allocations: 0.7477 MB / 0.658 GB, free: 32.68 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/0.01615, allocations: 9.266 kB / 0.658 GB, free: 32.67 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.539e-05/0.01621, allocations: 16.22 kB / 0.658 GB, free: 32.66 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.526e-05/0.01627, allocations: 28.89 kB / 0.658 GB, free: 32.65 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.01746, allocations: 495.2 kB / 0.6585 GB, free: 32.52 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003132/0.02059, allocations: 1.556 MB / 0.66 GB, free: 31.58 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007782/0.02137, allocations: 367.9 kB / 0.6604 GB, free: 31.45 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/0.02179, allocations: 195.2 kB / 0.6606 GB, free: 31.39 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-05/0.02183, allocations: 8.719 kB / 0.6606 GB, free: 31.39 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006018/0.02244, allocations: 343 kB / 0.6609 GB, free: 31.23 MB / 0.5262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008111/0.02325, allocations: 160 kB / 0.6611 GB, free: 31.19 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=46): time 2.685e-06/0.02325, allocations: 2.406 kB / 0.6611 GB, free: 31.19 MB / 0.5262 GB Notification: Performance of matching and sorting (n=46): time 0.001407/0.02466, allocations: 0.6259 MB / 0.6617 GB, free: 30.97 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.0247, allocations: 60.09 kB / 0.6617 GB, free: 30.91 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.02499, allocations: 349.5 kB / 0.6621 GB, free: 30.68 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.02503, allocations: 36.55 kB / 0.6621 GB, free: 30.64 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.02518, allocations: 301.2 kB / 0.6624 GB, free: 30.38 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.02531, allocations: 191.1 kB / 0.6626 GB, free: 30.23 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.02552, allocations: 141.1 kB / 0.6627 GB, free: 30.17 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.02566, allocations: 0.5397 MB / 0.6632 GB, free: 29.65 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004598/0.02612, allocations: 269.7 kB / 0.6635 GB, free: 29.54 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005465/0.02666, allocations: 452.8 kB / 0.6639 GB, free: 29.19 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009649/0.02763, allocations: 0.6279 MB / 0.6645 GB, free: 28.79 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.02763, allocations: 1.281 kB / 0.6645 GB, free: 28.79 MB / 0.5262 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001253/0.02889, allocations: 0.741 MB / 0.6653 GB, free: 28.48 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.02892, allocations: 34.02 kB / 0.6653 GB, free: 28.45 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.02893, allocations: 4.188 kB / 0.6653 GB, free: 28.45 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.02896, allocations: 11.03 kB / 0.6653 GB, free: 28.44 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007089/0.02967, allocations: 169.8 kB / 0.6655 GB, free: 28.43 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.02968, allocations: 7.656 kB / 0.6655 GB, free: 28.43 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/0.03007, allocations: 21.95 kB / 0.6655 GB, free: 28.42 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.411e-05/0.03014, allocations: 36.58 kB / 0.6655 GB, free: 28.41 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.0003237/0.03046, allocations: 257.5 kB / 0.6658 GB, free: 28.2 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.622e-05/0.03056, allocations: 47.75 kB / 0.6658 GB, free: 28.17 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.03162, allocations: 0.5114 MB / 0.6663 GB, free: 27.97 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.03163, allocations: 4.344 kB / 0.6663 GB, free: 27.97 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.03164, allocations: 1.312 kB / 0.6663 GB, free: 27.97 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.03164, allocations: 7.375 kB / 0.6663 GB, free: 27.97 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.03297, allocations: 0.9073 MB / 0.6672 GB, free: 27.44 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.03297, allocations: 1.594 kB / 0.6672 GB, free: 27.44 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004891/0.03346, allocations: 82.88 kB / 0.6673 GB, free: 27.43 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.03346, allocations: 1.688 kB / 0.6673 GB, free: 27.43 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.0335, allocations: 16.62 kB / 0.6673 GB, free: 27.43 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.03351, allocations: 1.75 kB / 0.6673 GB, free: 27.43 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.03351, allocations: 1.625 kB / 0.6673 GB, free: 27.43 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.03479, allocations: 0.8131 MB / 0.6681 GB, free: 27 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.03484, allocations: 35.53 kB / 0.6681 GB, free: 26.98 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.281e-05/0.03492, allocations: 16.16 kB / 0.6682 GB, free: 26.97 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.03522, allocations: 14.64 kB / 0.6682 GB, free: 26.96 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.03533, allocations: 32.78 kB / 0.6682 GB, free: 26.96 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.03536, allocations: 17.22 kB / 0.6682 GB, free: 26.96 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.0002036/0.03557, allocations: 256 kB / 0.6685 GB, free: 26.8 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6e-08/0.03557, allocations: 0 / 0.6685 GB, free: 26.8 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.000571/0.03614, allocations: 168 kB / 0.6686 GB, free: 26.77 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 0.0001484/0.03629, allocations: 115 kB / 0.6687 GB, free: 26.66 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.001002/0.03729, allocations: 0.5718 MB / 0.6693 GB, free: 26.42 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.03729, allocations: 0 / 0.6693 GB, free: 26.42 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.000389/0.03768, allocations: 217.7 kB / 0.6695 GB, free: 26.36 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007635/0.03844, allocations: 140.4 kB / 0.6696 GB, free: 26.31 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.04061, allocations: 1.332 MB / 0.6709 GB, free: 25.46 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.04087, allocations: 238.6 kB / 0.6712 GB, free: 25.38 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.0003401/0.04121, allocations: 75.22 kB / 0.6712 GB, free: 25.36 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.04146, allocations: 59.98 kB / 0.6713 GB, free: 25.35 MB / 0.5262 GB Notification: Performance of SimCode: time 8.91e-07/0.04146, allocations: 1.344 kB / 0.6713 GB, free: 25.35 MB / 0.5262 GB Notification: Performance of Templates: time 0.01662/0.05808, allocations: 7.923 MB / 0.679 GB, free: 23.3 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: 10.316600756021217]