Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA07_Rosuvastatin.Rosuvastatin.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.001549/0.001549, allocations: 92.48 kB / 19.94 MB, free: 4.594 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.001881/0.001881, allocations: 169.9 kB / 23.21 MB, free: 1.324 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 0.9537/0.9537, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.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.7192/0.7192, allocations: 291.1 MB / 0.5382 GB, free: 51.91 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.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA07_Rosuvastatin.Rosuvastatin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA07_Rosuvastatin.Rosuvastatin") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA07_Rosuvastatin.Rosuvastatin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA07_Rosuvastatin.Rosuvastatin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.844e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA07_Rosuvastatin.Rosuvastatin): time 0.002659/0.002688, allocations: 3.011 MB / 0.7003 GB, free: 7.324 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00442/0.007108, allocations: 6.654 MB / 0.7068 GB, free: 0.6602 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002395/0.007348, allocations: 4 kB / 0.7068 GB, free: 0.6562 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.007494, allocations: 39.56 kB / 0.7068 GB, free: 0.6172 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.007757, allocations: 130.9 kB / 0.707 GB, free: 500 kB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.00802, allocations: 87.84 kB / 0.7071 GB, free: 412 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002911/0.008311, allocations: 429.9 kB / 0.7075 GB, free: 15.98 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.008482, allocations: 65.3 kB / 0.7075 GB, free: 15.92 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.008693, allocations: 219.5 kB / 0.7077 GB, free: 15.7 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.00891, allocations: 131.6 kB / 0.7079 GB, free: 15.57 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.008948, allocations: 32 kB / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.458e-05/0.008983, allocations: 36 kB / 0.7079 GB, free: 15.51 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.406e-05/0.009027, allocations: 63.7 kB / 0.708 GB, free: 15.45 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.009127, allocations: 119.7 kB / 0.7081 GB, free: 15.33 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.009438, allocations: 363 kB / 0.7084 GB, free: 14.97 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.009443, allocations: 3.938 kB / 0.7084 GB, free: 14.97 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.814e-06/0.009445, allocations: 0 / 0.7084 GB, free: 14.97 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.00945, allocations: 0 / 0.7084 GB, free: 14.97 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000795/0.01025, allocations: 0.6037 MB / 0.709 GB, free: 14.32 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.01029, allocations: 8.031 kB / 0.709 GB, free: 14.31 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.01035, allocations: 36.7 kB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.0106, allocations: 236.7 kB / 0.7093 GB, free: 14.02 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.01062, allocations: 12.88 kB / 0.7093 GB, free: 14.01 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.943e-05/0.01066, allocations: 28.33 kB / 0.7093 GB, free: 13.98 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.01102, allocations: 306.2 kB / 0.7096 GB, free: 13.65 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.01103, allocations: 4 kB / 0.7096 GB, free: 13.65 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.01105, allocations: 12 kB / 0.7097 GB, free: 13.64 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.01106, allocations: 4 kB / 0.7097 GB, free: 13.63 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.01137, allocations: 248.2 kB / 0.7099 GB, free: 13.38 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007872/0.01216, allocations: 0.6543 MB / 0.7105 GB, free: 12.69 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/0.01259, allocations: 272.1 kB / 0.7108 GB, free: 12.4 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.01276, allocations: 156.5 kB / 0.7109 GB, free: 12.23 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.01277, allocations: 4 kB / 0.7109 GB, free: 12.23 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003377/0.01311, allocations: 383.2 kB / 0.7113 GB, free: 11.81 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.883e-06/0.01311, allocations: 0 / 0.7113 GB, free: 11.81 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001351/0.01446, allocations: 1.123 MB / 0.7124 GB, free: 10.59 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.482e-05/0.01455, allocations: 225.6 kB / 0.7126 GB, free: 10.32 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.01474, allocations: 257.8 kB / 0.7129 GB, free: 10.06 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.01477, allocations: 37.7 kB / 0.7129 GB, free: 10.02 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.104e-05/0.01485, allocations: 156.8 kB / 0.7131 GB, free: 9.859 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.463e-05/0.01491, allocations: 123 kB / 0.7132 GB, free: 9.738 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.879e-05/0.01499, allocations: 70.16 kB / 0.7132 GB, free: 9.664 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 9.213e-05/0.01508, allocations: 346.7 kB / 0.7136 GB, free: 9.316 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.01529, allocations: 219.9 kB / 0.7138 GB, free: 9.082 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.01552, allocations: 326.8 kB / 0.7141 GB, free: 8.695 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003725/0.01589, allocations: 458.2 kB / 0.7145 GB, free: 8.18 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.01589, allocations: 0 / 0.7145 GB, free: 8.18 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005242/0.01642, allocations: 0.573 MB / 0.7151 GB, free: 7.562 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.37e-05/0.01647, allocations: 93.09 kB / 0.7152 GB, free: 7.453 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.01648, allocations: 4.344 kB / 0.7152 GB, free: 7.449 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.0165, allocations: 8 kB / 0.7152 GB, free: 7.441 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.01668, allocations: 83.83 kB / 0.7153 GB, free: 7.359 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.01669, allocations: 4 kB / 0.7153 GB, free: 7.355 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.01681, allocations: 23.97 kB / 0.7153 GB, free: 7.332 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.01683, allocations: 16 kB / 0.7153 GB, free: 7.316 MB / 426.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.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: 21 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.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 (50): * Single equations (assignments): 47 * 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.0002275/0.01705, allocations: 252.2 kB / 0.7155 GB, free: 7.051 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.01709, allocations: 31.81 kB / 0.7156 GB, free: 7.02 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/0.01713, allocations: 34.95 kB / 0.7156 GB, free: 6.984 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.01714, allocations: 4 kB / 0.7156 GB, free: 6.98 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.01714, allocations: 0 / 0.7156 GB, free: 6.98 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.01715, allocations: 3.984 kB / 0.7156 GB, free: 6.977 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007794/0.01793, allocations: 0.8173 MB / 0.7164 GB, free: 6.102 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01793, allocations: 0 / 0.7164 GB, free: 6.102 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.0181, allocations: 59.91 kB / 0.7165 GB, free: 6.043 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.01811, allocations: 4 kB / 0.7165 GB, free: 6.039 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.01813, allocations: 11.98 kB / 0.7165 GB, free: 6.027 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.01813, allocations: 0 / 0.7165 GB, free: 6.027 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.01813, allocations: 0 / 0.7165 GB, free: 6.027 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000665/0.0188, allocations: 0.7717 MB / 0.7172 GB, free: 5.203 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.277e-05/0.01888, allocations: 51.78 kB / 0.7173 GB, free: 5.152 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.01892, allocations: 16 kB / 0.7173 GB, free: 5.137 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.01902, allocations: 19.98 kB / 0.7173 GB, free: 5.117 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.142e-05/0.01911, allocations: 35.94 kB / 0.7174 GB, free: 5.082 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.01912, allocations: 11.94 kB / 0.7174 GB, free: 5.07 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001243/0.01925, allocations: 185.2 kB / 0.7175 GB, free: 4.891 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01925, allocations: 3.938 kB / 0.7176 GB, free: 4.887 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002428/0.01949, allocations: 84 kB / 0.7176 GB, free: 4.805 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * 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.0001251/0.01961, allocations: 126.9 kB / 0.7178 GB, free: 4.676 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005159/0.02013, allocations: 0.5881 MB / 0.7183 GB, free: 4.02 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.02013, allocations: 4 kB / 0.7183 GB, free: 4.016 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.02035, allocations: 314.1 kB / 0.7186 GB, free: 3.672 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.02072, allocations: 85.12 kB / 0.7187 GB, free: 3.586 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.02183, allocations: 0.8907 MB / 0.7196 GB, free: 2.652 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.02194, allocations: 168.2 kB / 0.7197 GB, free: 2.465 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.343e-05/0.02201, allocations: 32.5 kB / 0.7198 GB, free: 2.434 MB / 426.8 MB Notification: Performance of SimCode: time 8.22e-07/0.02201, allocations: 4 kB / 0.7198 GB, free: 2.43 MB / 426.8 MB Notification: Performance of Templates: time 0.1859/0.2079, allocations: 4.366 MB / 0.724 GB, free: 35.4 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA07_Rosuvastatin.Rosuvastatin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA07_Rosuvastatin.Rosuvastatin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA07_Rosuvastatin.Rosuvastatin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA07_Rosuvastatin.Rosuvastatin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA07_Rosuvastatin.Rosuvastatin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA07_Rosuvastatin.Rosuvastatin > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA07_Rosuvastatin.Rosuvastatin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.600088621489704]