Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.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.001187/0.001187, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001384/0.001384, allocations: 181 kB / 23.36 MB, free: 1.133 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.017/1.017, allocations: 177.2 MB / 203.8 MB, free: 5.488 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.69/1.69, allocations: 273.5 MB / 0.5212 GB, free: 14.67 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.SingleDoseLumen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen") translateModel(Pharmacolibrary.DevModels.SingleDoseLumen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.5954 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.39e-05, allocations: 2.312 kB / 0.5954 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseLumen): time 0.002967/0.002991, allocations: 2.94 MB / 0.5983 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.004114, allocations: 0.7453 MB / 0.599 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.004223, allocations: 7.938 kB / 0.599 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 7.111e-05/0.004294, allocations: 43.62 kB / 0.599 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.004549, allocations: 113.7 kB / 0.5991 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.004765, allocations: 97.06 kB / 0.5992 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.005073, allocations: 414.9 kB / 0.5996 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000271/0.005344, allocations: 222.7 kB / 0.5998 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.005595, allocations: 251.5 kB / 0.6001 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.005795, allocations: 159.6 kB / 0.6002 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.005844, allocations: 32 kB / 0.6003 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 4.449e-05/0.005889, allocations: 36 kB / 0.6003 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.005946, allocations: 75.73 kB / 0.6004 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.00605, allocations: 131.7 kB / 0.6005 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.006313, allocations: 271 kB / 0.6008 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.006315, allocations: 0 / 0.6008 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.81e-07/0.006315, allocations: 0 / 0.6008 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.006321, allocations: 8 kB / 0.6008 GB, free: 13.35 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.000638/0.006959, allocations: 0.5321 MB / 0.6013 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.006997, allocations: 12.03 kB / 0.6013 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.808e-05/0.007075, allocations: 40.91 kB / 0.6013 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.007276, allocations: 185.2 kB / 0.6015 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.0073, allocations: 21.03 kB / 0.6015 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.007336, allocations: 28.38 kB / 0.6016 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.007643, allocations: 338.4 kB / 0.6019 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.007658, allocations: 11.86 kB / 0.6019 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.007677, allocations: 12 kB / 0.6019 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.016e-06/0.007685, allocations: 8 kB / 0.6019 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.007831, allocations: 127.1 kB / 0.602 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007938/0.008625, allocations: 0.5974 MB / 0.6026 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.008876, allocations: 155.1 kB / 0.6028 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.292e-05/0.008939, allocations: 70.03 kB / 0.6028 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.008958, allocations: 4 kB / 0.6028 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.009154, allocations: 221.5 kB / 0.603 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001184/0.009272, allocations: 43.83 kB / 0.6031 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.009274, allocations: 0 / 0.6031 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.0007321/0.01001, allocations: 0.5946 MB / 0.6037 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.01006, allocations: 136.5 kB / 0.6038 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.01017, allocations: 188 kB / 0.604 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.01019, allocations: 33.7 kB / 0.604 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.01026, allocations: 156.6 kB / 0.6042 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.998e-05/0.01032, allocations: 115.1 kB / 0.6043 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.248e-05/0.01039, allocations: 73.94 kB / 0.6043 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.396e-05/0.01047, allocations: 334.8 kB / 0.6047 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/0.01055, allocations: 109.7 kB / 0.6048 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.01067, allocations: 223.4 kB / 0.605 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.01093, allocations: 388.2 kB / 0.6053 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01093, allocations: 0 / 0.6053 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0002509/0.01118, allocations: 320.8 kB / 0.6056 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.01122, allocations: 67.34 kB / 0.6057 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.01122, allocations: 4 kB / 0.6057 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.01124, allocations: 4 kB / 0.6057 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.01143, allocations: 88.22 kB / 0.6058 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.01143, allocations: 11.94 kB / 0.6058 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.516e-05/0.01153, allocations: 19.98 kB / 0.6058 GB, free: 7.684 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.01154, allocations: 16 kB / 0.6058 GB, free: 7.668 MB / 0.5261 GB Warning: Assuming fixed start value for the following 8 variables: singleDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real singleDose.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real GILumen.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real GIT.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real artery.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real GILumen.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real GILumen.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real GILumen.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.GILumen.Cmin,GILumen.Cmin,$PRE.GILumen.Cmax,GILumen.Cmax,$PRE.GILumen.rising,$PRE.singleDose.pulse.count,$PRE.singleDose.pulse.T_start,GILumen.rising,singleDose.pulse.count,singleDose.pulse.T_start,$whenCondition2,$whenCondition1,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 45 * 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.0001531/0.0117, allocations: 191.9 kB / 0.606 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.01172, allocations: 23.98 kB / 0.6061 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.01194, allocations: 243.4 kB / 0.6063 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.01195, allocations: 4 kB / 0.6063 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.01195, allocations: 0 / 0.6063 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.01195, allocations: 3.984 kB / 0.6063 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003721/0.01233, allocations: 447.7 kB / 0.6067 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01233, allocations: 0 / 0.6067 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.01247, allocations: 47.91 kB / 0.6068 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.01247, allocations: 4 kB / 0.6068 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.01249, allocations: 4 kB / 0.6068 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.01249, allocations: 4 kB / 0.6068 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.01249, allocations: 0 / 0.6068 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.01278, allocations: 413.9 kB / 0.6072 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.0128, allocations: 15.91 kB / 0.6072 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.01282, allocations: 15.89 kB / 0.6072 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.735e-05/0.01291, allocations: 15.98 kB / 0.6072 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.01296, allocations: 19.97 kB / 0.6072 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.01297, allocations: 11.98 kB / 0.6073 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.056e-05/0.01301, allocations: 52.23 kB / 0.6073 GB, free: 6.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01301, allocations: 0 / 0.6073 GB, free: 6.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002011/0.01321, allocations: 84 kB / 0.6074 GB, free: 6.008 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (singleDose.TotalCumulativeMass,singleDose.variableDose.TotalCumulativeMass,GILumen.C,GILumen.AUC,GIT.M,GIT.AUC,artery.M,artery.AUC) * Number of discrete variables: 8 ($whenCondition3,$whenCondition1,$whenCondition2,singleDose.pulse.T_start,singleDose.pulse.count,GILumen.Cmax,GILumen.Cmin,GILumen.rising) * Number of discrete states: 6 (singleDose.pulse.count,GILumen.Cmin,$whenCondition2,GILumen.Cmax,$whenCondition1,GILumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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 8.448e-05/0.0133, allocations: 100.3 kB / 0.6075 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002599/0.01356, allocations: 354.1 kB / 0.6078 GB, free: 5.512 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.01356, allocations: 0 / 0.6078 GB, free: 5.512 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.01367, allocations: 169.8 kB / 0.608 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.0139, allocations: 83.02 kB / 0.6081 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.01525, allocations: 0.7436 MB / 0.6088 GB, free: 4.469 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.083e-05/0.0153, allocations: 88.31 kB / 0.6089 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.257e-05/0.0154, allocations: 37.8 kB / 0.6089 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.01556, allocations: 131.3 kB / 0.609 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of SimCode: time 2.91e-07/0.01556, allocations: 0 / 0.609 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of Templates: time 0.3826/0.3982, allocations: 4.469 MB / 0.6134 GB, free: 53.76 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.097458233591169]