Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008566/0.0008566, allocations: 91.38 kB / 15.36 MB, free: 0.7344 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.006481/0.006481, allocations: 170.1 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.603/2.603, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.0003781, allocations: 16.23 kB / 0.8729 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6645/0.6649, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2206/0.8856, allocations: 189 MB / 1.208 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00966/0.8953, allocations: 5.149 MB / 1.213 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001608/0.897, allocations: 39.69 kB / 1.213 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.899, allocations: 0.7155 MB / 1.213 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006533/0.9056, allocations: 2.447 MB / 1.216 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.9085, allocations: 1.006 MB / 1.217 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004419/0.9129, allocations: 3.607 MB / 1.22 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.9143, allocations: 0.8437 MB / 1.221 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001744/0.9161, allocations: 0.9959 MB / 1.222 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.9173, allocations: 1.016 MB / 1.223 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.9174, allocations: 48 kB / 1.223 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003848/0.9213, allocations: 2.057 MB / 1.225 GB, free: 216 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004706/0.9218, allocations: 418.7 kB / 1.226 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006728/0.9225, allocations: 0.6347 MB / 1.226 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003182/0.9256, allocations: 2.25 MB / 1.228 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.9257, allocations: 0 / 1.228 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9257, allocations: 4 kB / 1.228 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.139e-05/0.9257, allocations: 0 / 1.228 GB, free: 12.89 MB / 0.9825 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.004865/0.9306, allocations: 1.704 MB / 1.23 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.9306, allocations: 12.03 kB / 1.23 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001866/0.9308, allocations: 143.6 kB / 1.23 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005519/0.9364, allocations: 0.9268 MB / 1.231 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.938, allocations: 0.9098 MB / 1.232 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.655e-05/0.9381, allocations: 66 kB / 1.232 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/0.9383, allocations: 88 kB / 1.232 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003829/0.9421, allocations: 1.583 MB / 1.234 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.9421, allocations: 0 / 1.234 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.9423, allocations: 36 kB / 1.234 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.934e-05/0.9423, allocations: 45.98 kB / 1.234 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005419/0.9478, allocations: 1.85 MB / 1.236 GB, free: 5.379 MB / 0.9825 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.008379/0.9562, allocations: 4.746 MB / 1.24 GB, free: 416 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5346/1.491, allocations: 1.585 MB / 1.242 GB, free: 216.6 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002887/1.494, allocations: 0.8543 MB / 1.243 GB, free: 216.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/1.495, allocations: 0.9603 MB / 1.244 GB, free: 215.6 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003027/1.498, allocations: 0.9037 MB / 1.244 GB, free: 215.3 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=95): time 3.436e-06/1.498, allocations: 3.125 kB / 1.244 GB, free: 215.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95): time 0.00881/1.507, allocations: 2.449 MB / 1.247 GB, free: 214.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/1.507, allocations: 63.62 kB / 1.247 GB, free: 214.7 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/1.509, allocations: 1.193 MB / 1.248 GB, free: 214.3 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001548/1.509, allocations: 48.12 kB / 1.248 GB, free: 214.2 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004463/1.509, allocations: 0.5446 MB / 1.249 GB, free: 213.9 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003277/1.51, allocations: 333.3 kB / 1.249 GB, free: 213.6 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/1.51, allocations: 82.72 kB / 1.249 GB, free: 213.6 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.896e-05/1.51, allocations: 343.5 kB / 1.249 GB, free: 213.2 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002413/1.513, allocations: 0.6922 MB / 1.25 GB, free: 213.1 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002723/1.515, allocations: 0.9111 MB / 1.251 GB, free: 212.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005394/1.521, allocations: 1.548 MB / 1.252 GB, free: 212.2 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/1.521, allocations: 1.531 kB / 1.252 GB, free: 212.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005726/1.526, allocations: 1.772 MB / 1.254 GB, free: 211.6 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/1.526, allocations: 10.95 kB / 1.254 GB, free: 211.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/1.526, allocations: 5.609 kB / 1.254 GB, free: 211.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.03e-05/1.527, allocations: 10.91 kB / 1.254 GB, free: 211.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/1.528, allocations: 339.4 kB / 1.255 GB, free: 211.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.51e-05/1.528, allocations: 13.53 kB / 1.255 GB, free: 211.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/1.53, allocations: 250.1 kB / 1.255 GB, free: 211.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/1.53, allocations: 55.72 kB / 1.255 GB, free: 211.5 MB / 0.9825 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 ($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 (121): * Single equations (assignments): 121 * 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.0006478/1.531, allocations: 331.1 kB / 1.255 GB, free: 211.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/1.531, allocations: 138.9 kB / 1.255 GB, free: 211.2 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005448/1.537, allocations: 1.806 MB / 1.257 GB, free: 210.7 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/1.537, allocations: 9.219 kB / 1.257 GB, free: 210.7 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.537, allocations: 0 / 1.257 GB, free: 210.7 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/1.537, allocations: 4.594 kB / 1.257 GB, free: 210.7 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00863/1.546, allocations: 3.332 MB / 1.26 GB, free: 209.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/1.546, allocations: 4.75 kB / 1.26 GB, free: 209.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/1.547, allocations: 283.5 kB / 1.261 GB, free: 209.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.61e-05/1.547, allocations: 8.406 kB / 1.261 GB, free: 209.3 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.35e-05/1.547, allocations: 31.53 kB / 1.261 GB, free: 209.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-05/1.547, allocations: 18.88 kB / 1.261 GB, free: 209.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/1.547, allocations: 4.438 kB / 1.261 GB, free: 209.3 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007425/1.555, allocations: 2.835 MB / 1.263 GB, free: 208.3 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006267/1.555, allocations: 329.1 kB / 1.264 GB, free: 208 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/1.556, allocations: 25.5 kB / 1.264 GB, free: 208 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/1.557, allocations: 176.8 kB / 1.264 GB, free: 208 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/1.557, allocations: 70.27 kB / 1.264 GB, free: 208 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.722e-05/1.557, allocations: 41.27 kB / 1.264 GB, free: 208 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001094/1.558, allocations: 0.8356 MB / 1.265 GB, free: 207.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/1.558, allocations: 0 / 1.265 GB, free: 207.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001077/1.56, allocations: 344.1 kB / 1.265 GB, free: 207.6 MB / 0.9825 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 (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 (95): * Single equations (assignments): 89 * 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.008033/1.568, allocations: 3.825 MB / 1.269 GB, free: 205.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004588/1.572, allocations: 1.618 MB / 1.27 GB, free: 204.7 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/1.572, allocations: 0 / 1.27 GB, free: 204.7 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002229/1.575, allocations: 0.8335 MB / 1.271 GB, free: 204 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003471/1.578, allocations: 0.5814 MB / 1.272 GB, free: 203.4 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02226/1.6, allocations: 13.35 MB / 1.285 GB, free: 189.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/1.601, allocations: 1.183 MB / 1.286 GB, free: 188.3 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00163/1.602, allocations: 366 kB / 1.286 GB, free: 187.9 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006916/1.603, allocations: 0.4993 MB / 1.287 GB, free: 187.4 MB / 0.9825 GB Notification: Performance of SimCode: time 6.62e-07/1.603, allocations: 4 kB / 1.287 GB, free: 187.4 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05209/1.655, allocations: 33.67 MB / 1.32 GB, free: 154.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/1.655, allocations: 248.6 kB / 1.32 GB, free: 154 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.963/4.618, allocations: 3.938 kB / 1.32 GB, free: 154 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)