Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_latest_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.001759/0.001759, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002238/0.002238, allocations: 194.9 kB / 16.14 MB, free: 6.711 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.422/1.422, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.699/2.699, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 67.27 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3501, allocations: 157.4 MB / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.207/0.5572, allocations: 191.6 MB / 1.239 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009076/0.5663, allocations: 5.19 MB / 1.244 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.5678, allocations: 43.69 kB / 1.244 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00204/0.5699, allocations: 0.7077 MB / 1.245 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.6714/1.241, allocations: 2.444 MB / 1.247 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00351/1.245, allocations: 1.006 MB / 1.248 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005383/1.25, allocations: 3.614 MB / 1.252 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001744/1.252, allocations: 0.861 MB / 1.253 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002574/1.255, allocations: 1.023 MB / 1.254 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002018/1.257, allocations: 1.029 MB / 1.255 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002023/1.257, allocations: 53.25 kB / 1.255 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00451/1.261, allocations: 2.07 MB / 1.257 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007231/1.262, allocations: 424.8 kB / 1.257 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001102/1.263, allocations: 0.6372 MB / 1.258 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004605/1.268, allocations: 2.265 MB / 1.26 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/1.268, allocations: 0 / 1.26 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/1.268, allocations: 4 kB / 1.26 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.477e-05/1.268, allocations: 3.031 kB / 1.26 GB, free: 3.734 MB / 0.9981 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.006311/1.274, allocations: 1.957 MB / 1.262 GB, free: 18.79 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/1.274, allocations: 14.03 kB / 1.262 GB, free: 18.79 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002302/1.275, allocations: 141.9 kB / 1.262 GB, free: 18.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006241/1.281, allocations: 0.8917 MB / 1.263 GB, free: 18.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001977/1.283, allocations: 0.9024 MB / 1.264 GB, free: 18.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.759e-05/1.283, allocations: 73.03 kB / 1.264 GB, free: 18.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002058/1.283, allocations: 91.31 kB / 1.264 GB, free: 18.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004372/1.288, allocations: 1.586 MB / 1.266 GB, free: 18.1 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/1.288, allocations: 4.016 kB / 1.266 GB, free: 18.1 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/1.288, allocations: 38.23 kB / 1.266 GB, free: 18.1 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.316e-05/1.288, allocations: 44.56 kB / 1.266 GB, free: 18.1 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006223/1.294, allocations: 1.847 MB / 1.268 GB, free: 18.05 MB / 1.014 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.008887/1.303, allocations: 4.74 MB / 1.272 GB, free: 16.17 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004384/1.307, allocations: 1.561 MB / 1.274 GB, free: 16.1 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002328/1.31, allocations: 0.8571 MB / 1.275 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001452/1.311, allocations: 0.942 MB / 1.275 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002461/1.314, allocations: 0.914 MB / 1.276 GB, free: 15.05 MB / 1.014 GB Notification: Performance of pre-optimization done (n=95): time 3.767e-06/1.314, allocations: 0 / 1.276 GB, free: 15.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=95): time 0.007657/1.321, allocations: 2.454 MB / 1.279 GB, free: 14.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/1.321, allocations: 62.06 kB / 1.279 GB, free: 14.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/1.323, allocations: 1.202 MB / 1.28 GB, free: 14.66 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/1.323, allocations: 47.89 kB / 1.28 GB, free: 14.63 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/1.324, allocations: 0.5415 MB / 1.281 GB, free: 14.47 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/1.324, allocations: 324.8 kB / 1.281 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003325/1.324, allocations: 188.8 kB / 1.281 GB, free: 14.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.324, allocations: 347.5 kB / 1.281 GB, free: 13.94 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/1.326, allocations: 0.6982 MB / 1.282 GB, free: 13.92 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002192/1.329, allocations: 0.9137 MB / 1.283 GB, free: 13.72 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003973/1.332, allocations: 1.549 MB / 1.284 GB, free: 13.51 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/1.333, allocations: 1.031 kB / 1.284 GB, free: 13.51 MB / 1.014 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004801/1.337, allocations: 1.784 MB / 1.286 GB, free: 13.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/1.337, allocations: 7.875 kB / 1.286 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.337, allocations: 6.938 kB / 1.286 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/1.337, allocations: 12.41 kB / 1.286 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/1.339, allocations: 337.8 kB / 1.287 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.472e-05/1.339, allocations: 18.62 kB / 1.287 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/1.341, allocations: 249.1 kB / 1.287 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/1.341, allocations: 47.97 kB / 1.287 GB, free: 13.27 MB / 1.014 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.0007575/1.342, allocations: 339.7 kB / 1.287 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/1.342, allocations: 137.6 kB / 1.287 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004798/1.347, allocations: 1.801 MB / 1.289 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/1.347, allocations: 10.69 kB / 1.289 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/1.347, allocations: 5.75 kB / 1.289 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/1.347, allocations: 6.422 kB / 1.289 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006819/1.354, allocations: 3.328 MB / 1.292 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.354, allocations: 8.062 kB / 1.292 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/1.356, allocations: 289.8 kB / 1.293 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/1.356, allocations: 8.594 kB / 1.293 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.845e-05/1.356, allocations: 29.64 kB / 1.293 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/1.356, allocations: 14.55 kB / 1.293 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/1.356, allocations: 5.062 kB / 1.293 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006875/1.363, allocations: 2.844 MB / 1.295 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008093/1.364, allocations: 327.4 kB / 1.296 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/1.364, allocations: 21.83 kB / 1.296 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/1.365, allocations: 175.4 kB / 1.296 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/1.366, allocations: 72.2 kB / 1.296 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.369e-05/1.366, allocations: 41.52 kB / 1.296 GB, free: 11.79 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001017/1.367, allocations: 0.8363 MB / 1.297 GB, free: 11.68 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.367, allocations: 3 kB / 1.297 GB, free: 11.68 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001164/1.368, allocations: 335.5 kB / 1.297 GB, free: 11.66 MB / 1.014 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.008262/1.376, allocations: 3.823 MB / 1.301 GB, free: 10.61 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004745/1.381, allocations: 1.632 MB / 1.303 GB, free: 10.55 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.381, allocations: 0 / 1.303 GB, free: 10.55 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002248/1.383, allocations: 0.8433 MB / 1.303 GB, free: 10.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/1.386, allocations: 0.5748 MB / 1.304 GB, free: 10.48 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02431/1.41, allocations: 13.24 MB / 1.317 GB, free: 5.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007067/1.411, allocations: 1.186 MB / 1.318 GB, free: 5.031 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001687/1.413, allocations: 366.2 kB / 1.318 GB, free: 4.934 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007191/1.414, allocations: 0.4982 MB / 1.319 GB, free: 4.926 MB / 1.014 GB Notification: Performance of SimCode: time 6.11e-07/1.414, allocations: 0 / 1.319 GB, free: 4.926 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05581/1.469, allocations: 34.12 MB / 1.352 GB, free: 1.645 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/1.47, allocations: 257 kB / 1.352 GB, free: 1.387 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.715/4.185, allocations: 3.938 kB / 1.352 GB, free: 1.383 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)