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.001903/0.001903, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.002019/0.002019, allocations: 165.9 kB / 22.45 MB, free: 2.105 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.588/1.588, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.609/3.609, allocations: 274 MB / 0.5207 GB, free: 14.86 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.SingleDoseDiffusion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion") translateModel(Pharmacolibrary.DevModels.SingleDoseDiffusion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 1.531 kB / 0.7563 GB, free: 9.883 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/2.985e-05, allocations: 2.281 kB / 0.7563 GB, free: 9.879 MB / 0.5887 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseDiffusion): time 0.004549/0.004579, allocations: 2.684 MB / 0.7589 GB, free: 7.215 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.002199/0.006778, allocations: 0.7215 MB / 0.7596 GB, free: 6.5 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/0.006972, allocations: 4 kB / 0.7596 GB, free: 6.496 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.007114, allocations: 39.62 kB / 0.7596 GB, free: 6.457 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003868/0.007501, allocations: 115.7 kB / 0.7597 GB, free: 6.367 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.007858, allocations: 95.73 kB / 0.7598 GB, free: 6.273 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.0005391/0.008397, allocations: 406 kB / 0.7602 GB, free: 5.875 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003997/0.008797, allocations: 200 kB / 0.7604 GB, free: 5.684 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003744/0.009171, allocations: 247.6 kB / 0.7606 GB, free: 5.441 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003083/0.00948, allocations: 155.5 kB / 0.7608 GB, free: 5.289 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 7.386e-05/0.009554, allocations: 36 kB / 0.7608 GB, free: 5.254 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.462e-05/0.009628, allocations: 36 kB / 0.7609 GB, free: 5.219 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/0.009721, allocations: 71.73 kB / 0.7609 GB, free: 5.148 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.009923, allocations: 139.7 kB / 0.7611 GB, free: 5.012 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005218/0.01045, allocations: 374.9 kB / 0.7614 GB, free: 4.645 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/0.01045, allocations: 8 kB / 0.7614 GB, free: 4.637 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.214e-06/0.01046, allocations: 0 / 0.7614 GB, free: 4.637 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.01046, allocations: 0 / 0.7614 GB, free: 4.637 MB / 0.5887 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.001324/0.01179, allocations: 0.5764 MB / 0.762 GB, free: 4.016 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.01183, allocations: 8.031 kB / 0.762 GB, free: 4.008 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.01194, allocations: 32.75 kB / 0.762 GB, free: 3.977 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005034/0.01244, allocations: 236.1 kB / 0.7623 GB, free: 3.719 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.01247, allocations: 24.97 kB / 0.7623 GB, free: 3.695 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.708e-05/0.01254, allocations: 28.38 kB / 0.7623 GB, free: 3.668 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007712/0.01331, allocations: 406.3 kB / 0.7627 GB, free: 3.246 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.01333, allocations: 3.938 kB / 0.7627 GB, free: 3.242 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.808e-05/0.01337, allocations: 12 kB / 0.7627 GB, free: 3.23 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.01338, allocations: 4 kB / 0.7627 GB, free: 3.227 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006309/0.01401, allocations: 259.5 kB / 0.763 GB, free: 2.969 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.01577, allocations: 0.78 MB / 0.7637 GB, free: 2.152 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007273/0.01649, allocations: 224.5 kB / 0.7639 GB, free: 1.914 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.01679, allocations: 125.8 kB / 0.7641 GB, free: 1.785 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/0.01683, allocations: 8 kB / 0.7641 GB, free: 1.777 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006297/0.01746, allocations: 273.4 kB / 0.7643 GB, free: 1.48 MB / 0.5887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002423/0.0177, allocations: 43.77 kB / 0.7644 GB, free: 1.438 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=30): time 2.104e-06/0.0177, allocations: 0 / 0.7644 GB, free: 1.438 MB / 0.5887 GB Notification: Performance of matching and sorting (n=31): time 0.002187/0.01989, allocations: 0.8924 MB / 0.7652 GB, free: 500 kB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.02, allocations: 136.5 kB / 0.7654 GB, free: 332 kB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.02023, allocations: 191.2 kB / 0.7656 GB, free: 128 kB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.02027, allocations: 33.7 kB / 0.7656 GB, free: 88 kB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.02042, allocations: 160.6 kB / 0.7657 GB, free: 15.92 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.02053, allocations: 107.1 kB / 0.7658 GB, free: 15.82 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.02067, allocations: 74 kB / 0.7659 GB, free: 15.73 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.02086, allocations: 338.8 kB / 0.7662 GB, free: 15.39 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.02122, allocations: 177.6 kB / 0.7664 GB, free: 15.2 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004428/0.02166, allocations: 287.4 kB / 0.7667 GB, free: 14.87 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/0.02352, allocations: 0.7223 MB / 0.7674 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.02353, allocations: 0 / 0.7674 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009887/0.02452, allocations: 0.4932 MB / 0.7679 GB, free: 13.55 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 7.291e-05/0.02459, allocations: 71.33 kB / 0.7679 GB, free: 13.46 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.0246, allocations: 4 kB / 0.7679 GB, free: 13.46 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.02462, allocations: 4 kB / 0.7679 GB, free: 13.46 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000414/0.02504, allocations: 83.88 kB / 0.768 GB, free: 13.38 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.02505, allocations: 4.344 kB / 0.768 GB, free: 13.37 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.02529, allocations: 27.98 kB / 0.7681 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/0.02534, allocations: 16 kB / 0.7681 GB, free: 13.33 MB / 0.6043 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.0003475/0.02568, allocations: 223.4 kB / 0.7683 GB, free: 13.1 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.02573, allocations: 23.84 kB / 0.7683 GB, free: 13.08 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008641/0.0266, allocations: 385 kB / 0.7687 GB, free: 12.69 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.02661, allocations: 4 kB / 0.7687 GB, free: 12.69 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.02662, allocations: 0 / 0.7687 GB, free: 12.69 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.02662, allocations: 0 / 0.7687 GB, free: 12.69 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.02789, allocations: 0.6575 MB / 0.7693 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.0279, allocations: 0 / 0.7693 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003395/0.02824, allocations: 55.91 kB / 0.7694 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.02824, allocations: 0 / 0.7694 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.02827, allocations: 15.92 kB / 0.7694 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.02827, allocations: 0 / 0.7694 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.02828, allocations: 0 / 0.7694 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.0295, allocations: 0.5995 MB / 0.77 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.02955, allocations: 11.91 kB / 0.77 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.0296, allocations: 12 kB / 0.77 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.02981, allocations: 15.98 kB / 0.77 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.02993, allocations: 23.95 kB / 0.77 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.02995, allocations: 8 kB / 0.77 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.0001764/0.03013, allocations: 143.2 kB / 0.7702 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of sort global known variables: time 9e-08/0.03013, allocations: 0 / 0.7702 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0004337/0.03056, allocations: 84 kB / 0.7703 GB, free: 10.98 MB / 0.6043 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 0.0002076/0.03077, allocations: 113.8 kB / 0.7704 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0008978/0.03167, allocations: 464.8 kB / 0.7708 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.03167, allocations: 0 / 0.7708 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.0003818/0.03205, allocations: 205.7 kB / 0.771 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007204/0.03277, allocations: 79.97 kB / 0.7711 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.03451, allocations: 0.8172 MB / 0.7719 GB, free: 9.25 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.03469, allocations: 158.8 kB / 0.772 GB, free: 9.074 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.0001553/0.03485, allocations: 33.75 kB / 0.7721 GB, free: 9.043 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.03495, allocations: 32.48 kB / 0.7721 GB, free: 9.012 MB / 0.6043 GB Notification: Performance of SimCode: time 8.72e-07/0.03495, allocations: 0 / 0.7721 GB, free: 9.012 MB / 0.6043 GB Notification: Performance of Templates: time 0.01027/0.04522, allocations: 3.989 MB / 0.776 GB, free: 5.23 MB / 0.6043 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 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.339897903148085]