Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.809/4.809, allocations: 0.5623 GB / 0.5769 GB, free: 3.312 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002354/0.002353, allocations: 356.5 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.097/4.097, allocations: 410.7 MB / 1.112 GB, free: 5.93 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001755/0.001755, allocations: 178.2 kB / 1.225 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.0004881, allocations: 12 kB / 1.348 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5975/0.598, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02511/0.6231, allocations: 26.94 MB / 1.487 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009238/0.6324, allocations: 6.188 MB / 1.493 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.6338, allocations: 47.62 kB / 1.493 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.6354, allocations: 0.6073 MB / 1.494 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00346/0.6389, allocations: 1.257 MB / 1.495 GB, free: 249.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.003919/0.6428, allocations: 1.313 MB / 1.496 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002879/0.6457, allocations: 2.747 MB / 1.499 GB, free: 245.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009379/0.6467, allocations: 0.6462 MB / 1.5 GB, free: 244.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.6482, allocations: 0.859 MB / 1.5 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000906/0.6491, allocations: 0.7628 MB / 1.501 GB, free: 243.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.6492, allocations: 39.94 kB / 1.501 GB, free: 243 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.6507, allocations: 498.6 kB / 1.502 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.6509, allocations: 243 kB / 1.502 GB, free: 242.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.6512, allocations: 237 kB / 1.502 GB, free: 242 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.6524, allocations: 1.032 MB / 1.503 GB, free: 241 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.252e-06/0.6524, allocations: 0 / 1.503 GB, free: 241 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.008e-06/0.6525, allocations: 4 kB / 1.503 GB, free: 241 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.6525, allocations: 0 / 1.503 GB, free: 241 MB / 0.8542 GB 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.002379/0.6549, allocations: 1.387 MB / 1.504 GB, free: 239.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.6549, allocations: 11.62 kB / 1.504 GB, free: 239.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003692/0.6586, allocations: 0.632 MB / 1.505 GB, free: 239 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.6601, allocations: 0.7803 MB / 1.506 GB, free: 238.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.973e-05/0.6601, allocations: 59.19 kB / 1.506 GB, free: 238.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.6603, allocations: 76 kB / 1.506 GB, free: 238 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/0.6629, allocations: 1.102 MB / 1.507 GB, free: 236.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.6629, allocations: 0 / 1.507 GB, free: 236.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.6631, allocations: 32 kB / 1.507 GB, free: 236.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.6631, allocations: 20.69 kB / 1.507 GB, free: 236.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003455/0.6666, allocations: 1.024 MB / 1.508 GB, free: 235.8 MB / 0.8542 GB 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.005899/0.6725, allocations: 4.969 MB / 1.513 GB, free: 230.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003338/0.6759, allocations: 0.9576 MB / 1.514 GB, free: 229.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.6775, allocations: 0.4956 MB / 1.514 GB, free: 229.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/0.6787, allocations: 1.599 MB / 1.516 GB, free: 227.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001818/0.6805, allocations: 0.5864 MB / 1.517 GB, free: 226.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=61): time 4.551e-06/0.6805, allocations: 0 / 1.517 GB, free: 226.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=61): time 0.005344/0.6859, allocations: 1.52 MB / 1.518 GB, free: 225 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.6859, allocations: 59.95 kB / 1.518 GB, free: 225 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.6874, allocations: 1.113 MB / 1.519 GB, free: 223.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.6875, allocations: 45.7 kB / 1.519 GB, free: 223.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003918/0.6879, allocations: 0.5512 MB / 1.52 GB, free: 223.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.6881, allocations: 209.1 kB / 1.52 GB, free: 223 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.6882, allocations: 16 kB / 1.52 GB, free: 223 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.35e-05/0.6883, allocations: 337.9 kB / 1.52 GB, free: 222.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/0.6899, allocations: 461.6 kB / 1.521 GB, free: 222.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001806/0.6918, allocations: 0.7436 MB / 1.521 GB, free: 221.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.6935, allocations: 497.8 kB / 1.522 GB, free: 220.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.379e-06/0.6935, allocations: 4 kB / 1.522 GB, free: 220.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004072/0.6976, allocations: 1.29 MB / 1.523 GB, free: 219.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.6976, allocations: 11.95 kB / 1.523 GB, free: 219.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.6977, allocations: 8 kB / 1.523 GB, free: 219.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/0.6977, allocations: 12 kB / 1.523 GB, free: 219.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.6991, allocations: 279.9 kB / 1.523 GB, free: 219.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.162e-05/0.6992, allocations: 19.88 kB / 1.523 GB, free: 219.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.7007, allocations: 214.9 kB / 1.524 GB, free: 219 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.7009, allocations: 43.97 kB / 1.524 GB, free: 219 MB / 0.8542 GB 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.0005295/0.7014, allocations: 295.5 kB / 1.524 GB, free: 218.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.7016, allocations: 118.5 kB / 1.524 GB, free: 218.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004299/0.7059, allocations: 1.39 MB / 1.525 GB, free: 217.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.706, allocations: 11.98 kB / 1.525 GB, free: 217.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.4e-06/0.706, allocations: 0 / 1.525 GB, free: 217.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.706, allocations: 0 / 1.525 GB, free: 217.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006227/0.7122, allocations: 2.393 MB / 1.528 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.436e-06/0.7123, allocations: 0 / 1.528 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/0.7137, allocations: 199.9 kB / 1.528 GB, free: 214.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.7137, allocations: 4 kB / 1.528 GB, free: 214.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.979e-05/0.7138, allocations: 27.97 kB / 1.528 GB, free: 214.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.086e-06/0.7139, allocations: 4 kB / 1.528 GB, free: 214.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.797e-06/0.7139, allocations: 5.125 kB / 1.528 GB, free: 214.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006625/0.7205, allocations: 2.012 MB / 1.53 GB, free: 212.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/0.7211, allocations: 283.3 kB / 1.53 GB, free: 212.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.7214, allocations: 20 kB / 1.53 GB, free: 212.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.7227, allocations: 123.9 kB / 1.53 GB, free: 212 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.7228, allocations: 52.45 kB / 1.53 GB, free: 212 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.7229, allocations: 35.97 kB / 1.531 GB, free: 211.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001028/0.724, allocations: 0.7603 MB / 1.531 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.34e-07/0.724, allocations: 4 kB / 1.531 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001178/0.7252, allocations: 335.6 kB / 1.532 GB, free: 210.8 MB / 0.8542 GB 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.00187/0.7271, allocations: 0.6562 MB / 1.532 GB, free: 210.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003689/0.7308, allocations: 1.122 MB / 1.533 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.064e-06/0.7308, allocations: 0 / 1.533 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001879/0.7327, allocations: 0.5892 MB / 1.534 GB, free: 208.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/0.7352, allocations: 452.5 kB / 1.534 GB, free: 208.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005384/0.7407, allocations: 2.706 MB / 1.537 GB, free: 205.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/0.7413, allocations: 1.131 MB / 1.538 GB, free: 204.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001373/0.7427, allocations: 243.6 kB / 1.538 GB, free: 204.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003886/0.7431, allocations: 103.4 kB / 1.538 GB, free: 204 MB / 0.8542 GB Notification: Performance of SimCode: time 1.789e-06/0.7431, allocations: 0 / 1.538 GB, free: 204 MB / 0.8542 GB Notification: Performance of Templates: time 0.0392/0.7823, allocations: 18.9 MB / 1.557 GB, free: 185.6 MB / 0.8542 GB