Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00893/0.00893, allocations: 99.86 kB / 15.73 MB, free: 6.055 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.001683/0.001684, allocations: 192.7 kB / 16.67 MB, free: 5.969 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.507/1.507, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 251.7 MB / 0.5094 GB, free: 392 kB / 430.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.001439/0.001439, allocations: 68.12 kB / 0.7258 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.628/0.6294, allocations: 104.7 MB / 0.8281 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2881/0.9176, allocations: 194.1 MB / 1.018 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01002/0.9277, allocations: 5.144 MB / 1.023 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/0.9294, allocations: 47.69 kB / 1.023 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002068/0.9315, allocations: 0.8158 MB / 1.024 GB, free: 9.68 MB / 0.8262 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.007307/0.9388, allocations: 2.567 MB / 1.026 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002989/0.9418, allocations: 1.111 MB / 1.027 GB, free: 6 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003781/0.9456, allocations: 2.594 MB / 1.03 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.947, allocations: 0.9075 MB / 1.031 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002123/0.9492, allocations: 1.094 MB / 1.032 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.9504, allocations: 0.9417 MB / 1.033 GB, free: 452 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.9505, allocations: 76 kB / 1.033 GB, free: 376 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003732/0.9543, allocations: 1.796 MB / 1.034 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000472/0.9547, allocations: 434.6 kB / 1.035 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0007655/0.9555, allocations: 0.6487 MB / 1.035 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003997/0.9595, allocations: 2.188 MB / 1.038 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.9595, allocations: 8 kB / 1.038 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9596, allocations: 3.938 kB / 1.038 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.9596, allocations: 0 / 1.038 GB, free: 11.29 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004929/0.9645, allocations: 1.99 MB / 1.04 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.9646, allocations: 8.031 kB / 1.04 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003832/0.9684, allocations: 0.6701 MB / 1.04 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.9703, allocations: 0.9774 MB / 1.041 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.853e-05/0.9704, allocations: 62 kB / 1.041 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.9706, allocations: 88 kB / 1.041 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003299/0.9739, allocations: 1.485 MB / 1.043 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.9739, allocations: 0 / 1.043 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.974, allocations: 32 kB / 1.043 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.156e-05/0.9741, allocations: 53.98 kB / 1.043 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003903/0.978, allocations: 1.522 MB / 1.044 GB, free: 4.207 MB / 0.8419 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.007383/0.9854, allocations: 5.492 MB / 1.05 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003627/0.9891, allocations: 1.28 MB / 1.051 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/0.9908, allocations: 0.6619 MB / 1.052 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008783/0.9917, allocations: 0.5812 MB / 1.052 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002037/0.9937, allocations: 0.7146 MB / 1.053 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=80): time 4.839e-06/0.9937, allocations: 0 / 1.053 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=80): time 0.005821/0.9996, allocations: 1.879 MB / 1.055 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.9997, allocations: 72.05 kB / 1.055 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/1.001, allocations: 1.243 MB / 1.056 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/1.001, allocations: 45.64 kB / 1.056 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004842/1.002, allocations: 0.5956 MB / 1.057 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/1.002, allocations: 289.6 kB / 1.057 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003651/1.003, allocations: 190.5 kB / 1.057 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002219/1.003, allocations: 341.9 kB / 1.057 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/1.005, allocations: 0.5367 MB / 1.058 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/1.006, allocations: 0.8443 MB / 1.059 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003314/1.01, allocations: 1.328 MB / 1.06 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/1.01, allocations: 4 kB / 1.06 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004124/1.014, allocations: 1.495 MB / 1.061 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/1.014, allocations: 8.875 kB / 1.061 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/1.014, allocations: 8 kB / 1.061 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/1.014, allocations: 16 kB / 1.061 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/1.015, allocations: 303.5 kB / 1.062 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/1.015, allocations: 15.94 kB / 1.062 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/1.017, allocations: 203 kB / 1.062 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/1.017, allocations: 51.97 kB / 1.062 GB, free: 1.332 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0006299/1.018, allocations: 339.7 kB / 1.062 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/1.018, allocations: 147 kB / 1.062 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003881/1.022, allocations: 1.405 MB / 1.064 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/1.022, allocations: 11.98 kB / 1.064 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.022, allocations: 3.938 kB / 1.064 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/1.022, allocations: 7.984 kB / 1.064 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00657/1.028, allocations: 2.803 MB / 1.067 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/1.028, allocations: 7.938 kB / 1.067 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/1.03, allocations: 223.9 kB / 1.067 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/1.03, allocations: 8 kB / 1.067 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.39e-05/1.03, allocations: 35.97 kB / 1.067 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.926e-06/1.03, allocations: 4 kB / 1.067 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.902e-06/1.03, allocations: 7.938 kB / 1.067 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005952/1.036, allocations: 2.253 MB / 1.069 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000624/1.036, allocations: 315.9 kB / 1.069 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/1.037, allocations: 24 kB / 1.069 GB, free: 9.555 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/1.038, allocations: 107.8 kB / 1.07 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/1.038, allocations: 72.36 kB / 1.07 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-05/1.038, allocations: 35.97 kB / 1.07 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00126/1.039, allocations: 0.8565 MB / 1.07 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.11e-07/1.039, allocations: 0 / 1.07 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001076/1.04, allocations: 315.7 kB / 1.071 GB, free: 8.176 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001373/1.042, allocations: 0.521 MB / 1.071 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003951/1.046, allocations: 1.294 MB / 1.073 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.046, allocations: 0 / 1.073 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001748/1.048, allocations: 0.6326 MB / 1.073 GB, free: 5.891 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/1.05, allocations: 0.6176 MB / 1.074 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005216/1.056, allocations: 2.616 MB / 1.076 GB, free: 2.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000753/1.056, allocations: 1.171 MB / 1.077 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001757/1.058, allocations: 346 kB / 1.078 GB, free: 1.051 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/1.058, allocations: 115.3 kB / 1.078 GB, free: 0.9375 MB / 0.8731 GB Notification: Performance of SimCode: time 1.492e-06/1.058, allocations: 0 / 1.078 GB, free: 0.9375 MB / 0.8731 GB Notification: Performance of Templates: time 0.4965/1.555, allocations: 22.87 MB / 1.1 GB, free: 257.1 MB / 0.8887 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)