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.0009722/0.0009722, allocations: 108.3 kB / 19.71 MB, free: 436 kB / 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.0009143/0.0009143, allocations: 217.3 kB / 23.01 MB, free: 2.973 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 1.101/1.101, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.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.7912/0.7912, allocations: 312.3 MB / 0.6108 GB, free: 97.61 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 76.67 kB / 0.7699 GB, free: 20.19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1802, allocations: 73.98 MB / 0.8421 GB, free: 10.33 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C03X_OtherDiuretics.C03XA01_Tolvaptan.Tolvaptan): time 0.003956/0.1842, allocations: 3.028 MB / 0.8451 GB, free: 7.305 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.007021/0.1912, allocations: 6.637 MB / 0.8516 GB, free: 0.668 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.1914, allocations: 4.5 kB / 0.8516 GB, free: 0.6641 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.1916, allocations: 44.12 kB / 0.8516 GB, free: 0.6211 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.192, allocations: 128.1 kB / 0.8518 GB, free: 0.4961 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.1923, allocations: 81 kB / 0.8518 GB, free: 428 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004026/0.1927, allocations: 418 kB / 0.8522 GB, free: 8 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.1929, allocations: 59.31 kB / 0.8523 GB, free: 15.95 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.1931, allocations: 151.9 kB / 0.8524 GB, free: 15.8 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.1934, allocations: 147.8 kB / 0.8526 GB, free: 15.66 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.177e-05/0.1934, allocations: 36.56 kB / 0.8526 GB, free: 15.62 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.758e-05/0.1935, allocations: 32 kB / 0.8526 GB, free: 15.59 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.1935, allocations: 60.36 kB / 0.8527 GB, free: 15.53 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.1937, allocations: 151.4 kB / 0.8528 GB, free: 15.38 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.194, allocations: 347.5 kB / 0.8532 GB, free: 15.04 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.194, allocations: 3.938 kB / 0.8532 GB, free: 15.04 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.086e-06/0.194, allocations: 0.5 kB / 0.8532 GB, free: 15.04 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.194, allocations: 0.7812 kB / 0.8532 GB, free: 15.04 MB / 490.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.000985/0.195, allocations: 0.6133 MB / 0.8538 GB, free: 14.38 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.1951, allocations: 11.97 kB / 0.8538 GB, free: 14.37 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.348e-05/0.1951, allocations: 37.2 kB / 0.8538 GB, free: 14.33 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.1954, allocations: 229.5 kB / 0.854 GB, free: 14.08 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.1955, allocations: 16.81 kB / 0.8541 GB, free: 14.07 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.747e-05/0.1955, allocations: 32.58 kB / 0.8541 GB, free: 14.04 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.1959, allocations: 297.7 kB / 0.8544 GB, free: 13.72 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.196, allocations: 4.656 kB / 0.8544 GB, free: 13.71 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.196, allocations: 7.984 kB / 0.8544 GB, free: 13.71 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.196, allocations: 4.625 kB / 0.8544 GB, free: 13.7 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003256/0.1963, allocations: 253 kB / 0.8546 GB, free: 13.44 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008727/0.1972, allocations: 0.6481 MB / 0.8553 GB, free: 12.76 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004777/0.1977, allocations: 273.5 kB / 0.8555 GB, free: 12.48 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.1978, allocations: 160.9 kB / 0.8557 GB, free: 12.3 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.1978, allocations: 0.625 kB / 0.8557 GB, free: 12.3 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3534/0.5513, allocations: 369.9 kB / 0.856 GB, free: 20.81 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 3.376e-06/0.5513, allocations: 0 / 0.856 GB, free: 20.81 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001645/0.5529, allocations: 1.135 MB / 0.8571 GB, free: 20.32 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.553, allocations: 221 kB / 0.8574 GB, free: 20.07 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.5532, allocations: 253.7 kB / 0.8576 GB, free: 19.96 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.5532, allocations: 41.39 kB / 0.8576 GB, free: 19.93 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.5533, allocations: 150.1 kB / 0.8578 GB, free: 19.84 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.214e-05/0.5533, allocations: 121.2 kB / 0.8579 GB, free: 19.78 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.686e-05/0.5534, allocations: 75.55 kB / 0.858 GB, free: 19.76 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.981e-05/0.5535, allocations: 348.3 kB / 0.8583 GB, free: 19.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.5537, allocations: 222.2 kB / 0.8585 GB, free: 19.34 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.554, allocations: 321.5 kB / 0.8588 GB, free: 19.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/0.5544, allocations: 458.7 kB / 0.8593 GB, free: 18.85 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5544, allocations: 3.438 kB / 0.8593 GB, free: 18.85 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006249/0.5551, allocations: 0.573 MB / 0.8598 GB, free: 18.61 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.881e-05/0.5551, allocations: 89.89 kB / 0.8599 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.5551, allocations: 2.531 kB / 0.8599 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.5551, allocations: 8.781 kB / 0.8599 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.5554, allocations: 81.69 kB / 0.86 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.5554, allocations: 10.56 kB / 0.86 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.5556, allocations: 21.27 kB / 0.86 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.5556, allocations: 20.7 kB / 0.86 GB, free: 18.51 MB / 490.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.0002233/0.5558, allocations: 229.7 kB / 0.8603 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.5559, allocations: 37.8 kB / 0.8603 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.5559, allocations: 30.95 kB / 0.8603 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.5559, allocations: 2.656 kB / 0.8603 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5559, allocations: 5.625 kB / 0.8603 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5559, allocations: 3.406 kB / 0.8603 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009002/0.5568, allocations: 0.8135 MB / 0.8611 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.5568, allocations: 6.062 kB / 0.8611 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.557, allocations: 56.58 kB / 0.8612 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.557, allocations: 4.344 kB / 0.8612 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.5571, allocations: 13.62 kB / 0.8612 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.5571, allocations: 1.219 kB / 0.8612 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5571, allocations: 3.938 kB / 0.8612 GB, free: 17.94 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007628/0.5578, allocations: 0.7571 MB / 0.8619 GB, free: 17.6 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.5579, allocations: 60.72 kB / 0.862 GB, free: 17.58 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/0.558, allocations: 12.38 kB / 0.862 GB, free: 17.58 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.5581, allocations: 17.41 kB / 0.862 GB, free: 17.58 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.5582, allocations: 34.89 kB / 0.8621 GB, free: 17.58 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.5582, allocations: 14.5 kB / 0.8621 GB, free: 17.58 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001319/0.5584, allocations: 184 kB / 0.8623 GB, free: 17.5 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5584, allocations: 0.875 kB / 0.8623 GB, free: 17.5 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003349/0.5587, allocations: 88.88 kB / 0.8623 GB, free: 17.5 MB / 490.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 9.823e-05/0.5588, allocations: 125.6 kB / 0.8625 GB, free: 17.41 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005312/0.5593, allocations: 0.5906 MB / 0.863 GB, free: 17.06 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5593, allocations: 2.438 kB / 0.863 GB, free: 17.06 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002636/0.5596, allocations: 316.5 kB / 0.8633 GB, free: 16.87 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/0.5601, allocations: 95.89 kB / 0.8634 GB, free: 16.87 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.5616, allocations: 1.064 MB / 0.8645 GB, free: 16.33 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.5618, allocations: 163.4 kB / 0.8646 GB, free: 16.25 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-05/0.5619, allocations: 29.14 kB / 0.8647 GB, free: 16.24 MB / 490.8 MB Notification: Performance of SimCode: time 6.01e-07/0.5619, allocations: 0 / 0.8647 GB, free: 16.24 MB / 490.8 MB Notification: Performance of Templates: time 0.007016/0.5689, allocations: 4.351 MB / 0.8689 GB, free: 15.86 MB / 490.8 MB " [Timeout remaining time 659] 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: 6.591661771759391]