Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.355/2.355, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.00111/0.00111, allocations: 176.9 kB / 492.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.652/1.652, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.00107/0.00107, allocations: 97.61 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.967e-05/4.969e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.3989, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.429/1.828, allocations: 401.4 MB / 1.605 GB, free: 12.48 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/1.829, allocations: 90.25 kB / 1.605 GB, free: 12.44 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.924/5.753, allocations: 0.9519 GB / 2.557 GB, free: 72.57 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.204e-06/5.753, allocations: 0 / 2.557 GB, free: 72.57 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002942/5.753, allocations: 51.97 kB / 2.557 GB, free: 72.52 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.005252/5.759, allocations: 1.87 MB / 2.558 GB, free: 70.59 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/5.759, allocations: 12.03 kB / 2.558 GB, free: 70.57 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005798/5.759, allocations: 152.8 kB / 2.559 GB, free: 70.42 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003604/5.763, allocations: 0.6065 MB / 2.559 GB, free: 69.81 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004786/5.768, allocations: 1.441 MB / 2.561 GB, free: 68.31 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.857e-05/5.768, allocations: 78 kB / 2.561 GB, free: 68.24 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/5.768, allocations: 108 kB / 2.561 GB, free: 68.13 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/5.77, allocations: 1.184 MB / 2.562 GB, free: 66.88 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/5.77, allocations: 4 kB / 2.562 GB, free: 66.88 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/5.77, allocations: 40 kB / 2.562 GB, free: 66.84 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/5.77, allocations: 27.95 kB / 2.562 GB, free: 66.81 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/5.772, allocations: 0.9215 MB / 2.563 GB, free: 65.89 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.007864/5.779, allocations: 6.432 MB / 2.569 GB, free: 58.96 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/5.781, allocations: 0.9493 MB / 2.57 GB, free: 58 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006539/5.782, allocations: 0.5264 MB / 2.571 GB, free: 57.47 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/5.783, allocations: 2.261 MB / 2.573 GB, free: 54.71 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008237/5.784, allocations: 0.6831 MB / 2.573 GB, free: 54 MB / 1.151 GB Notification: Performance of pre-optimization done (n=100): time 3.096e-06/5.784, allocations: 0 / 2.573 GB, free: 54 MB / 1.151 GB Notification: Performance of matching and sorting (n=100): time 0.002178/5.786, allocations: 1.33 MB / 2.575 GB, free: 52.64 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/5.786, allocations: 157.2 kB / 2.575 GB, free: 52.45 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/5.787, allocations: 1.021 MB / 2.576 GB, free: 51.43 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.335e-05/5.787, allocations: 49.64 kB / 2.576 GB, free: 51.37 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004664/5.788, allocations: 0.6783 MB / 2.577 GB, free: 50.68 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/5.788, allocations: 339.1 kB / 2.577 GB, free: 50.35 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/5.788, allocations: 16 kB / 2.577 GB, free: 50.33 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.758e-05/5.788, allocations: 345.9 kB / 2.577 GB, free: 49.99 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/5.789, allocations: 425.9 kB / 2.578 GB, free: 49.57 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006957/5.79, allocations: 0.6545 MB / 2.578 GB, free: 48.82 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006715/5.79, allocations: 0.5463 MB / 2.579 GB, free: 48.26 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/5.79, allocations: 0 / 2.579 GB, free: 48.26 MB / 1.151 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002117/5.792, allocations: 1.468 MB / 2.58 GB, free: 46.77 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004472/5.793, allocations: 1.71 MB / 2.582 GB, free: 44.89 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/5.793, allocations: 4 kB / 2.582 GB, free: 44.89 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/5.793, allocations: 19.94 kB / 2.582 GB, free: 44.87 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/5.794, allocations: 275.6 kB / 2.582 GB, free: 44.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/5.794, allocations: 8 kB / 2.582 GB, free: 44.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/5.796, allocations: 238.9 kB / 2.582 GB, free: 44.36 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/5.796, allocations: 63.97 kB / 2.583 GB, free: 44.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/5.796, allocations: 0 / 2.583 GB, free: 44.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002098/5.798, allocations: 1.378 MB / 2.584 GB, free: 42.89 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/5.798, allocations: 4 kB / 2.584 GB, free: 42.89 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/5.798, allocations: 12 kB / 2.584 GB, free: 42.88 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/5.799, allocations: 284.1 kB / 2.584 GB, free: 42.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/5.799, allocations: 11.98 kB / 2.584 GB, free: 42.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/5.801, allocations: 234.8 kB / 2.584 GB, free: 42.36 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/5.801, allocations: 63.97 kB / 2.584 GB, free: 42.3 MB / 1.151 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.0004586/5.802, allocations: 263.6 kB / 2.585 GB, free: 42.02 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/5.802, allocations: 162.1 kB / 2.585 GB, free: 41.86 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00361/5.806, allocations: 2.041 MB / 2.587 GB, free: 39.78 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/5.806, allocations: 16 kB / 2.587 GB, free: 39.77 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/5.806, allocations: 3.984 kB / 2.587 GB, free: 39.76 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/5.806, allocations: 7.938 kB / 2.587 GB, free: 39.75 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005486/5.811, allocations: 3.405 MB / 2.59 GB, free: 36.25 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/5.811, allocations: 7.938 kB / 2.59 GB, free: 36.24 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/5.813, allocations: 227.8 kB / 2.59 GB, free: 36.02 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.514e-05/5.813, allocations: 8 kB / 2.59 GB, free: 36.01 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.98e-05/5.813, allocations: 43.97 kB / 2.59 GB, free: 35.97 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/5.813, allocations: 8 kB / 2.59 GB, free: 35.96 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/5.813, allocations: 0 / 2.59 GB, free: 35.96 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003742/5.816, allocations: 2.729 MB / 2.593 GB, free: 33.14 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/5.817, allocations: 402.6 kB / 2.594 GB, free: 32.73 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/5.818, allocations: 32 kB / 2.594 GB, free: 32.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/5.819, allocations: 167.8 kB / 2.594 GB, free: 32.53 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/5.819, allocations: 72.89 kB / 2.594 GB, free: 32.46 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/5.819, allocations: 63.97 kB / 2.594 GB, free: 32.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001069/5.82, allocations: 0.7857 MB / 2.595 GB, free: 31.61 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.01e-07/5.82, allocations: 0 / 2.595 GB, free: 31.61 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002652/5.823, allocations: 0.9206 MB / 2.596 GB, free: 30.69 MB / 1.151 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.005334/5.828, allocations: 4.373 MB / 2.6 GB, free: 26.25 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002942/5.831, allocations: 2.298 MB / 2.602 GB, free: 23.88 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/5.831, allocations: 4.062 kB / 2.602 GB, free: 23.88 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009492/5.832, allocations: 0.9141 MB / 2.603 GB, free: 22.92 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003124/5.835, allocations: 0.5978 MB / 2.604 GB, free: 22.33 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005421/5.841, allocations: 2.856 MB / 2.606 GB, free: 19.41 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006216/5.841, allocations: 1.316 MB / 2.608 GB, free: 18.06 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00198/5.843, allocations: 499.4 kB / 2.608 GB, free: 17.57 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007151/5.844, allocations: 0.632 MB / 2.609 GB, free: 16.93 MB / 1.151 GB Notification: Performance of SimCode: time 1.122e-06/5.844, allocations: 0 / 2.609 GB, free: 16.93 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9461/6.79, allocations: 53.37 MB / 2.661 GB, free: 189.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/6.791, allocations: 202 kB / 2.661 GB, free: 189 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.154/10.94, allocations: 0 / 2.661 GB, free: 189 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_res.mat does not exist to compare? outputFormat=mat