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.0007946/0.0007944, allocations: 86.56 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.0008278/0.0008277, 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.376/1.376, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.598/2.598, allocations: 409.4 MB / 0.684 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003228, allocations: 8 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7074/0.7078, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1978/0.9057, allocations: 176.3 MB / 1.153 GB, free: 5.426 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009146/0.9149, allocations: 4.881 MB / 1.158 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.9161, allocations: 39.69 kB / 1.158 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.9178, allocations: 0.6257 MB / 1.159 GB, free: 15.87 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005389/0.9232, allocations: 1.89 MB / 1.161 GB, free: 13.97 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002612/0.9258, allocations: 0.9091 MB / 1.161 GB, free: 13.07 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004078/0.9299, allocations: 3.077 MB / 1.164 GB, free: 9.977 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.9313, allocations: 0.7738 MB / 1.165 GB, free: 9.195 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002091/0.9334, allocations: 0.996 MB / 1.166 GB, free: 8.195 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.9348, allocations: 0.9418 MB / 1.167 GB, free: 7.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.9349, allocations: 48 kB / 1.167 GB, free: 7.203 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002586/0.9375, allocations: 0.9431 MB / 1.168 GB, free: 6.258 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004571/0.938, allocations: 410.7 kB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003938/0.9384, allocations: 272.9 kB / 1.169 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.9402, allocations: 1.383 MB / 1.17 GB, free: 4.195 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.9402, allocations: 3.938 kB / 1.17 GB, free: 4.191 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9402, allocations: 4 kB / 1.17 GB, free: 4.188 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.9402, allocations: 0 / 1.17 GB, free: 4.188 MB / 0.92 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.004512/0.9447, allocations: 1.704 MB / 1.172 GB, free: 2.426 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.9448, allocations: 15.97 kB / 1.172 GB, free: 2.41 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002593/0.945, allocations: 139.6 kB / 1.172 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004739/0.9498, allocations: 0.9229 MB / 1.173 GB, free: 1.34 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.9512, allocations: 0.864 MB / 1.174 GB, free: 428 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.816e-05/0.9513, allocations: 69.95 kB / 1.174 GB, free: 360 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.9514, allocations: 88 kB / 1.174 GB, free: 272 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003514/0.9549, allocations: 1.583 MB / 1.175 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.955, allocations: 3.984 kB / 1.175 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.9551, allocations: 40 kB / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.665e-05/0.9552, allocations: 45.98 kB / 1.175 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004653/0.9598, allocations: 1.842 MB / 1.177 GB, free: 12.72 MB / 0.9356 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.007826/0.9677, allocations: 4.746 MB / 1.182 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004137/0.9718, allocations: 1.587 MB / 1.183 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00208/0.9739, allocations: 0.8546 MB / 1.184 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001372/0.9753, allocations: 0.9491 MB / 1.185 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002335/0.9776, allocations: 0.9067 MB / 1.186 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=95): time 3.908e-06/0.9777, allocations: 0 / 1.186 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95): time 0.007173/0.9848, allocations: 2.443 MB / 1.188 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.9849, allocations: 60.41 kB / 1.189 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/0.9868, allocations: 1.189 MB / 1.19 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.9869, allocations: 49.7 kB / 1.19 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004847/0.9874, allocations: 0.5409 MB / 1.19 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003547/0.9878, allocations: 327.3 kB / 1.191 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-05/0.9879, allocations: 20 kB / 1.191 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.988, allocations: 345.9 kB / 1.191 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/0.9901, allocations: 0.6889 MB / 1.192 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002187/0.9923, allocations: 0.9074 MB / 1.192 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002037/0.9943, allocations: 0.7251 MB / 1.193 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.9943, allocations: 0 / 1.193 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004621/0.999, allocations: 1.768 MB / 1.195 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.999, allocations: 4 kB / 1.195 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.999, allocations: 4 kB / 1.195 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.253e-05/0.9991, allocations: 12 kB / 1.195 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/1.001, allocations: 339.9 kB / 1.195 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.92e-05/1.001, allocations: 11.98 kB / 1.195 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/1.002, allocations: 262.6 kB / 1.196 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/1.003, allocations: 43.98 kB / 1.196 GB, free: 9.402 MB / 0.9512 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.0007148/1.003, allocations: 335.7 kB / 1.196 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003115/1.004, allocations: 134.4 kB / 1.196 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004807/1.008, allocations: 1.792 MB / 1.198 GB, free: 7.133 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/1.008, allocations: 12.09 kB / 1.198 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/1.008, allocations: 7.922 kB / 1.198 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/1.008, allocations: 7.984 kB / 1.198 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00716/1.016, allocations: 3.335 MB / 1.201 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/1.016, allocations: 4 kB / 1.201 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/1.017, allocations: 288 kB / 1.201 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.886e-05/1.017, allocations: 8 kB / 1.201 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/1.017, allocations: 31.97 kB / 1.201 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.068e-05/1.017, allocations: 8 kB / 1.201 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/1.017, allocations: 15.89 kB / 1.201 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006796/1.024, allocations: 2.828 MB / 1.204 GB, free: 436 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006438/1.025, allocations: 331.1 kB / 1.204 GB, free: 84 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/1.025, allocations: 27.98 kB / 1.204 GB, free: 56 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/1.027, allocations: 167.8 kB / 1.205 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/1.027, allocations: 76.47 kB / 1.205 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/1.027, allocations: 39.97 kB / 1.205 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001112/1.028, allocations: 0.8236 MB / 1.206 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/1.028, allocations: 0 / 1.206 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001137/1.029, allocations: 335.7 kB / 1.206 GB, free: 14.62 MB / 0.9669 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.008263/1.037, allocations: 3.816 MB / 1.21 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004675/1.042, allocations: 1.611 MB / 1.211 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/1.042, allocations: 4.25 kB / 1.211 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002264/1.044, allocations: 0.8358 MB / 1.212 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/1.048, allocations: 0.5866 MB / 1.213 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02019/1.068, allocations: 9.53 MB / 1.222 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009181/1.069, allocations: 1.183 MB / 1.223 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001783/1.071, allocations: 358 kB / 1.223 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009124/1.072, allocations: 0.5032 MB / 1.224 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of SimCode: time 1.202e-06/1.072, allocations: 0 / 1.224 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5768/1.648, allocations: 33.74 MB / 1.257 GB, free: 265.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/1.649, allocations: 229.5 kB / 1.257 GB, free: 265.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.846/4.494, allocations: 0 / 1.257 GB, free: 265.1 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