Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C03X_OtherDiuretics.C03XA01_Tolvaptan.Tolvaptan.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.001064/0.001064, allocations: 92.52 kB / 19.94 MB, free: 4.602 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.0009541/0.0009541, allocations: 165.9 kB / 23.21 MB, free: 1.332 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.041/1.041, allocations: 177.1 MB / 203.5 MB, free: 5.766 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.7362/0.7362, allocations: 291.1 MB / 0.5382 GB, free: 51.89 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.C03X_OtherDiuretics.C03XA01_Tolvaptan.Tolvaptan,tolerance=1e-09,outputFormat="empty",numberOfIntervals=129600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C03X_OtherDiuretics.C03XA01_Tolvaptan.Tolvaptan") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C03X_OtherDiuretics.C03XA01_Tolvaptan.Tolvaptan,tolerance=1e-09,outputFormat="empty",numberOfIntervals=129600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C03X_OtherDiuretics.C03XA01_Tolvaptan.Tolvaptan") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.089e-05, allocations: 6.219 kB / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C03X_OtherDiuretics.C03XA01_Tolvaptan.Tolvaptan): time 0.0024/0.00242, allocations: 3.015 MB / 0.7003 GB, free: 7.355 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003746/0.006167, allocations: 6.646 MB / 0.7068 GB, free: 0.6992 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.00629, allocations: 4 kB / 0.7068 GB, free: 0.6953 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.006412, allocations: 39.56 kB / 0.7068 GB, free: 0.6562 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.00661, allocations: 127 kB / 0.707 GB, free: 0.5312 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.006824, allocations: 95.77 kB / 0.7071 GB, free: 448 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.007056, allocations: 429.9 kB / 0.7075 GB, free: 16 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.007213, allocations: 66 kB / 0.7075 GB, free: 15.95 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.007389, allocations: 219.5 kB / 0.7077 GB, free: 15.74 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.007584, allocations: 131.6 kB / 0.7079 GB, free: 15.61 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.007619, allocations: 28 kB / 0.7079 GB, free: 15.58 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.314e-05/0.007652, allocations: 36 kB / 0.7079 GB, free: 15.55 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.018e-05/0.007692, allocations: 63.7 kB / 0.708 GB, free: 15.48 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.41e-05/0.007786, allocations: 127.7 kB / 0.7081 GB, free: 15.36 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.00805, allocations: 359 kB / 0.7084 GB, free: 15.01 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.008054, allocations: 4 kB / 0.7085 GB, free: 15 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.092e-06/0.008055, allocations: 0 / 0.7085 GB, free: 15 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.00806, allocations: 0 / 0.7085 GB, free: 15 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.0007156/0.008776, allocations: 0.5998 MB / 0.709 GB, free: 14.36 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.008811, allocations: 8.031 kB / 0.709 GB, free: 14.35 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.175e-05/0.008873, allocations: 44.62 kB / 0.7091 GB, free: 14.3 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.009347, allocations: 228.7 kB / 0.7093 GB, free: 14.06 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.009365, allocations: 12.88 kB / 0.7093 GB, free: 14.05 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.009403, allocations: 28.33 kB / 0.7093 GB, free: 14.02 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.009742, allocations: 306.2 kB / 0.7096 GB, free: 13.69 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.009756, allocations: 3.938 kB / 0.7096 GB, free: 13.69 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.009775, allocations: 15.94 kB / 0.7097 GB, free: 13.67 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.009781, allocations: 4 kB / 0.7097 GB, free: 13.67 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.01006, allocations: 244.2 kB / 0.7099 GB, free: 13.42 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007231/0.01079, allocations: 0.6582 MB / 0.7105 GB, free: 12.72 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.01119, allocations: 270 kB / 0.7108 GB, free: 12.44 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.01134, allocations: 156.5 kB / 0.7109 GB, free: 12.27 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.01135, allocations: 7.984 kB / 0.711 GB, free: 12.26 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003126/0.01166, allocations: 379.3 kB / 0.7113 GB, free: 11.84 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.853e-06/0.01167, allocations: 0 / 0.7113 GB, free: 11.84 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001261/0.01293, allocations: 1.123 MB / 0.7124 GB, free: 10.62 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.668e-05/0.013, allocations: 217.6 kB / 0.7126 GB, free: 10.36 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.01318, allocations: 261.8 kB / 0.7129 GB, free: 10.1 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.0132, allocations: 33.7 kB / 0.7129 GB, free: 10.06 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.01328, allocations: 152.9 kB / 0.713 GB, free: 9.902 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.985e-05/0.01334, allocations: 127 kB / 0.7132 GB, free: 9.777 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/0.01342, allocations: 74.14 kB / 0.7132 GB, free: 9.699 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.422e-05/0.0135, allocations: 342.8 kB / 0.7136 GB, free: 9.355 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.0137, allocations: 219.9 kB / 0.7138 GB, free: 9.121 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.01392, allocations: 330.8 kB / 0.7141 GB, free: 8.73 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.01428, allocations: 458.2 kB / 0.7145 GB, free: 8.215 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01428, allocations: 0 / 0.7145 GB, free: 8.215 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004995/0.01478, allocations: 0.573 MB / 0.7151 GB, free: 7.598 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.01483, allocations: 95.75 kB / 0.7152 GB, free: 7.488 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01484, allocations: 4.344 kB / 0.7152 GB, free: 7.484 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.01485, allocations: 8 kB / 0.7152 GB, free: 7.477 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.01502, allocations: 83.83 kB / 0.7153 GB, free: 7.395 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.01503, allocations: 7.984 kB / 0.7153 GB, free: 7.387 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.01514, allocations: 19.98 kB / 0.7153 GB, free: 7.367 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.01516, allocations: 16 kB / 0.7153 GB, free: 7.352 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.0002018/0.01536, allocations: 250.4 kB / 0.7155 GB, free: 7.09 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.01539, allocations: 31.81 kB / 0.7156 GB, free: 7.059 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.01543, allocations: 30.95 kB / 0.7156 GB, free: 7.027 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.01543, allocations: 4 kB / 0.7156 GB, free: 7.023 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01544, allocations: 0 / 0.7156 GB, free: 7.023 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.01544, allocations: 3.984 kB / 0.7156 GB, free: 7.02 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000979/0.01642, allocations: 0.8212 MB / 0.7164 GB, free: 6.141 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01642, allocations: 0 / 0.7164 GB, free: 6.141 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.01658, allocations: 55.97 kB / 0.7165 GB, free: 6.086 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.01658, allocations: 7.984 kB / 0.7165 GB, free: 6.078 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.0166, allocations: 8 kB / 0.7165 GB, free: 6.07 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.0166, allocations: 7.938 kB / 0.7165 GB, free: 6.062 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.0166, allocations: 3.938 kB / 0.7165 GB, free: 6.059 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006308/0.01724, allocations: 0.7678 MB / 0.7172 GB, free: 5.238 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.65e-05/0.01731, allocations: 55.77 kB / 0.7173 GB, free: 5.184 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.01735, allocations: 16 kB / 0.7173 GB, free: 5.168 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.98e-05/0.01745, allocations: 23.97 kB / 0.7173 GB, free: 5.145 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/0.01752, allocations: 31.95 kB / 0.7174 GB, free: 5.113 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.01754, allocations: 11.94 kB / 0.7174 GB, free: 5.102 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001087/0.01764, allocations: 185.2 kB / 0.7176 GB, free: 4.922 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01764, allocations: 0 / 0.7176 GB, free: 4.922 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000222/0.01787, allocations: 88 kB / 0.7176 GB, free: 4.836 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.0001094/0.01798, allocations: 122.9 kB / 0.7178 GB, free: 4.711 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004804/0.01846, allocations: 0.5881 MB / 0.7183 GB, free: 4.055 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01846, allocations: 0 / 0.7183 GB, free: 4.055 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.01867, allocations: 314.1 kB / 0.7186 GB, free: 3.711 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.01901, allocations: 85.12 kB / 0.7187 GB, free: 3.625 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.02002, allocations: 0.8971 MB / 0.7196 GB, free: 2.688 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.566e-05/0.02011, allocations: 164.2 kB / 0.7197 GB, free: 2.504 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.571e-05/0.02018, allocations: 32.5 kB / 0.7198 GB, free: 2.473 MB / 426.8 MB Notification: Performance of SimCode: time 6.21e-07/0.02018, allocations: 0 / 0.7198 GB, free: 2.473 MB / 426.8 MB Notification: Performance of Templates: time 0.1741/0.1943, allocations: 4.371 MB / 0.724 GB, free: 36.27 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C03X_OtherDiuretics.C03XA01_Tolvaptan.Tolvaptan.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C03X_OtherDiuretics.C03XA01_Tolvaptan.Tolvaptan.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C03X_OtherDiuretics.C03XA01_Tolvaptan.Tolvaptan.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C03X_OtherDiuretics.C03XA01_Tolvaptan.Tolvaptan.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C03X_OtherDiuretics.C03XA01_Tolvaptan.Tolvaptan.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C03X_OtherDiuretics.C03XA01_Tolvaptan.Tolvaptan > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C03X_OtherDiuretics.C03XA01_Tolvaptan.Tolvaptan.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.908834113739431]