Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.759/2.759, allocations: 287.3 MB / 302.3 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001533, allocations: 188.9 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 91.34 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004863, allocations: 13.14 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2269, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 1.028/1.255, allocations: 160.8 MB / 1.135 GB, free: 15.5 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01246/1.268, allocations: 4.905 MB / 1.14 GB, free: 15.06 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/1.27, allocations: 44.44 kB / 1.14 GB, free: 15.04 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003383/1.273, allocations: 0.7809 MB / 1.141 GB, free: 14.82 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008258/1.282, allocations: 1.749 MB / 1.143 GB, free: 14.21 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00557/1.287, allocations: 1.19 MB / 1.144 GB, free: 13.98 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004802/1.292, allocations: 1.621 MB / 1.145 GB, free: 13.34 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002196/1.294, allocations: 0.7542 MB / 1.146 GB, free: 13.03 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003706/1.298, allocations: 0.9606 MB / 1.147 GB, free: 12.58 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/1.3, allocations: 0.6848 MB / 1.148 GB, free: 12.2 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003892/1.301, allocations: 44.66 kB / 1.148 GB, free: 12.2 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003821/1.305, allocations: 0.7421 MB / 1.148 GB, free: 11.89 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00101/1.306, allocations: 370.1 kB / 1.149 GB, free: 11.67 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007529/1.306, allocations: 269.8 kB / 1.149 GB, free: 11.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003557/1.31, allocations: 1.226 MB / 1.15 GB, free: 10.76 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.31, allocations: 1.219 kB / 1.15 GB, free: 10.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.585e-06/1.31, allocations: 0 / 1.15 GB, free: 10.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.042e-05/1.31, allocations: 4 kB / 1.15 GB, free: 10.75 MB / 0.698 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.008908/1.319, allocations: 1.67 MB / 1.152 GB, free: 9.496 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/1.319, allocations: 9.75 kB / 1.152 GB, free: 9.496 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004768/1.32, allocations: 137.8 kB / 1.152 GB, free: 9.383 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007105/1.327, allocations: 0.7025 MB / 1.153 GB, free: 9.086 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002929/1.33, allocations: 0.8424 MB / 1.154 GB, free: 8.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/1.33, allocations: 78.61 kB / 1.154 GB, free: 8.391 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000345/1.33, allocations: 91.91 kB / 1.154 GB, free: 8.359 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006022/1.336, allocations: 1.469 MB / 1.155 GB, free: 7.414 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/1.336, allocations: 1.031 kB / 1.155 GB, free: 7.414 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/1.337, allocations: 37.2 kB / 1.155 GB, free: 7.387 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/1.337, allocations: 49.02 kB / 1.155 GB, free: 7.379 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008204/1.345, allocations: 1.535 MB / 1.157 GB, free: 6.652 MB / 0.698 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.01272/1.358, allocations: 5.153 MB / 1.162 GB, free: 2.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007161/1.365, allocations: 1.315 MB / 1.163 GB, free: 1.621 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007346/1.366, allocations: 162.8 kB / 1.163 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003513/1.369, allocations: 0.7145 MB / 1.164 GB, free: 1.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 4.709e-06/1.369, allocations: 0 / 1.164 GB, free: 1.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.01068/1.38, allocations: 1.913 MB / 1.166 GB, free: 216 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/1.38, allocations: 63.44 kB / 1.166 GB, free: 148 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002486/1.383, allocations: 1.236 MB / 1.167 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002926/1.383, allocations: 43.48 kB / 1.167 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007332/1.384, allocations: 0.5844 MB / 1.168 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005173/1.384, allocations: 272.4 kB / 1.168 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/1.384, allocations: 24.84 kB / 1.168 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001817/1.385, allocations: 338.5 kB / 1.168 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003052/1.388, allocations: 0.5514 MB / 1.169 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003632/1.391, allocations: 0.8425 MB / 1.17 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003206/1.395, allocations: 0.6029 MB / 1.17 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/1.395, allocations: 2.781 kB / 1.17 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.007244/1.402, allocations: 1.511 MB / 1.172 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/1.402, allocations: 9.219 kB / 1.172 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/1.402, allocations: 7.438 kB / 1.172 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.502e-05/1.402, allocations: 13.19 kB / 1.172 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/1.405, allocations: 309 kB / 1.172 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.101e-05/1.405, allocations: 16.44 kB / 1.172 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002813/1.408, allocations: 229.2 kB / 1.172 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002251/1.408, allocations: 52.03 kB / 1.172 GB, free: 12.25 MB / 0.7136 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 ($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 (117): * Single equations (assignments): 117 * 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.0009226/1.409, allocations: 338.5 kB / 1.173 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003854/1.409, allocations: 140.3 kB / 1.173 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007019/1.416, allocations: 1.433 MB / 1.174 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/1.416, allocations: 7.375 kB / 1.174 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/1.416, allocations: 0 / 1.174 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/1.416, allocations: 6.891 kB / 1.174 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0104/1.427, allocations: 2.822 MB / 1.177 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/1.427, allocations: 2.781 kB / 1.177 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002316/1.429, allocations: 228.3 kB / 1.177 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.57e-05/1.429, allocations: 11.41 kB / 1.177 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/1.429, allocations: 33.38 kB / 1.177 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/1.43, allocations: 4.219 kB / 1.177 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/1.43, allocations: 9.594 kB / 1.177 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/1.44, allocations: 2.494 MB / 1.18 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/1.441, allocations: 303.3 kB / 1.18 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002966/1.441, allocations: 34.12 kB / 1.18 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/1.443, allocations: 136.3 kB / 1.18 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/1.443, allocations: 66.31 kB / 1.18 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/1.443, allocations: 33.86 kB / 1.18 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001622/1.445, allocations: 0.8533 MB / 1.181 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.445, allocations: 0 / 1.181 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001721/1.447, allocations: 313.2 kB / 1.181 GB, free: 6.898 MB / 0.7136 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 (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 (80): * Single equations (assignments): 74 * 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.01242/1.459, allocations: 4.54 MB / 1.186 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006554/1.466, allocations: 1.305 MB / 1.187 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.466, allocations: 0 / 1.187 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003302/1.469, allocations: 0.6444 MB / 1.188 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005237/1.474, allocations: 0.5694 MB / 1.188 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03345/1.508, allocations: 13.43 MB / 1.201 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/1.509, allocations: 1.2 MB / 1.202 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002676/1.512, allocations: 346 kB / 1.203 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/1.513, allocations: 0.4953 MB / 1.203 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of SimCode: time 1.503e-06/1.513, allocations: 0 / 1.203 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/1.616, allocations: 32.69 MB / 1.235 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003293/1.617, allocations: 238.5 kB / 1.235 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.897/5.514, allocations: 0 / 1.235 GB, free: 1.141 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)