Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003191/0.003191, allocations: 353.3 kB / 15.94 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.505/1.505, allocations: 165.8 MB / 182.5 MB, free: 5.512 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.847/3.847, allocations: 410.8 MB / 0.5995 GB, free: 15.23 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001746/0.001745, allocations: 194.8 kB / 0.6662 GB, free: 6.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004655, allocations: 12 kB / 0.7423 GB, free: 9 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3279, allocations: 67.44 MB / 0.8081 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02601/0.3539, allocations: 26.93 MB / 0.8344 GB, free: 1.801 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.3653, allocations: 6.181 MB / 0.8405 GB, free: 11.61 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.3666, allocations: 43.62 kB / 0.8405 GB, free: 11.57 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.3685, allocations: 0.6142 MB / 0.8411 GB, free: 10.95 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004323/0.3728, allocations: 1.257 MB / 0.8423 GB, free: 9.688 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004917/0.3778, allocations: 1.32 MB / 0.8436 GB, free: 8.395 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004226/0.382, allocations: 2.742 MB / 0.8463 GB, free: 5.641 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.3833, allocations: 0.6371 MB / 0.8469 GB, free: 4.992 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/0.3852, allocations: 0.8749 MB / 0.8478 GB, free: 4.113 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.3865, allocations: 0.7586 MB / 0.8485 GB, free: 3.352 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.3867, allocations: 36 kB / 0.8486 GB, free: 3.316 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.3883, allocations: 498.6 kB / 0.849 GB, free: 2.828 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003412/0.3887, allocations: 239 kB / 0.8493 GB, free: 2.594 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003601/0.3891, allocations: 233 kB / 0.8495 GB, free: 2.359 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.3907, allocations: 1.04 MB / 0.8505 GB, free: 1.316 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.255e-06/0.3907, allocations: 0 / 0.8505 GB, free: 1.316 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.387e-06/0.3908, allocations: 0 / 0.8505 GB, free: 1.316 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.3908, allocations: 3.938 kB / 0.8505 GB, free: 1.312 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003031/0.3938, allocations: 1.376 MB / 0.8519 GB, free: 15.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3939, allocations: 16.03 kB / 0.8519 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004098/0.398, allocations: 0.6266 MB / 0.8525 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001825/0.3999, allocations: 0.7817 MB / 0.8532 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.816e-05/0.4, allocations: 54 kB / 0.8533 GB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.4002, allocations: 72 kB / 0.8534 GB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003119/0.4033, allocations: 1.111 MB / 0.8544 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.4033, allocations: 0 / 0.8544 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.4035, allocations: 31.98 kB / 0.8545 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/0.4035, allocations: 20 kB / 0.8545 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003987/0.4075, allocations: 1.02 MB / 0.8555 GB, free: 12.02 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008111/0.4156, allocations: 4.982 MB / 0.8604 GB, free: 6.746 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003917/0.4196, allocations: 0.9505 MB / 0.8613 GB, free: 5.785 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001926/0.4216, allocations: 0.4906 MB / 0.8618 GB, free: 5.293 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001852/0.4234, allocations: 1.599 MB / 0.8633 GB, free: 3.344 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002152/0.4256, allocations: 0.5807 MB / 0.8639 GB, free: 2.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=61): time 4.332e-06/0.4256, allocations: 0 / 0.8639 GB, free: 2.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=61): time 0.006075/0.4317, allocations: 1.52 MB / 0.8654 GB, free: 1.227 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.4318, allocations: 59.97 kB / 0.8654 GB, free: 1.152 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/0.4337, allocations: 1.113 MB / 0.8665 GB, free: 28 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001429/0.4339, allocations: 45.7 kB / 0.8666 GB, free: 15.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006179/0.4345, allocations: 0.5551 MB / 0.8671 GB, free: 15.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/0.4348, allocations: 205.1 kB / 0.8673 GB, free: 15.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-05/0.4349, allocations: 16 kB / 0.8673 GB, free: 15.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.4351, allocations: 342 kB / 0.8676 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/0.437, allocations: 461.6 kB / 0.8681 GB, free: 14.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/0.4392, allocations: 0.7358 MB / 0.8688 GB, free: 13.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/0.4412, allocations: 0.4939 MB / 0.8693 GB, free: 13.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.639e-06/0.4412, allocations: 4 kB / 0.8693 GB, free: 13.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00468/0.4459, allocations: 1.29 MB / 0.8706 GB, free: 11.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.4459, allocations: 10.66 kB / 0.8706 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.446, allocations: 8 kB / 0.8706 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/0.446, allocations: 19.94 kB / 0.8706 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.4476, allocations: 272.2 kB / 0.8708 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-05/0.4476, allocations: 19.92 kB / 0.8709 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.4493, allocations: 214.9 kB / 0.8711 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.4494, allocations: 47.97 kB / 0.8711 GB, free: 11.17 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006296/0.4501, allocations: 291.8 kB / 0.8714 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002537/0.4503, allocations: 126.4 kB / 0.8715 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00501/0.4554, allocations: 1.379 MB / 0.8729 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.853e-05/0.4554, allocations: 11.98 kB / 0.8729 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.4e-06/0.4555, allocations: 0 / 0.8729 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.4555, allocations: 3.984 kB / 0.8729 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007028/0.4625, allocations: 2.401 MB / 0.8752 GB, free: 6.867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/0.4626, allocations: 4 kB / 0.8752 GB, free: 6.863 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/0.4639, allocations: 191.8 kB / 0.8754 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.648e-05/0.4639, allocations: 7.984 kB / 0.8754 GB, free: 6.668 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.992e-05/0.464, allocations: 19.98 kB / 0.8754 GB, free: 6.648 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.198e-05/0.464, allocations: 7.984 kB / 0.8754 GB, free: 6.641 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.4641, allocations: 8 kB / 0.8755 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006776/0.4708, allocations: 2.001 MB / 0.8774 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007167/0.4716, allocations: 287.3 kB / 0.8777 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/0.4718, allocations: 12 kB / 0.8777 GB, free: 4.289 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.4731, allocations: 127.9 kB / 0.8778 GB, free: 4.164 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.4732, allocations: 48.5 kB / 0.8779 GB, free: 4.117 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.4733, allocations: 40.06 kB / 0.8779 GB, free: 4.078 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001357/0.4747, allocations: 0.7642 MB / 0.8786 GB, free: 3.309 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.349e-06/0.4747, allocations: 0 / 0.8786 GB, free: 3.309 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001368/0.4761, allocations: 347.4 kB / 0.879 GB, free: 2.969 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002067/0.4782, allocations: 0.653 MB / 0.8796 GB, free: 2.473 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004391/0.4826, allocations: 1.13 MB / 0.8807 GB, free: 1.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.836e-06/0.4827, allocations: 0 / 0.8807 GB, free: 1.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0022/0.4849, allocations: 0.5814 MB / 0.8813 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002714/0.4876, allocations: 450 kB / 0.8817 GB, free: 332 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006694/0.4943, allocations: 2.712 MB / 0.8844 GB, free: 13.56 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.4954, allocations: 1.127 MB / 0.8855 GB, free: 12.41 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001564/0.497, allocations: 248.8 kB / 0.8857 GB, free: 12.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000435/0.4974, allocations: 111.4 kB / 0.8858 GB, free: 12.05 MB / 442.7 MB Notification: Performance of SimCode: time 1.791e-06/0.4974, allocations: 4 kB / 0.8858 GB, free: 12.05 MB / 442.7 MB Notification: Performance of Templates: time 0.07247/0.5699, allocations: 18.89 MB / 0.9043 GB, free: 9.383 MB / 458.7 MB