Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.404/2.404, allocations: 390.3 MB / 402.8 MB, free: 6.641 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 184.5 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.656/1.656, allocations: 221.3 MB / 0.7915 GB, free: 5.43 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009952/0.0009952, allocations: 83.97 kB / 0.9317 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.531e-05/4.549e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3365, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.407/1.743, allocations: 402.3 MB / 1.612 GB, free: 15.59 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000362/1.744, allocations: 83.95 kB / 1.612 GB, free: 15.54 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 4.033/5.776, allocations: 0.9519 GB / 2.564 GB, free: 17.02 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.843e-06/5.776, allocations: 0 / 2.564 GB, free: 17.02 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003088/5.777, allocations: 55.98 kB / 2.564 GB, free: 16.96 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.005232/5.782, allocations: 1.862 MB / 2.566 GB, free: 15.03 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/5.782, allocations: 8.031 kB / 2.566 GB, free: 15.02 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005766/5.782, allocations: 160.5 kB / 2.566 GB, free: 14.86 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003514/5.786, allocations: 0.6104 MB / 2.566 GB, free: 14.24 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004647/5.791, allocations: 1.426 MB / 2.568 GB, free: 12.77 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/5.791, allocations: 82 kB / 2.568 GB, free: 12.68 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000413/5.791, allocations: 108 kB / 2.568 GB, free: 12.58 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002597/5.794, allocations: 1.196 MB / 2.569 GB, free: 11.32 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/5.794, allocations: 0 / 2.569 GB, free: 11.32 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/5.794, allocations: 44 kB / 2.569 GB, free: 11.27 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/5.794, allocations: 24 kB / 2.569 GB, free: 11.25 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/5.796, allocations: 0.9254 MB / 2.57 GB, free: 10.32 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.007783/5.804, allocations: 6.411 MB / 2.576 GB, free: 3.406 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/5.805, allocations: 0.9603 MB / 2.577 GB, free: 2.426 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000651/5.806, allocations: 0.5186 MB / 2.578 GB, free: 1.902 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001709/5.807, allocations: 2.26 MB / 2.58 GB, free: 15.14 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/5.808, allocations: 0.6831 MB / 2.581 GB, free: 14.43 MB / 1.167 GB Notification: Performance of pre-optimization done (n=100): time 4.138e-06/5.808, allocations: 0 / 2.581 GB, free: 14.43 MB / 1.167 GB Notification: Performance of matching and sorting (n=100): time 0.002738/5.811, allocations: 1.341 MB / 2.582 GB, free: 13.06 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/5.811, allocations: 141.3 kB / 2.582 GB, free: 12.89 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/5.813, allocations: 1.017 MB / 2.583 GB, free: 11.87 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/5.813, allocations: 45.7 kB / 2.583 GB, free: 11.82 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006613/5.814, allocations: 0.6977 MB / 2.584 GB, free: 11.11 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003303/5.814, allocations: 323.2 kB / 2.584 GB, free: 10.79 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-05/5.814, allocations: 24 kB / 2.584 GB, free: 10.77 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001544/5.814, allocations: 341.9 kB / 2.584 GB, free: 10.43 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007195/5.815, allocations: 425.9 kB / 2.585 GB, free: 10.01 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009314/5.816, allocations: 0.6613 MB / 2.585 GB, free: 9.258 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008326/5.817, allocations: 0.5347 MB / 2.586 GB, free: 8.707 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/5.817, allocations: 7.953 kB / 2.586 GB, free: 8.699 MB / 1.167 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002651/5.819, allocations: 1.468 MB / 2.587 GB, free: 7.207 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008552/5.82, allocations: 1.712 MB / 2.589 GB, free: 5.324 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/5.82, allocations: 4 kB / 2.589 GB, free: 5.32 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.448e-05/5.82, allocations: 8 kB / 2.589 GB, free: 5.312 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/5.822, allocations: 291.6 kB / 2.589 GB, free: 5.027 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/5.822, allocations: 8 kB / 2.589 GB, free: 5.02 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/5.823, allocations: 242.8 kB / 2.59 GB, free: 4.781 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/5.824, allocations: 63.97 kB / 2.59 GB, free: 4.719 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/5.824, allocations: 4 kB / 2.59 GB, free: 4.715 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002364/5.826, allocations: 1.374 MB / 2.591 GB, free: 3.324 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/5.826, allocations: 4 kB / 2.591 GB, free: 3.32 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/5.826, allocations: 11.95 kB / 2.591 GB, free: 3.309 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/5.827, allocations: 279.9 kB / 2.591 GB, free: 3.035 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/5.827, allocations: 15.92 kB / 2.591 GB, free: 3.02 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/5.829, allocations: 223 kB / 2.592 GB, free: 2.801 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/5.829, allocations: 59.97 kB / 2.592 GB, free: 2.742 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * 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.0004681/5.83, allocations: 272.1 kB / 2.592 GB, free: 2.449 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000443/5.83, allocations: 166 kB / 2.592 GB, free: 2.285 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004317/5.835, allocations: 2.037 MB / 2.594 GB, free: 228 kB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.342e-05/5.835, allocations: 19.94 kB / 2.594 GB, free: 208 kB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/5.835, allocations: 3.938 kB / 2.594 GB, free: 204 kB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/5.835, allocations: 7.984 kB / 2.594 GB, free: 196 kB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.115/6.949, allocations: 3.38 MB / 2.597 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/6.95, allocations: 2.125 kB / 2.597 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/6.951, allocations: 239.2 kB / 2.598 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.181e-05/6.951, allocations: 5.719 kB / 2.598 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/6.951, allocations: 40.08 kB / 2.598 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.916e-05/6.951, allocations: 10.11 kB / 2.598 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/6.951, allocations: 2.125 kB / 2.598 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00607/6.957, allocations: 2.735 MB / 2.6 GB, free: 200.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/6.959, allocations: 405.2 kB / 2.601 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/6.959, allocations: 32.98 kB / 2.601 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/6.96, allocations: 172.8 kB / 2.601 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/6.96, allocations: 71.7 kB / 2.601 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/6.96, allocations: 63.2 kB / 2.601 GB, free: 200.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001527/6.962, allocations: 0.7868 MB / 2.602 GB, free: 200.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.71e-07/6.962, allocations: 0.5938 kB / 2.602 GB, free: 200.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003438/6.965, allocations: 0.92 MB / 2.603 GB, free: 200.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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 Backend phase and start with SimCode phase: time 0.006426/6.972, allocations: 4.377 MB / 2.607 GB, free: 199 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003865/6.976, allocations: 2.302 MB / 2.609 GB, free: 198.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/6.976, allocations: 0 / 2.609 GB, free: 198.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/6.977, allocations: 0.918 MB / 2.61 GB, free: 198.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003254/6.98, allocations: 0.5945 MB / 2.611 GB, free: 198.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006508/6.987, allocations: 2.854 MB / 2.613 GB, free: 197.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/6.988, allocations: 1.317 MB / 2.615 GB, free: 197.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002302/6.99, allocations: 499.4 kB / 2.615 GB, free: 197 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008294/6.991, allocations: 0.6382 MB / 2.616 GB, free: 197 MB / 1.167 GB Notification: Performance of SimCode: time 1.512e-06/6.991, allocations: 0 / 2.616 GB, free: 197 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1234/7.114, allocations: 53.38 MB / 2.668 GB, free: 196.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/7.115, allocations: 212.5 kB / 2.668 GB, free: 196 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.236/11.35, allocations: 0 / 2.668 GB, free: 196 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_res.mat does not exist to compare? outputFormat=mat