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.0008875/0.0008875, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00133/0.002218, allocations: 443.8 kB / 10.3 MB, free: 400 kB / 10.45 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.0008885/0.0008885, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009825/0.001871, allocations: 463.6 kB / 11.64 MB, free: 2.527 MB / 13.93 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 0.9887/0.9887, allocations: 177.2 MB / 189.5 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08591/1.075, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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 0.7514/0.7514, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05958/0.8109, allocations: 21.04 MB / 0.5431 GB, free: 31.96 MB / 410.7 MB " [Timeout remaining time 179] 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.783e-06/1.783e-06, allocations: 0 / 0.5444 GB, free: 30.69 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.875e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol): time 0.00379/0.003808, allocations: 3.384 MB / 0.5477 GB, free: 27.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.005735, allocations: 1.543 MB / 0.5492 GB, free: 25.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.00587, allocations: 7.938 kB / 0.5492 GB, free: 25.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005688/0.006439, allocations: 256.9 kB / 0.5494 GB, free: 25.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.006736, allocations: 186.8 kB / 0.5496 GB, free: 25.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005479/0.007284, allocations: 267 kB / 0.5499 GB, free: 25.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004315/0.007716, allocations: 0.4901 MB / 0.5503 GB, free: 24.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.007879, allocations: 85.27 kB / 0.5504 GB, free: 24.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003801/0.008259, allocations: 360.4 kB / 0.5508 GB, free: 24.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.008459, allocations: 135.5 kB / 0.5509 GB, free: 23.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.248e-05/0.008531, allocations: 40 kB / 0.5509 GB, free: 23.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005295/0.009061, allocations: 387.1 kB / 0.5513 GB, free: 23.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.00925, allocations: 326.9 kB / 0.5516 GB, free: 23.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.009444, allocations: 199 kB / 0.5518 GB, free: 23.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000954/0.0104, allocations: 1.016 MB / 0.5528 GB, free: 22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.527e-05/0.01041, allocations: 0 / 0.5528 GB, free: 22 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01041, allocations: 0 / 0.5528 GB, free: 22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.04e-05/0.01043, allocations: 0 / 0.5528 GB, free: 22 MB / 410.7 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.001677/0.01211, allocations: 1.76 MB / 0.5545 GB, free: 20.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.01215, allocations: 15.89 kB / 0.5545 GB, free: 20.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000673/0.01282, allocations: 0.6798 MB / 0.5552 GB, free: 19.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.01327, allocations: 0.5951 MB / 0.5558 GB, free: 18.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.01329, allocations: 24.88 kB / 0.5558 GB, free: 18.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.01333, allocations: 32.33 kB / 0.5558 GB, free: 18.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.01358, allocations: 278.3 kB / 0.5561 GB, free: 18.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.01359, allocations: 192 / 0.5561 GB, free: 18.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.01361, allocations: 16.36 kB / 0.5561 GB, free: 18.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.01362, allocations: 7.938 kB / 0.5561 GB, free: 18.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.01375, allocations: 165.2 kB / 0.5563 GB, free: 18.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007587/0.01451, allocations: 0.8492 MB / 0.5571 GB, free: 17.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.01472, allocations: 237.8 kB / 0.5573 GB, free: 17.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.257e-05/0.01478, allocations: 115.9 kB / 0.5574 GB, free: 17.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.01479, allocations: 4 kB / 0.5575 GB, free: 17.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.01496, allocations: 349.9 kB / 0.5578 GB, free: 16.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 2.104e-06/0.01496, allocations: 0 / 0.5578 GB, free: 16.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=38): time 0.0008754/0.01584, allocations: 1.097 MB / 0.5589 GB, free: 15.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.01587, allocations: 221.6 kB / 0.5591 GB, free: 15.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2052/0.2211, allocations: 1.625 MB / 0.5607 GB, free: 81.89 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.328e-05/0.2212, allocations: 38.73 kB / 0.5607 GB, free: 81.86 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.2214, allocations: 322.1 kB / 0.561 GB, free: 81.77 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.694e-05/0.2214, allocations: 126.1 kB / 0.5611 GB, free: 81.77 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.586e-05/0.2215, allocations: 89.44 kB / 0.5612 GB, free: 81.75 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.111e-05/0.2216, allocations: 326.1 kB / 0.5615 GB, free: 81.45 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.2217, allocations: 162 kB / 0.5617 GB, free: 81.34 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.2218, allocations: 461.5 kB / 0.5621 GB, free: 80.88 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.222, allocations: 373.2 kB / 0.5625 GB, free: 80.61 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.222, allocations: 1.125 kB / 0.5625 GB, free: 80.61 MB / 410.8 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005558/0.2226, allocations: 0.7525 MB / 0.5632 GB, free: 80.36 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.2226, allocations: 94.08 kB / 0.5633 GB, free: 80.26 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2226, allocations: 2.219 kB / 0.5633 GB, free: 80.26 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2227, allocations: 6.203 kB / 0.5633 GB, free: 80.26 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.2229, allocations: 123.6 kB / 0.5634 GB, free: 80.26 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2229, allocations: 7.453 kB / 0.5634 GB, free: 80.26 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.2231, allocations: 21.05 kB / 0.5634 GB, free: 80.26 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.764e-05/0.2232, allocations: 51.61 kB / 0.5635 GB, free: 80.26 MB / 410.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,CYP2D6.status,CYP3A4.status,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) * 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.0001979/0.2234, allocations: 228.8 kB / 0.5637 GB, free: 80.08 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.2236, allocations: 232.5 kB / 0.5639 GB, free: 80.07 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.2237, allocations: 139.1 kB / 0.5641 GB, free: 80.05 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2237, allocations: 4.188 kB / 0.5641 GB, free: 80.05 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.2237, allocations: 2.234 kB / 0.5641 GB, free: 80.05 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2237, allocations: 2.516 kB / 0.5641 GB, free: 80.05 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007077/0.2244, allocations: 0.8474 MB / 0.5649 GB, free: 79.7 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2244, allocations: 1.531 kB / 0.5649 GB, free: 79.7 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.2246, allocations: 90.17 kB / 0.565 GB, free: 79.7 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.2247, allocations: 136 kB / 0.5651 GB, free: 79.63 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2248, allocations: 1.875 kB / 0.5651 GB, free: 79.63 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.2248, allocations: 13.75 kB / 0.5651 GB, free: 79.63 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2248, allocations: 1.938 kB / 0.5651 GB, free: 79.63 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2248, allocations: 0.6094 kB / 0.5651 GB, free: 79.63 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005558/0.2253, allocations: 0.8315 MB / 0.566 GB, free: 79.25 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.766e-05/0.2254, allocations: 18.05 kB / 0.566 GB, free: 79.25 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.2255, allocations: 14.58 kB / 0.566 GB, free: 79.25 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.2256, allocations: 33.58 kB / 0.566 GB, free: 79.25 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/0.2256, allocations: 48.42 kB / 0.5661 GB, free: 79.25 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.000658/0.2263, allocations: 0.8695 MB / 0.5669 GB, free: 79.19 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2263, allocations: 0 / 0.5669 GB, free: 79.19 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003172/0.2266, allocations: 141.1 kB / 0.567 GB, free: 79.19 MB / 410.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.0002667/0.2269, allocations: 251.7 kB / 0.5673 GB, free: 79.12 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003203/0.2272, allocations: 0.5099 MB / 0.5678 GB, free: 78.77 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/0.2272, allocations: 16.97 kB / 0.5678 GB, free: 78.77 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.2274, allocations: 287.1 kB / 0.5681 GB, free: 78.57 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.2278, allocations: 175.5 kB / 0.5682 GB, free: 78.56 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00808/0.2358, allocations: 2.235 MB / 0.5704 GB, free: 77.54 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.2362, allocations: 0.6169 MB / 0.571 GB, free: 77.43 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.2365, allocations: 159.7 kB / 0.5712 GB, free: 77.38 MB / 410.8 MB Notification: Performance of SimCode: time 6.01e-07/0.2365, allocations: 0 / 0.5712 GB, free: 77.38 MB / 410.8 MB Notification: Performance of Templates: time 0.01044/0.2469, allocations: 13.72 MB / 0.5846 GB, free: 71.35 MB / 410.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 > Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.97748633287847]