Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_9_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.001301/0.001301, 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.001484/0.001484, allocations: 177.3 kB / 15.94 MB, free: 228 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.348/1.348, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.332/2.332, allocations: 390.3 MB / 0.6653 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003491, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6793/0.6796, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.173/0.8526, allocations: 160.8 MB / 1.111 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008986/0.8617, allocations: 5.045 MB / 1.116 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.863, allocations: 39.69 kB / 1.116 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002225/0.8653, allocations: 0.7782 MB / 1.116 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005103/0.8704, allocations: 1.784 MB / 1.118 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003296/0.8737, allocations: 1.163 MB / 1.119 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003177/0.8769, allocations: 1.696 MB / 1.121 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.8783, allocations: 0.8208 MB / 1.122 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.8805, allocations: 0.9734 MB / 1.123 GB, free: 2.691 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.8818, allocations: 0.7045 MB / 1.123 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.8819, allocations: 48 kB / 1.123 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.8845, allocations: 0.9399 MB / 1.124 GB, free: 0.9961 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000395/0.8849, allocations: 378.8 kB / 1.125 GB, free: 0.625 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003473/0.8852, allocations: 273 kB / 1.125 GB, free: 360 kB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.8871, allocations: 1.329 MB / 1.126 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.8871, allocations: 0 / 1.126 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8871, allocations: 0 / 1.126 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.8871, allocations: 0 / 1.126 GB, free: 15.02 MB / 0.8887 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.004747/0.8919, allocations: 1.7 MB / 1.128 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.892, allocations: 12.03 kB / 1.128 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001973/0.8922, allocations: 147.5 kB / 1.128 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005397/0.8976, allocations: 0.9268 MB / 1.129 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.8994, allocations: 0.8561 MB / 1.13 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.671e-05/0.8995, allocations: 70 kB / 1.13 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.8997, allocations: 91.98 kB / 1.13 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00374/0.9034, allocations: 1.571 MB / 1.131 GB, free: 9.496 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.9034, allocations: 0 / 1.131 GB, free: 9.496 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.9036, allocations: 35.98 kB / 1.131 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.146e-05/0.9036, allocations: 45.98 kB / 1.131 GB, free: 9.418 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005174/0.9088, allocations: 1.842 MB / 1.133 GB, free: 7.574 MB / 0.8887 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.007395/0.9162, allocations: 4.276 MB / 1.137 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004741/0.921, allocations: 1.592 MB / 1.139 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004841/0.9215, allocations: 178 kB / 1.139 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002487/0.924, allocations: 0.895 MB / 1.14 GB, free: 376 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=95): time 3.466e-06/0.924, allocations: 4 kB / 1.14 GB, free: 372 kB / 0.8887 GB Notification: Performance of matching and sorting (n=95): time 0.00765/0.9317, allocations: 2.431 MB / 1.142 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.9318, allocations: 60.41 kB / 1.142 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.9333, allocations: 1.189 MB / 1.144 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.9335, allocations: 45.7 kB / 1.144 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005277/0.934, allocations: 0.5409 MB / 1.144 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005078/0.9345, allocations: 335.6 kB / 1.145 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.06e-05/0.9346, allocations: 20 kB / 1.145 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.9347, allocations: 341.9 kB / 1.145 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002129/0.9369, allocations: 0.6927 MB / 1.146 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0025/0.9394, allocations: 0.8886 MB / 1.146 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002168/0.9416, allocations: 0.7289 MB / 1.147 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.9416, allocations: 0 / 1.147 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005102/0.9467, allocations: 1.745 MB / 1.149 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.9467, allocations: 8 kB / 1.149 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.9467, allocations: 4 kB / 1.149 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.9468, allocations: 8 kB / 1.149 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.9485, allocations: 347.9 kB / 1.149 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.9486, allocations: 11.94 kB / 1.149 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.9503, allocations: 258.7 kB / 1.149 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.9504, allocations: 47.97 kB / 1.15 GB, free: 6.566 MB / 0.9044 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.0005493/0.951, allocations: 335.7 kB / 1.15 GB, free: 6.23 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.9512, allocations: 134.4 kB / 1.15 GB, free: 6.098 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005005/0.9562, allocations: 1.784 MB / 1.152 GB, free: 4.305 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.9562, allocations: 8 kB / 1.152 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.9563, allocations: 7.953 kB / 1.152 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.9563, allocations: 3.984 kB / 1.152 GB, free: 4.285 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007408/0.9637, allocations: 3.309 MB / 1.155 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.9637, allocations: 4 kB / 1.155 GB, free: 0.8711 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/0.9654, allocations: 288 kB / 1.155 GB, free: 0.5898 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.736e-05/0.9654, allocations: 15.89 kB / 1.155 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.135e-05/0.9655, allocations: 35.97 kB / 1.155 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/0.9655, allocations: 7.984 kB / 1.155 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.9656, allocations: 8 kB / 1.155 GB, free: 0.5234 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007416/0.973, allocations: 3.013 MB / 1.158 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008514/0.9739, allocations: 331.1 kB / 1.159 GB, free: 13.03 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/0.9741, allocations: 23.98 kB / 1.159 GB, free: 13 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.9755, allocations: 175.8 kB / 1.159 GB, free: 12.83 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.9757, allocations: 68.47 kB / 1.159 GB, free: 12.77 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.413e-05/0.9758, allocations: 43.97 kB / 1.159 GB, free: 12.72 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001047/0.9768, allocations: 0.8197 MB / 1.16 GB, free: 11.9 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9768, allocations: 0 / 1.16 GB, free: 11.9 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001206/0.978, allocations: 343.5 kB / 1.16 GB, free: 11.56 MB / 0.92 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.009656/0.9877, allocations: 5.09 MB / 1.165 GB, free: 6.504 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004899/0.9927, allocations: 1.595 MB / 1.166 GB, free: 4.91 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.9927, allocations: 0 / 1.166 GB, free: 4.91 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002407/0.9951, allocations: 0.8282 MB / 1.167 GB, free: 4.082 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003056/0.9982, allocations: 0.5703 MB / 1.168 GB, free: 3.512 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02271/1.021, allocations: 12.1 MB / 1.18 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008724/1.022, allocations: 1.216 MB / 1.181 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001819/1.024, allocations: 366 kB / 1.181 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008649/1.025, allocations: 0.4953 MB / 1.182 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of SimCode: time 7.42e-07/1.025, allocations: 0 / 1.182 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06253/1.087, allocations: 33.7 MB / 1.215 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/1.087, allocations: 227.1 kB / 1.215 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.648/3.736, allocations: 0 / 1.215 GB, free: 3.375 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat does not exist to compare? outputFormat=mat