Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001629/0.001629, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.4 MB / 222.1 MB, free: 5.492 MB / 174.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.584/1.584, allocations: 251.9 MB / 0.51 GB, free: 4.863 MB / 414.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.000659/0.0006594, allocations: 19.98 kB / 0.6241 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6211/0.6217, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.19/0.8118, allocations: 161 MB / 0.8852 GB, free: 9.953 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.009327/0.8211, allocations: 5.034 MB / 0.8902 GB, free: 4.914 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.8225, allocations: 43.62 kB / 0.8902 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002105/0.8246, allocations: 0.786 MB / 0.891 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.005009/0.8296, allocations: 1.784 MB / 0.8927 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003684/0.8333, allocations: 1.259 MB / 0.8939 GB, free: 1.051 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003028/0.8363, allocations: 1.677 MB / 0.8956 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.8376, allocations: 0.7955 MB / 0.8964 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.8396, allocations: 0.9696 MB / 0.8973 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.8406, allocations: 0.7238 MB / 0.898 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.8407, allocations: 48 kB / 0.8981 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002922/0.8437, allocations: 0.936 MB / 0.899 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004165/0.8441, allocations: 386.8 kB / 0.8993 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003815/0.8445, allocations: 269 kB / 0.8996 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.8462, allocations: 1.341 MB / 0.9009 GB, free: 9.887 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.8462, allocations: 0 / 0.9009 GB, free: 9.887 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.023e-06/0.8462, allocations: 0 / 0.9009 GB, free: 9.887 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.8462, allocations: 0 / 0.9009 GB, free: 9.887 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004745/0.851, allocations: 1.719 MB / 0.9026 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.851, allocations: 12.03 kB / 0.9026 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005295/0.8563, allocations: 0.9307 MB / 0.9035 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.8579, allocations: 0.8719 MB / 0.9044 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-05/0.858, allocations: 65.94 kB / 0.9044 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/0.8582, allocations: 96 kB / 0.9045 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003504/0.8617, allocations: 1.567 MB / 0.906 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.8617, allocations: 7.938 kB / 0.906 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.8618, allocations: 32 kB / 0.9061 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.783e-05/0.8619, allocations: 49.94 kB / 0.9061 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004927/0.8668, allocations: 1.838 MB / 0.9079 GB, free: 2.555 MB / 0.7169 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.5304/1.397, allocations: 4.282 MB / 0.9121 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005409/1.403, allocations: 1.59 MB / 0.9137 GB, free: 179 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00055/1.403, allocations: 175.6 kB / 0.9138 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002956/1.406, allocations: 0.8963 MB / 0.9147 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=95): time 4.088e-06/1.406, allocations: 1.438 kB / 0.9147 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=95): time 0.009007/1.415, allocations: 2.432 MB / 0.9171 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/1.415, allocations: 63.05 kB / 0.9171 GB, free: 178 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00225/1.418, allocations: 1.203 MB / 0.9183 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001615/1.418, allocations: 47.55 kB / 0.9184 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000497/1.418, allocations: 0.5423 MB / 0.9189 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/1.419, allocations: 325.8 kB / 0.9192 GB, free: 176.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-05/1.419, allocations: 23.05 kB / 0.9192 GB, free: 176.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.419, allocations: 347 kB / 0.9195 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002613/1.421, allocations: 0.6907 MB / 0.9202 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002672/1.424, allocations: 0.9149 MB / 0.9211 GB, free: 176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002177/1.426, allocations: 0.7209 MB / 0.9218 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/1.426, allocations: 2.031 kB / 0.9218 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005369/1.432, allocations: 1.752 MB / 0.9235 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.342e-05/1.432, allocations: 7.125 kB / 0.9235 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/1.432, allocations: 4.406 kB / 0.9235 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.999e-05/1.432, allocations: 12.39 kB / 0.9236 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/1.434, allocations: 347.8 kB / 0.9239 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-05/1.434, allocations: 7.844 kB / 0.9239 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/1.436, allocations: 263.5 kB / 0.9241 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/1.436, allocations: 50.72 kB / 0.9242 GB, free: 175.1 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.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 (121): * Single equations (assignments): 121 * 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.0007101/1.437, allocations: 341.4 kB / 0.9245 GB, free: 174.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003603/1.437, allocations: 137.4 kB / 0.9246 GB, free: 174.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004894/1.442, allocations: 1.775 MB / 0.9264 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/1.442, allocations: 7.906 kB / 0.9264 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/1.442, allocations: 4 kB / 0.9264 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/1.442, allocations: 3.984 kB / 0.9264 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007422/1.449, allocations: 3.303 MB / 0.9296 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/1.449, allocations: 7.891 kB / 0.9296 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/1.451, allocations: 298.7 kB / 0.9299 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.092e-05/1.451, allocations: 7.719 kB / 0.9299 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/1.451, allocations: 35.22 kB / 0.93 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.375e-05/1.451, allocations: 9.016 kB / 0.93 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/1.451, allocations: 7.844 kB / 0.93 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006719/1.458, allocations: 3.018 MB / 0.9329 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007548/1.459, allocations: 335.1 kB / 0.9332 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003297/1.459, allocations: 20 kB / 0.9333 GB, free: 168.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/1.461, allocations: 180.5 kB / 0.9334 GB, free: 168.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/1.461, allocations: 68.45 kB / 0.9335 GB, free: 168.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.25e-05/1.461, allocations: 43.97 kB / 0.9335 GB, free: 168.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001024/1.462, allocations: 0.8318 MB / 0.9344 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.462, allocations: 0 / 0.9344 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001268/1.463, allocations: 345.2 kB / 0.9347 GB, free: 167 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001488/1.465, allocations: 0.5365 MB / 0.9352 GB, free: 166.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004536/1.469, allocations: 1.596 MB / 0.9368 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.469, allocations: 0 / 0.9368 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002156/1.471, allocations: 0.8317 MB / 0.9376 GB, free: 164.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/1.475, allocations: 0.5843 MB / 0.9381 GB, free: 163.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006379/1.481, allocations: 3.401 MB / 0.9415 GB, free: 160.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006768/1.482, allocations: 1.212 MB / 0.9427 GB, free: 159 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001627/1.483, allocations: 378.1 kB / 0.943 GB, free: 158.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004585/1.484, allocations: 115.4 kB / 0.9431 GB, free: 158.5 MB / 0.7169 GB Notification: Performance of SimCode: time 1.072e-06/1.484, allocations: 0 / 0.9431 GB, free: 158.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.03252/1.516, allocations: 22.35 MB / 0.9649 GB, free: 136.5 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) Environment - environmentSimulation: