Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol.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.001895/0.001895, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002082/0.002082, allocations: 173.9 kB / 22.46 MB, free: 2.102 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.551/1.551, allocations: 177.1 MB / 202.8 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 1.386/1.386, allocations: 292.9 MB / 0.5392 GB, free: 50.21 MB / 410.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol") translateModel(Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.6998 GB, free: 8.625 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.866e-05, allocations: 6.219 kB / 0.6998 GB, free: 8.617 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol): time 0.003664/0.003693, allocations: 3.148 MB / 0.7029 GB, free: 5.449 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.005485, allocations: 1.5 MB / 0.7043 GB, free: 3.941 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.005613, allocations: 4 kB / 0.7043 GB, free: 3.938 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000571/0.006184, allocations: 244.9 kB / 0.7046 GB, free: 3.695 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.006455, allocations: 198.8 kB / 0.7048 GB, free: 3.5 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.007006, allocations: 263 kB / 0.705 GB, free: 3.242 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003822/0.007388, allocations: 0.4939 MB / 0.7055 GB, free: 2.746 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.007553, allocations: 76.64 kB / 0.7056 GB, free: 2.664 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.007782, allocations: 259.4 kB / 0.7058 GB, free: 2.41 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.007964, allocations: 139.5 kB / 0.7059 GB, free: 2.273 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 6.587e-05/0.00803, allocations: 40 kB / 0.706 GB, free: 2.234 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004183/0.008448, allocations: 387 kB / 0.7064 GB, free: 1.855 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.008617, allocations: 346.8 kB / 0.7067 GB, free: 1.516 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.008786, allocations: 226.9 kB / 0.7069 GB, free: 1.293 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.01008, allocations: 1.507 MB / 0.7084 GB, free: 15.78 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.01009, allocations: 3.984 kB / 0.7084 GB, free: 15.78 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01009, allocations: 8 kB / 0.7084 GB, free: 15.77 MB / 426.8 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.0101, allocations: 0 / 0.7084 GB, free: 15.77 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002439/0.01254, allocations: 1.584 MB / 0.7099 GB, free: 14.13 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.01258, allocations: 8.031 kB / 0.7099 GB, free: 14.12 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005353/0.01311, allocations: 235.8 kB / 0.7102 GB, free: 13.89 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008294/0.01394, allocations: 0.6254 MB / 0.7108 GB, free: 13.23 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.01398, allocations: 20.88 kB / 0.7108 GB, free: 13.21 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.262e-05/0.01405, allocations: 36.33 kB / 0.7108 GB, free: 13.18 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.01559, allocations: 0.9 MB / 0.7117 GB, free: 12.24 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.01561, allocations: 192 / 0.7117 GB, free: 12.24 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/0.01565, allocations: 12.38 kB / 0.7117 GB, free: 12.23 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.01566, allocations: 7.938 kB / 0.7117 GB, free: 12.22 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.01708, allocations: 1.102 MB / 0.7128 GB, free: 11.08 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002611/0.01969, allocations: 1.615 MB / 0.7144 GB, free: 9.418 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.02075, allocations: 0.5809 MB / 0.7149 GB, free: 8.809 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006637/0.02142, allocations: 465.2 kB / 0.7154 GB, free: 8.332 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.02144, allocations: 4 kB / 0.7154 GB, free: 8.328 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009642/0.0224, allocations: 0.6699 MB / 0.716 GB, free: 7.605 MB / 426.8 MB Notification: Performance of pre-optimization done (n=36): time 2.625e-06/0.02241, allocations: 4 kB / 0.7161 GB, free: 7.602 MB / 426.8 MB Notification: Performance of matching and sorting (n=38): time 0.004689/0.02709, allocations: 2.953 MB / 0.7189 GB, free: 4.516 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001795/0.02727, allocations: 221.6 kB / 0.7191 GB, free: 4.25 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2478/0.2751, allocations: 2.361 MB / 0.7215 GB, free: 35.41 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-05/0.2752, allocations: 34.59 kB / 0.7215 GB, free: 35.38 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004809/0.2757, allocations: 0.6554 MB / 0.7221 GB, free: 34.88 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.2758, allocations: 129.5 kB / 0.7222 GB, free: 34.86 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.276, allocations: 87.8 kB / 0.7223 GB, free: 34.81 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 5.362e-05/0.276, allocations: 327.5 kB / 0.7226 GB, free: 34.5 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007545/0.2768, allocations: 0.7921 MB / 0.7234 GB, free: 34.15 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.2778, allocations: 1.341 MB / 0.7247 GB, free: 33.36 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.279, allocations: 1.314 MB / 0.726 GB, free: 32.71 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.279, allocations: 0.9844 kB / 0.726 GB, free: 32.71 MB / 426.8 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002177/0.2812, allocations: 1.87 MB / 0.7278 GB, free: 31.96 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.647e-05/0.2813, allocations: 95.31 kB / 0.7279 GB, free: 31.87 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.2813, allocations: 8.172 kB / 0.7279 GB, free: 31.87 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/0.2813, allocations: 9.812 kB / 0.7279 GB, free: 31.87 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.2816, allocations: 83.5 kB / 0.728 GB, free: 31.86 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.2817, allocations: 10.17 kB / 0.728 GB, free: 31.86 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.282, allocations: 21.44 kB / 0.7281 GB, free: 31.85 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.2821, allocations: 54.3 kB / 0.7281 GB, free: 31.85 MB / 426.8 MB Warning: Assuming fixed start value for the following 2 variables: dose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real dose.route.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 23 (dose.route.absorptionLumen.Cmin,$PRE.dose.route.absorptionLumen.Cmin,dose.route.absorptionLumen.Cmax,$PRE.dose.route.absorptionLumen.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,central.rising,$PRE.central.rising,dose.pulse.count,$PRE.dose.pulse.count,dose.pulse.T_start,$PRE.dose.pulse.T_start,dose.route.absorptionLumen.rising,$PRE.dose.route.absorptionLumen.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,CYP3A4.status,CYP2D6.status) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 3 * 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.000743/0.2829, allocations: 0.5853 MB / 0.7287 GB, free: 31.49 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.2831, allocations: 165.4 kB / 0.7288 GB, free: 31.41 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.2833, allocations: 166 kB / 0.729 GB, free: 31.34 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.2833, allocations: 8.609 kB / 0.729 GB, free: 31.34 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.2833, allocations: 0 / 0.729 GB, free: 31.34 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.2833, allocations: 2.688 kB / 0.729 GB, free: 31.34 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.2855, allocations: 1.807 MB / 0.7308 GB, free: 30.48 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2855, allocations: 0 / 0.7308 GB, free: 30.48 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/0.2859, allocations: 68.36 kB / 0.7308 GB, free: 30.47 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.2859, allocations: 2.828 kB / 0.7308 GB, free: 30.47 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.2859, allocations: 15.64 kB / 0.7309 GB, free: 30.46 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.2859, allocations: 6.891 kB / 0.7309 GB, free: 30.46 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2859, allocations: 0 / 0.7309 GB, free: 30.46 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.2881, allocations: 1.973 MB / 0.7328 GB, free: 29.5 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.2883, allocations: 173.3 kB / 0.733 GB, free: 29.39 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.2884, allocations: 15.55 kB / 0.733 GB, free: 29.38 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.2887, allocations: 18.73 kB / 0.733 GB, free: 29.38 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.2888, allocations: 33.56 kB / 0.733 GB, free: 29.37 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.755e-05/0.2889, allocations: 55.45 kB / 0.7331 GB, free: 29.37 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0021/0.291, allocations: 1.763 MB / 0.7348 GB, free: 28.64 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.291, allocations: 1.156 kB / 0.7348 GB, free: 28.64 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0005907/0.2916, allocations: 142.8 kB / 0.7349 GB, free: 28.63 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (dose.TotalCumulativeMass,dose.route.variableDose.TotalCumulativeMass,dose.route.absorptionLumen.C,dose.route.absorptionLumen.AUC,central.C,central.AUC,elim.MExc) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,dose.route.absorptionLumen.Cmax,dose.route.absorptionLumen.Cmin,dose.route.absorptionLumen.rising,dose.pulse.T_start,dose.pulse.count,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 11 (dose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising,dose.route.absorptionLumen.Cmin,$whenCondition5,dose.route.absorptionLumen.Cmax,$whenCondition4,dose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0004256/0.292, allocations: 264.3 kB / 0.7352 GB, free: 28.52 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.2936, allocations: 1.465 MB / 0.7366 GB, free: 27.77 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2936, allocations: 0 / 0.7366 GB, free: 27.77 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006447/0.2942, allocations: 0.618 MB / 0.7372 GB, free: 27.43 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006772/0.2949, allocations: 103.2 kB / 0.7373 GB, free: 27.38 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.2989, allocations: 2.864 MB / 0.7401 GB, free: 25.9 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006768/0.2996, allocations: 0.643 MB / 0.7407 GB, free: 25.68 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0003471/0.2999, allocations: 158 kB / 0.7409 GB, free: 25.66 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.519e-05/0.3, allocations: 33.42 kB / 0.7409 GB, free: 25.65 MB / 426.8 MB Notification: Performance of SimCode: time 1.372e-06/0.3, allocations: 3.609 kB / 0.7409 GB, free: 25.65 MB / 426.8 MB Notification: Performance of Templates: time 0.01456/0.3146, allocations: 7.608 MB / 0.7484 GB, free: 21.4 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.828817080007866]