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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.001245/0.001245, 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.00173/0.00173, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.387/2.387, allocations: 409.2 MB / 0.6838 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003566, allocations: 12 kB / 0.8375 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.671/0.6713, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1678/0.8392, allocations: 160.8 MB / 1.138 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008381/0.8476, allocations: 5.032 MB / 1.143 GB, free: 108 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.8489, allocations: 43.62 kB / 1.143 GB, free: 64 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.8511, allocations: 0.7782 MB / 1.144 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00504/0.8561, allocations: 1.78 MB / 1.145 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003452/0.8596, allocations: 1.169 MB / 1.146 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004066/0.8637, allocations: 1.688 MB / 1.148 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/0.8655, allocations: 0.8247 MB / 1.149 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002988/0.8685, allocations: 0.9657 MB / 1.15 GB, free: 8.844 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.8701, allocations: 0.7122 MB / 1.151 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.8703, allocations: 48 kB / 1.151 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.8733, allocations: 0.936 MB / 1.152 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000463/0.8738, allocations: 382.8 kB / 1.152 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004762/0.8743, allocations: 265 kB / 1.152 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.8769, allocations: 1.329 MB / 1.153 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8769, allocations: 0 / 1.153 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.425e-06/0.8769, allocations: 0 / 1.153 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.145e-05/0.877, allocations: 0 / 1.153 GB, free: 5.172 MB / 0.9044 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.005295/0.8823, allocations: 1.704 MB / 1.155 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.8823, allocations: 12.03 kB / 1.155 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002366/0.8826, allocations: 143.5 kB / 1.155 GB, free: 3.25 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005486/0.8881, allocations: 0.9307 MB / 1.156 GB, free: 2.316 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.8898, allocations: 0.8562 MB / 1.157 GB, free: 1.402 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.756e-05/0.8899, allocations: 73.95 kB / 1.157 GB, free: 1.332 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.8901, allocations: 91.98 kB / 1.157 GB, free: 1.242 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003615/0.8937, allocations: 1.567 MB / 1.159 GB, free: 15.64 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.8937, allocations: 0 / 1.159 GB, free: 15.64 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.8938, allocations: 36 kB / 1.159 GB, free: 15.61 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-05/0.8939, allocations: 53.97 kB / 1.159 GB, free: 15.55 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00507/0.899, allocations: 1.834 MB / 1.161 GB, free: 13.72 MB / 0.92 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.006572/0.9056, allocations: 4.275 MB / 1.165 GB, free: 9.219 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004442/0.91, allocations: 1.599 MB / 1.166 GB, free: 7.609 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004805/0.9105, allocations: 177.9 kB / 1.166 GB, free: 7.418 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002384/0.9129, allocations: 0.8989 MB / 1.167 GB, free: 6.508 MB / 0.92 GB Notification: Performance of pre-optimization done (n=95): time 3.146e-06/0.9129, allocations: 0 / 1.167 GB, free: 6.508 MB / 0.92 GB Notification: Performance of matching and sorting (n=95): time 0.007511/0.9205, allocations: 2.427 MB / 1.17 GB, free: 4.074 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.9205, allocations: 64.41 kB / 1.17 GB, free: 3.996 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.9219, allocations: 1.193 MB / 1.171 GB, free: 2.793 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.922, allocations: 45.7 kB / 1.171 GB, free: 2.742 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004282/0.9225, allocations: 0.5409 MB / 1.172 GB, free: 2.195 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000277/0.9228, allocations: 327.3 kB / 1.172 GB, free: 1.871 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.767e-05/0.9228, allocations: 20 kB / 1.172 GB, free: 1.852 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.923, allocations: 341.9 kB / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002102/0.9251, allocations: 0.685 MB / 1.173 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/0.9273, allocations: 0.8997 MB / 1.174 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002111/0.9294, allocations: 0.7211 MB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.9295, allocations: 0 / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004877/0.9343, allocations: 1.752 MB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/0.9344, allocations: 8.438 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.9344, allocations: 13.73 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.9344, allocations: 8 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.9362, allocations: 339.5 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-05/0.9362, allocations: 11.98 kB / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.938, allocations: 250.8 kB / 1.177 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.9381, allocations: 43.98 kB / 1.177 GB, free: 12.72 MB / 0.9356 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.0007161/0.9389, allocations: 343.7 kB / 1.177 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.9391, allocations: 138.3 kB / 1.177 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005053/0.9441, allocations: 1.784 MB / 1.179 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.9441, allocations: 12 kB / 1.179 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.9442, allocations: 0 / 1.179 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.9442, allocations: 3.984 kB / 1.179 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007112/0.9513, allocations: 3.301 MB / 1.182 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.9513, allocations: 4 kB / 1.182 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/0.9529, allocations: 292 kB / 1.182 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.5e-05/0.953, allocations: 12 kB / 1.183 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.991e-05/0.9531, allocations: 35.97 kB / 1.183 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.727e-06/0.9531, allocations: 8.078 kB / 1.183 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.9531, allocations: 23.86 kB / 1.183 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007061/0.9602, allocations: 3.005 MB / 1.186 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007208/0.9609, allocations: 331.1 kB / 1.186 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.9611, allocations: 27.94 kB / 1.186 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.9625, allocations: 179.8 kB / 1.186 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.9627, allocations: 60.52 kB / 1.186 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.577e-05/0.9628, allocations: 51.92 kB / 1.186 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009596/0.9637, allocations: 0.8197 MB / 1.187 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9638, allocations: 0 / 1.187 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001/0.9648, allocations: 343.5 kB / 1.187 GB, free: 1.699 MB / 0.9356 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.008866/0.9736, allocations: 5.072 MB / 1.192 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004619/0.9783, allocations: 1.595 MB / 1.194 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.9783, allocations: 0 / 1.194 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002278/0.9806, allocations: 0.8282 MB / 1.195 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/0.9833, allocations: 0.5714 MB / 1.195 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/1.003, allocations: 12.12 MB / 1.207 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008338/1.004, allocations: 1.208 MB / 1.208 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001765/1.005, allocations: 362 kB / 1.208 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008418/1.006, allocations: 0.4993 MB / 1.209 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of SimCode: time 1.232e-06/1.006, allocations: 4 kB / 1.209 GB, free: 11 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05669/1.063, allocations: 33.7 MB / 1.242 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002849/1.063, allocations: 222.8 kB / 1.242 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/3.583, allocations: 0 / 1.242 GB, free: 9.527 MB / 0.9981 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat does not exist to compare? outputFormat=mat