Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 98.8 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.804/1.804, allocations: 292.3 MB / 0.5495 GB, free: 17.38 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 74.56 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2433, allocations: 114.6 MB / 0.784 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.4428/0.6862, allocations: 29.35 MB / 0.8127 GB, free: 31.88 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009522/0.6957, allocations: 6.735 MB / 0.8193 GB, free: 27.13 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.6976, allocations: 46.88 kB / 0.8193 GB, free: 27.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00234/0.7, allocations: 0.6943 MB / 0.82 GB, free: 26.78 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.004343/0.7044, allocations: 1.422 MB / 0.8214 GB, free: 26 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00344/0.7078, allocations: 1.151 MB / 0.8225 GB, free: 25.43 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003993/0.7118, allocations: 2.453 MB / 0.8249 GB, free: 24.33 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/0.7134, allocations: 0.8015 MB / 0.8257 GB, free: 24.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002526/0.716, allocations: 1.023 MB / 0.8267 GB, free: 23.57 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.7175, allocations: 0.8215 MB / 0.8275 GB, free: 23.23 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.7177, allocations: 67 kB / 0.8275 GB, free: 23.23 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002269/0.72, allocations: 0.8188 MB / 0.8283 GB, free: 22.92 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003339/0.7203, allocations: 275.5 kB / 0.8286 GB, free: 22.78 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007133/0.721, allocations: 0.5601 MB / 0.8292 GB, free: 22.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002965/0.724, allocations: 1.619 MB / 0.8307 GB, free: 21.8 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.724, allocations: 0 / 0.8307 GB, free: 21.8 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.773e-06/0.724, allocations: 0 / 0.8307 GB, free: 21.8 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.682e-05/0.7241, allocations: 1.656 kB / 0.8307 GB, free: 21.8 MB / 0.6544 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.00276/0.7268, allocations: 1.586 MB / 0.8323 GB, free: 20.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.7269, allocations: 9.406 kB / 0.8323 GB, free: 20.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003556/0.7305, allocations: 0.5877 MB / 0.8329 GB, free: 20.63 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.7319, allocations: 0.8271 MB / 0.8337 GB, free: 20.11 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.786e-05/0.7319, allocations: 58.47 kB / 0.8337 GB, free: 20.08 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.7321, allocations: 78.95 kB / 0.8338 GB, free: 20.05 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/0.7345, allocations: 1.093 MB / 0.8349 GB, free: 19.54 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.7346, allocations: 9.719 kB / 0.8349 GB, free: 19.54 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-05/0.7347, allocations: 32.38 kB / 0.8349 GB, free: 19.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.7347, allocations: 18.34 kB / 0.8349 GB, free: 19.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003149/0.7378, allocations: 1.001 MB / 0.8359 GB, free: 19.25 MB / 0.6544 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.005606/0.7435, allocations: 4.961 MB / 0.8408 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003067/0.7466, allocations: 0.9034 MB / 0.8416 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.7481, allocations: 488.6 kB / 0.8421 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/0.7493, allocations: 1.593 MB / 0.8437 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001758/0.751, allocations: 0.5763 MB / 0.8442 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 2.865e-06/0.7511, allocations: 1.531 kB / 0.8442 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.005052/0.7561, allocations: 1.482 MB / 0.8457 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.7562, allocations: 67.34 kB / 0.8457 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.7578, allocations: 1.124 MB / 0.8468 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.7579, allocations: 40.7 kB / 0.8469 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003803/0.7583, allocations: 0.555 MB / 0.8474 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.7585, allocations: 205.3 kB / 0.8476 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.7588, allocations: 170.8 kB / 0.8478 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.121e-05/0.7589, allocations: 339.2 kB / 0.8481 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.7604, allocations: 454.8 kB / 0.8485 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.7621, allocations: 0.73 MB / 0.8492 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003021/0.7652, allocations: 1.118 MB / 0.8503 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.7652, allocations: 3.469 kB / 0.8503 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003758/0.769, allocations: 1.282 MB / 0.8516 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.769, allocations: 9.062 kB / 0.8516 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.769, allocations: 7.969 kB / 0.8516 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.464e-05/0.7691, allocations: 12.17 kB / 0.8516 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.7703, allocations: 265.8 kB / 0.8519 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-05/0.7703, allocations: 24.47 kB / 0.8519 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.7718, allocations: 175.3 kB / 0.8521 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.7719, allocations: 48.42 kB / 0.8521 GB, free: 9.371 MB / 0.6544 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 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005951/0.7725, allocations: 298.5 kB / 0.8524 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/0.7727, allocations: 123.1 kB / 0.8525 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003879/0.7766, allocations: 1.358 MB / 0.8538 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.082e-05/0.7767, allocations: 11.52 kB / 0.8538 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.7767, allocations: 1.219 kB / 0.8538 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.7767, allocations: 3.984 kB / 0.8538 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005141/0.7819, allocations: 2.38 MB / 0.8562 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.7819, allocations: 1.875 kB / 0.8562 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009981/0.7829, allocations: 187 kB / 0.8564 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-05/0.7829, allocations: 9.656 kB / 0.8564 GB, free: 7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-05/0.783, allocations: 25.47 kB / 0.8564 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/0.783, allocations: 3.844 kB / 0.8564 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.783, allocations: 2.438 kB / 0.8564 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005364/0.7884, allocations: 1.978 MB / 0.8583 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000646/0.7891, allocations: 278.4 kB / 0.8586 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003634/0.7894, allocations: 21.77 kB / 0.8586 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.7906, allocations: 101.3 kB / 0.8587 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.7908, allocations: 51.72 kB / 0.8588 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.991e-05/0.7909, allocations: 41.12 kB / 0.8588 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001365/0.7923, allocations: 0.77 MB / 0.8595 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7923, allocations: 1.531 kB / 0.8595 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001792/0.7941, allocations: 349 kB / 0.8599 GB, free: 5.062 MB / 0.6544 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 (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.001927/0.796, allocations: 0.6628 MB / 0.8605 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004023/0.8, allocations: 1.177 MB / 0.8617 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.8001, allocations: 5.125 kB / 0.8617 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001772/0.8018, allocations: 0.5866 MB / 0.8623 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/0.8048, allocations: 465.3 kB / 0.8627 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005875/0.8107, allocations: 2.423 MB / 0.8651 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009392/0.8116, allocations: 1.104 MB / 0.8661 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005915/0.8122, allocations: 118.7 kB / 0.8663 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of SimCode: time 1.513e-06/0.8123, allocations: 0 / 0.8663 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of Templates: time 0.03428/0.8465, allocations: 19.31 MB / 0.8851 GB, free: 2.668 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)