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.001141/0.001141, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001445/0.001445, allocations: 168.7 kB / 15.95 MB, free: 204 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.389/1.389, allocations: 223.3 MB / 240 MB, free: 5.395 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.401/2.401, allocations: 390.4 MB / 0.6655 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.0003372, allocations: 15.98 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.677/0.6774, allocations: 142.3 MB / 0.9539 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1852/0.8626, allocations: 176.3 MB / 1.126 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009331/0.872, allocations: 4.892 MB / 1.131 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.8735, allocations: 43.62 kB / 1.131 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.8754, allocations: 0.618 MB / 1.131 GB, free: 9.812 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007709/0.8832, allocations: 1.886 MB / 1.133 GB, free: 7.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00308/0.8863, allocations: 0.9076 MB / 1.134 GB, free: 7.016 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004202/0.8905, allocations: 3.077 MB / 1.137 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.8922, allocations: 0.7738 MB / 1.138 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/0.8946, allocations: 0.9961 MB / 1.139 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/0.8968, allocations: 0.9496 MB / 1.14 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004337/0.8973, allocations: 55.94 kB / 1.14 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003363/0.9006, allocations: 0.9353 MB / 1.141 GB, free: 196 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000701/0.9013, allocations: 406.7 kB / 1.141 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006664/0.902, allocations: 272.9 kB / 1.141 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.9044, allocations: 1.376 MB / 1.143 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.9044, allocations: 4 kB / 1.143 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9044, allocations: 0 / 1.143 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.277e-05/0.9045, allocations: 0 / 1.143 GB, free: 14.14 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.005157/0.9097, allocations: 1.726 MB / 1.144 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.9097, allocations: 8.031 kB / 1.145 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003371/0.9101, allocations: 139.6 kB / 1.145 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005199/0.9153, allocations: 0.9268 MB / 1.146 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.9171, allocations: 0.8601 MB / 1.146 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.742e-05/0.9172, allocations: 69.98 kB / 1.146 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002671/0.9174, allocations: 88 kB / 1.147 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003864/0.9213, allocations: 1.583 MB / 1.148 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.9214, allocations: 3.938 kB / 1.148 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.9215, allocations: 32 kB / 1.148 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-05/0.9216, allocations: 49.98 kB / 1.148 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005063/0.9267, allocations: 1.838 MB / 1.15 GB, free: 6.668 MB / 0.9044 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.008429/0.9351, allocations: 4.754 MB / 1.155 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004127/0.9393, allocations: 1.577 MB / 1.156 GB, free: 96 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002139/0.9414, allocations: 0.843 MB / 1.157 GB, free: 15.25 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/0.9428, allocations: 0.953 MB / 1.158 GB, free: 14.11 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002328/0.9451, allocations: 0.9187 MB / 1.159 GB, free: 13.18 MB / 0.92 GB Notification: Performance of pre-optimization done (n=95): time 6.923e-06/0.9452, allocations: 0 / 1.159 GB, free: 13.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=95): time 0.007292/0.9525, allocations: 2.443 MB / 1.161 GB, free: 10.73 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.612e-05/0.9526, allocations: 64.41 kB / 1.161 GB, free: 10.66 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002456/0.9551, allocations: 1.189 MB / 1.162 GB, free: 9.457 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001649/0.9553, allocations: 49.7 kB / 1.162 GB, free: 9.402 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000669/0.956, allocations: 0.5409 MB / 1.163 GB, free: 8.855 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004668/0.9564, allocations: 323.3 kB / 1.163 GB, free: 8.535 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-05/0.9566, allocations: 20 kB / 1.163 GB, free: 8.516 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.9567, allocations: 341.9 kB / 1.164 GB, free: 8.176 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002127/0.9589, allocations: 0.6967 MB / 1.164 GB, free: 7.477 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002279/0.9612, allocations: 0.8996 MB / 1.165 GB, free: 6.512 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002274/0.9635, allocations: 0.7328 MB / 1.166 GB, free: 5.781 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.9635, allocations: 0 / 1.166 GB, free: 5.781 MB / 0.92 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004793/0.9683, allocations: 1.764 MB / 1.168 GB, free: 4.008 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.9683, allocations: 4 kB / 1.168 GB, free: 4.004 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.9684, allocations: 8.531 kB / 1.168 GB, free: 3.996 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.681e-05/0.9684, allocations: 15.94 kB / 1.168 GB, free: 3.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/0.9702, allocations: 331.5 kB / 1.168 GB, free: 3.656 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-05/0.9702, allocations: 15.98 kB / 1.168 GB, free: 3.641 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.972, allocations: 258.7 kB / 1.168 GB, free: 3.387 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.9722, allocations: 43.98 kB / 1.168 GB, free: 3.344 MB / 0.92 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.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 (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.000695/0.9729, allocations: 343.7 kB / 1.169 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003323/0.9732, allocations: 134.3 kB / 1.169 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00487/0.9781, allocations: 1.788 MB / 1.17 GB, free: 1.066 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.9781, allocations: 16 kB / 1.17 GB, free: 1.051 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.9781, allocations: 0 / 1.17 GB, free: 1.051 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.9782, allocations: 11.97 kB / 1.17 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007101/0.9853, allocations: 3.32 MB / 1.174 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/0.9853, allocations: 7.984 kB / 1.174 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/0.9869, allocations: 296 kB / 1.174 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.929e-05/0.9869, allocations: 8 kB / 1.174 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.987, allocations: 31.97 kB / 1.174 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.755e-05/0.987, allocations: 11.94 kB / 1.174 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.987, allocations: 4 kB / 1.174 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006763/0.9938, allocations: 2.828 MB / 1.177 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006638/0.9945, allocations: 327.2 kB / 1.177 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002845/0.9948, allocations: 23.98 kB / 1.177 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.9962, allocations: 179.6 kB / 1.177 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.9964, allocations: 72.47 kB / 1.177 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.9965, allocations: 43.97 kB / 1.177 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00115/0.9977, allocations: 0.8236 MB / 1.178 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9977, allocations: 0 / 1.178 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001204/0.9989, allocations: 335.7 kB / 1.179 GB, free: 8.566 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 (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 (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.008553/1.007, allocations: 3.807 MB / 1.182 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004435/1.012, allocations: 1.619 MB / 1.184 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/1.012, allocations: 0 / 1.184 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002179/1.014, allocations: 0.8283 MB / 1.185 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003058/1.017, allocations: 0.5923 MB / 1.185 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0195/1.037, allocations: 9.52 MB / 1.195 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009037/1.038, allocations: 1.187 MB / 1.196 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001793/1.04, allocations: 362 kB / 1.196 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008678/1.04, allocations: 0.5032 MB / 1.197 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of SimCode: time 1.122e-06/1.04, allocations: 0 / 1.197 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7814/1.822, allocations: 33.75 MB / 1.23 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/1.822, allocations: 230.3 kB / 1.23 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.565/4.387, allocations: 0 / 1.23 GB, free: 4.262 MB / 0.9825 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