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 1.662/1.662, allocations: 287.4 MB / 302.6 MB, free: 8.25 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.001006/0.001006, allocations: 178.8 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0007595/0.0007596, allocations: 91.11 kB / 0.7431 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003513, allocations: 11.66 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2234, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6816/0.905, allocations: 176.3 MB / 1.151 GB, free: 9.555 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008379/0.9134, allocations: 4.776 MB / 1.156 GB, free: 6.766 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.9149, allocations: 41.84 kB / 1.156 GB, free: 6.746 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001881/0.9169, allocations: 0.6254 MB / 1.156 GB, free: 6.359 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005846/0.9228, allocations: 1.857 MB / 1.158 GB, free: 4.953 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002806/0.9256, allocations: 0.9092 MB / 1.159 GB, free: 4.328 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004306/0.9299, allocations: 3.018 MB / 1.162 GB, free: 2.535 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/0.9314, allocations: 0.7721 MB / 1.163 GB, free: 2.059 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/0.9339, allocations: 0.9961 MB / 1.164 GB, free: 1.543 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001776/0.9357, allocations: 0.9162 MB / 1.165 GB, free: 1.051 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.9359, allocations: 45.97 kB / 1.165 GB, free: 1.051 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00286/0.9388, allocations: 0.9432 MB / 1.165 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005322/0.9393, allocations: 399.7 kB / 1.166 GB, free: 336 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005408/0.9399, allocations: 264.1 kB / 1.166 GB, free: 188 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.942, allocations: 1.365 MB / 1.167 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.942, allocations: 0 / 1.167 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9421, allocations: 0 / 1.167 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.178e-05/0.9421, allocations: 1.406 kB / 1.167 GB, free: 15.34 MB / 0.7136 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.004737/0.9468, allocations: 1.686 MB / 1.169 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.9469, allocations: 9.562 kB / 1.169 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002013/0.9471, allocations: 142.3 kB / 1.169 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00381/0.9509, allocations: 0.7062 MB / 1.17 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.9526, allocations: 0.8955 MB / 1.171 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.166e-05/0.9526, allocations: 67.81 kB / 1.171 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.9528, allocations: 87.84 kB / 1.171 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003191/0.956, allocations: 1.477 MB / 1.172 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.956, allocations: 3.938 kB / 1.172 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.9562, allocations: 38.45 kB / 1.172 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.407e-05/0.9562, allocations: 48.86 kB / 1.172 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003738/0.96, allocations: 1.531 MB / 1.174 GB, free: 11.18 MB / 0.7136 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.007289/0.9673, allocations: 5.503 MB / 1.179 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003502/0.9708, allocations: 1.322 MB / 1.181 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.9724, allocations: 0.6708 MB / 1.181 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008884/0.9733, allocations: 0.5981 MB / 1.182 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00171/0.975, allocations: 0.7207 MB / 1.183 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=80): time 3.276e-06/0.9751, allocations: 0 / 1.183 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80): time 0.005264/0.9803, allocations: 1.906 MB / 1.184 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.9804, allocations: 59.62 kB / 1.185 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.9818, allocations: 1.243 MB / 1.186 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.314e-05/0.9819, allocations: 47.47 kB / 1.186 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004478/0.9824, allocations: 0.5811 MB / 1.186 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000242/0.9826, allocations: 282.5 kB / 1.187 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.9827, allocations: 21.09 kB / 1.187 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.9828, allocations: 334 kB / 1.187 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.9843, allocations: 0.5501 MB / 1.187 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.986, allocations: 0.8554 MB / 1.188 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00303/0.989, allocations: 1.337 MB / 1.19 GB, free: 180 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.9891, allocations: 6.531 kB / 1.19 GB, free: 176 kB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003706/0.9928, allocations: 1.512 MB / 1.191 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.9928, allocations: 7.594 kB / 1.191 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.9928, allocations: 5.75 kB / 1.191 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.9929, allocations: 13.81 kB / 1.191 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.9942, allocations: 304.7 kB / 1.191 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/0.9942, allocations: 14.84 kB / 1.191 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.9957, allocations: 236.2 kB / 1.192 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.9958, allocations: 51.34 kB / 1.192 GB, free: 15.22 MB / 0.7292 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.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 (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.0005935/0.9964, allocations: 337.4 kB / 1.192 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.9966, allocations: 141.3 kB / 1.192 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003648/1, allocations: 1.426 MB / 1.194 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/1, allocations: 8.531 kB / 1.194 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1, allocations: 0 / 1.194 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/1, allocations: 3.984 kB / 1.194 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005748/1.006, allocations: 2.826 MB / 1.196 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/1.006, allocations: 4 kB / 1.196 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/1.007, allocations: 231.7 kB / 1.197 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.299e-05/1.007, allocations: 8 kB / 1.197 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.917e-05/1.007, allocations: 27.97 kB / 1.197 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.952e-05/1.007, allocations: 11.94 kB / 1.197 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.007, allocations: 8 kB / 1.197 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005381/1.013, allocations: 2.275 MB / 1.199 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007847/1.014, allocations: 307.2 kB / 1.199 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/1.014, allocations: 19.98 kB / 1.199 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/1.015, allocations: 139.7 kB / 1.199 GB, free: 8.953 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/1.015, allocations: 68.36 kB / 1.199 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-05/1.015, allocations: 35.97 kB / 1.199 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001277/1.017, allocations: 0.8487 MB / 1.2 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.017, allocations: 0 / 1.2 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001217/1.018, allocations: 315.7 kB / 1.201 GB, free: 7.688 MB / 0.7292 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 (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.006814/1.025, allocations: 3.261 MB / 1.204 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003629/1.028, allocations: 1.298 MB / 1.205 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.028, allocations: 256 / 1.205 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001716/1.03, allocations: 0.6519 MB / 1.206 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003674/1.034, allocations: 0.5828 MB / 1.206 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01716/1.051, allocations: 8.708 MB / 1.215 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009213/1.052, allocations: 1.175 MB / 1.216 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001629/1.054, allocations: 342 kB / 1.216 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000777/1.054, allocations: 0.4953 MB / 1.217 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of SimCode: time 1.252e-06/1.054, allocations: 0 / 1.217 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05557/1.11, allocations: 32.72 MB / 1.249 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/1.11, allocations: 251.8 kB / 1.249 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.898/4.008, allocations: 0 / 1.249 GB, free: 6.203 MB / 0.7761 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)