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.0009521/0.0009521, 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.001014/0.001014, 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.043/1.043, allocations: 177.2 MB / 203.8 MB, free: 5.492 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.707/1.707, allocations: 273.5 MB / 0.5213 GB, free: 14.74 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.423e-06/1.423e-06, allocations: 0 / 0.5954 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.246e-05, allocations: 6.312 kB / 0.5954 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseLumen): time 0.0031/0.003123, allocations: 2.977 MB / 0.5983 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.004423, allocations: 0.7528 MB / 0.5991 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.004531, allocations: 0 / 0.5991 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 7.519e-05/0.004606, allocations: 43.56 kB / 0.5991 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.004902, allocations: 113.9 kB / 0.5992 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.005207, allocations: 99.73 kB / 0.5993 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003858/0.005593, allocations: 422.8 kB / 0.5997 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.005879, allocations: 218.7 kB / 0.5999 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.006158, allocations: 255.5 kB / 0.6002 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.006379, allocations: 143.6 kB / 0.6003 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.006424, allocations: 32 kB / 0.6003 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 4.224e-05/0.006467, allocations: 36 kB / 0.6004 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.929e-05/0.006526, allocations: 79.73 kB / 0.6005 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.006631, allocations: 143.7 kB / 0.6006 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.006906, allocations: 259.1 kB / 0.6008 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.006909, allocations: 4 kB / 0.6008 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.332e-06/0.00691, allocations: 0 / 0.6008 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.006915, allocations: 0 / 0.6008 GB, free: 13.32 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.0007015/0.007617, allocations: 0.5399 MB / 0.6014 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.007655, allocations: 16.02 kB / 0.6014 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.03e-05/0.007725, allocations: 48.84 kB / 0.6014 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.007952, allocations: 177.2 kB / 0.6016 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.007985, allocations: 25.02 kB / 0.6016 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.008029, allocations: 32.36 kB / 0.6017 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.008367, allocations: 331 kB / 0.602 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.008383, allocations: 11.59 kB / 0.602 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.0084, allocations: 8 kB / 0.602 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.008408, allocations: 8 kB / 0.602 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.008564, allocations: 139 kB / 0.6021 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00083/0.009394, allocations: 0.5897 MB / 0.6027 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.009656, allocations: 148.4 kB / 0.6029 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.009722, allocations: 74.77 kB / 0.6029 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.009739, allocations: 8 kB / 0.6029 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.009941, allocations: 213.5 kB / 0.6031 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001356/0.01008, allocations: 47.75 kB / 0.6032 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.01008, allocations: 0 / 0.6032 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.0007502/0.01083, allocations: 0.5907 MB / 0.6038 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.01088, allocations: 140.5 kB / 0.6039 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.01099, allocations: 188 kB / 0.6041 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.01101, allocations: 29.7 kB / 0.6041 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.199e-05/0.01109, allocations: 160.6 kB / 0.6043 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.021e-05/0.01115, allocations: 107.1 kB / 0.6044 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.455e-05/0.01122, allocations: 73.94 kB / 0.6044 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.553e-05/0.01131, allocations: 338.8 kB / 0.6047 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.308e-05/0.01139, allocations: 113.7 kB / 0.6049 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.01151, allocations: 223.4 kB / 0.6051 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.01178, allocations: 384.2 kB / 0.6054 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01178, allocations: 0 / 0.6054 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0002813/0.01206, allocations: 324.8 kB / 0.6057 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.246e-05/0.0121, allocations: 63.69 kB / 0.6058 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.01211, allocations: 11.98 kB / 0.6058 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.01213, allocations: 4 kB / 0.6058 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.01238, allocations: 108.5 kB / 0.6059 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.01239, allocations: 7.984 kB / 0.6059 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.671e-05/0.01248, allocations: 23.94 kB / 0.606 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.0125, allocations: 15.92 kB / 0.606 GB, free: 7.609 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.0001732/0.01267, allocations: 190 kB / 0.6062 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.01271, allocations: 35.91 kB / 0.6062 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.01295, allocations: 243.5 kB / 0.6064 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01296, allocations: 0 / 0.6064 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.01296, allocations: 0 / 0.6064 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01296, allocations: 0 / 0.6064 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.0134, allocations: 433.6 kB / 0.6068 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.0134, allocations: 0 / 0.6068 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.01359, allocations: 67.89 kB / 0.6069 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.0136, allocations: 0 / 0.6069 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.01362, allocations: 11.98 kB / 0.6069 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.01362, allocations: 0 / 0.6069 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01362, allocations: 0 / 0.6069 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.01396, allocations: 409.1 kB / 0.6073 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.01398, allocations: 19.66 kB / 0.6073 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.01401, allocations: 11.95 kB / 0.6073 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.165e-05/0.0141, allocations: 15.92 kB / 0.6073 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.01416, allocations: 27.95 kB / 0.6074 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.01417, allocations: 4 kB / 0.6074 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.638e-05/0.01421, allocations: 60.23 kB / 0.6074 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01421, allocations: 0 / 0.6074 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000209/0.01442, allocations: 83.94 kB / 0.6075 GB, free: 5.941 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.797e-05/0.01451, allocations: 84.42 kB / 0.6076 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002665/0.01478, allocations: 366.3 kB / 0.6079 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.01478, allocations: 4 kB / 0.6079 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.01496, allocations: 165.8 kB / 0.6081 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.01522, allocations: 87.56 kB / 0.6082 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.01663, allocations: 0.7404 MB / 0.6089 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.589e-05/0.01669, allocations: 88.62 kB / 0.609 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001113/0.0168, allocations: 38.58 kB / 0.609 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.01698, allocations: 127.3 kB / 0.6092 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of SimCode: time 1.142e-06/0.01699, allocations: 4 kB / 0.6092 GB, free: 4.137 MB / 0.5261 GB Notification: Performance of Templates: time 0.3928/0.4098, allocations: 4.613 MB / 0.6137 GB, free: 53.57 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.286534138023853]