Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.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.0009921/0.0009921, allocations: 80.75 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.001013/0.001013, 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.009/1.009, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.673/1.673, allocations: 273.5 MB / 0.5213 GB, free: 14.7 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.SingleDoseDiffusion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion") translateModel(Pharmacolibrary.DevModels.SingleDoseDiffusion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.41e-07/8.41e-07, allocations: 0 / 0.5954 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.859e-06/1.07e-05, allocations: 2.312 kB / 0.5954 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseDiffusion): time 0.002916/0.002927, allocations: 2.955 MB / 0.5983 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.00424, allocations: 0.7422 MB / 0.599 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.576e-05/0.004335, allocations: 4 kB / 0.599 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 6.702e-05/0.004403, allocations: 39.58 kB / 0.5991 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.004664, allocations: 120.2 kB / 0.5992 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.004907, allocations: 91.75 kB / 0.5993 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.005257, allocations: 416.3 kB / 0.5997 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002661/0.005523, allocations: 222.7 kB / 0.5999 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002999/0.005823, allocations: 243.5 kB / 0.6001 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.006011, allocations: 143.6 kB / 0.6003 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.042e-05/0.006051, allocations: 36 kB / 0.6003 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 3.762e-05/0.006089, allocations: 36 kB / 0.6003 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.006139, allocations: 79.73 kB / 0.6004 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.655e-05/0.006235, allocations: 131.7 kB / 0.6005 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.006463, allocations: 259.1 kB / 0.6008 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.006465, allocations: 4 kB / 0.6008 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of FrontEnd: time 6.41e-07/0.006466, allocations: 0 / 0.6008 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.00647, allocations: 0 / 0.6008 GB, free: 13.36 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.0006015/0.007071, allocations: 0.5476 MB / 0.6013 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 2.769e-05/0.007099, allocations: 15.97 kB / 0.6013 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.892e-05/0.007158, allocations: 40.91 kB / 0.6014 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.00734, allocations: 161.4 kB / 0.6015 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.007363, allocations: 21.03 kB / 0.6015 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.007398, allocations: 32.36 kB / 0.6016 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.007707, allocations: 335 kB / 0.6019 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.007724, allocations: 15.89 kB / 0.6019 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.007741, allocations: 8 kB / 0.6019 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.007749, allocations: 8 kB / 0.6019 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.007896, allocations: 127.1 kB / 0.602 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007544/0.00865, allocations: 0.5936 MB / 0.6026 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.008871, allocations: 144.7 kB / 0.6028 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.259e-05/0.008934, allocations: 74.78 kB / 0.6028 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.008947, allocations: 7.938 kB / 0.6028 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.009131, allocations: 233.4 kB / 0.6031 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001038/0.009235, allocations: 31.88 kB / 0.6031 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 1.473e-06/0.009236, allocations: 0 / 0.6031 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.0007209/0.009957, allocations: 0.5946 MB / 0.6037 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.01001, allocations: 140.5 kB / 0.6038 GB, free: 10 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.01012, allocations: 183.3 kB / 0.604 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.01014, allocations: 41.64 kB / 0.604 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.0102, allocations: 144.6 kB / 0.6042 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.36e-05/0.01026, allocations: 119 kB / 0.6043 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.563e-05/0.01034, allocations: 69.97 kB / 0.6043 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.184e-05/0.01042, allocations: 338.8 kB / 0.6047 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.56e-05/0.01051, allocations: 117.7 kB / 0.6048 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.01064, allocations: 215.5 kB / 0.605 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.01095, allocations: 384.6 kB / 0.6054 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01095, allocations: 0 / 0.6054 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003156/0.01127, allocations: 325 kB / 0.6057 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.206e-05/0.01132, allocations: 71.33 kB / 0.6057 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.01133, allocations: 4 kB / 0.6057 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.01135, allocations: 7.422 kB / 0.6057 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.01163, allocations: 115.8 kB / 0.6059 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.01164, allocations: 4 kB / 0.6059 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.01174, allocations: 16 kB / 0.6059 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.01176, allocations: 19.98 kB / 0.6059 GB, free: 7.66 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 artery.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real tissueCompartment.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real RBC.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real RBC.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real RBC.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real RBC.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.RBC.Cmin,RBC.Cmin,$PRE.RBC.Cmax,RBC.Cmax,$PRE.RBC.rising,$PRE.singleDose.pulse.count,$PRE.singleDose.pulse.T_start,RBC.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.0002018/0.01197, allocations: 189.3 kB / 0.6061 GB, free: 7.457 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.012, allocations: 27.92 kB / 0.6061 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.01227, allocations: 231.2 kB / 0.6063 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.01227, allocations: 4 kB / 0.6063 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.01228, allocations: 0 / 0.6063 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.01228, allocations: 0 / 0.6063 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.01274, allocations: 453.4 kB / 0.6068 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.01275, allocations: 3.984 kB / 0.6068 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.01294, allocations: 51.97 kB / 0.6068 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.01294, allocations: 4 kB / 0.6068 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.01296, allocations: 7.984 kB / 0.6068 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.01296, allocations: 7.938 kB / 0.6068 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01296, allocations: 0 / 0.6068 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.01336, allocations: 405.1 kB / 0.6072 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.0134, allocations: 15.86 kB / 0.6072 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.01345, allocations: 8 kB / 0.6072 GB, free: 6.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.01358, allocations: 19.98 kB / 0.6073 GB, free: 6.164 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.01363, allocations: 23.95 kB / 0.6073 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.01364, allocations: 4 kB / 0.6073 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.805e-05/0.01369, allocations: 56.78 kB / 0.6073 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.01369, allocations: 0 / 0.6073 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002112/0.0139, allocations: 83.94 kB / 0.6074 GB, free: 5.996 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,artery.M,artery.AUC,tissueCompartment.M,tissueCompartment.AUC,RBC.C,RBC.AUC) * Number of discrete variables: 8 ($whenCondition3,$whenCondition1,$whenCondition2,singleDose.pulse.T_start,singleDose.pulse.count,RBC.Cmax,RBC.Cmin,RBC.rising) * Number of discrete states: 6 (singleDose.pulse.count,RBC.Cmin,$whenCondition2,RBC.Cmax,$whenCondition1,RBC.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.453e-05/0.01398, allocations: 96.3 kB / 0.6075 GB, free: 5.895 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002836/0.01427, allocations: 362.9 kB / 0.6079 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.01427, allocations: 4 kB / 0.6079 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.01438, allocations: 161.9 kB / 0.608 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.01464, allocations: 79.89 kB / 0.6081 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.01597, allocations: 0.7163 MB / 0.6088 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.157e-05/0.01603, allocations: 92.3 kB / 0.6089 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.916e-05/0.01613, allocations: 30.23 kB / 0.6089 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.01631, allocations: 131.3 kB / 0.609 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of SimCode: time 6.61e-07/0.01631, allocations: 0 / 0.609 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of Templates: time 0.3564/0.3727, allocations: 4.464 MB / 0.6134 GB, free: 53.69 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.087004445958883]