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/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.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/Buildings 10.0.0-master/package.mo): time 2.548/2.548, allocations: 390.5 MB / 398 MB, free: 10.98 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.001289/0.001289, allocations: 176.9 kB / 491.2 MB, free: 1.625 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.728/1.728, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001153/0.001154, allocations: 99.83 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.368e-05/2.371e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3573, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.068/6.425, allocations: 1.874 GB / 3.086 GB, free: 355.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/6.425, allocations: 90.2 kB / 3.086 GB, free: 355.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.155/8.58, allocations: 0.678 GB / 3.764 GB, free: 154.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.673e-06/8.58, allocations: 0 / 3.764 GB, free: 154.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001029/8.58, allocations: 47.97 kB / 3.764 GB, free: 154.9 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006546/8.587, allocations: 1.865 MB / 3.766 GB, free: 153 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/8.587, allocations: 12.02 kB / 3.766 GB, free: 152.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005148/8.592, allocations: 0.8722 MB / 3.767 GB, free: 152.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00374/8.596, allocations: 1.133 MB / 3.768 GB, free: 150.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/8.596, allocations: 32 kB / 3.768 GB, free: 150.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/8.596, allocations: 55.91 kB / 3.768 GB, free: 150.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001599/8.597, allocations: 0.9997 MB / 3.769 GB, free: 149.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/8.599, allocations: 1.162 MB / 3.77 GB, free: 148.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/8.599, allocations: 4 kB / 3.77 GB, free: 148.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.784e-05/8.599, allocations: 0 / 3.77 GB, free: 148.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-05/8.599, allocations: 49.92 kB / 3.771 GB, free: 148.6 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.007778/8.607, allocations: 4.825 MB / 3.775 GB, free: 143.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/8.608, allocations: 1.065 MB / 3.776 GB, free: 142.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006673/8.609, allocations: 0.5663 MB / 3.777 GB, free: 141.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/8.61, allocations: 0.945 MB / 3.778 GB, free: 140.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008926/8.611, allocations: 0.6797 MB / 3.778 GB, free: 140.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=95): time 4.278e-06/8.611, allocations: 7.875 kB / 3.778 GB, free: 140 MB / 1.151 GB Notification: Performance of matching and sorting (n=95): time 0.00292/8.614, allocations: 1.287 MB / 3.78 GB, free: 138.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/8.614, allocations: 64.14 kB / 3.78 GB, free: 138.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009604/8.615, allocations: 0.814 MB / 3.781 GB, free: 137.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/8.615, allocations: 33.69 kB / 3.781 GB, free: 137.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/8.616, allocations: 0.5551 MB / 3.781 GB, free: 137.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/8.616, allocations: 311.4 kB / 3.781 GB, free: 136.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.776e-05/8.616, allocations: 0 / 3.781 GB, free: 136.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.107e-05/8.616, allocations: 345.9 kB / 3.782 GB, free: 136.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006132/8.617, allocations: 474.4 kB / 3.782 GB, free: 136.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007634/8.618, allocations: 0.6988 MB / 3.783 GB, free: 135.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008179/8.618, allocations: 0.5097 MB / 3.783 GB, free: 134.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/8.618, allocations: 0 / 3.783 GB, free: 134.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001883/8.62, allocations: 1.265 MB / 3.785 GB, free: 133.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/8.62, allocations: 12.09 kB / 3.785 GB, free: 133.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/8.62, allocations: 4 kB / 3.785 GB, free: 133.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/8.62, allocations: 12 kB / 3.785 GB, free: 133.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/8.622, allocations: 347.5 kB / 3.785 GB, free: 133.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.203e-05/8.622, allocations: 8 kB / 3.785 GB, free: 133.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/8.624, allocations: 226.9 kB / 3.785 GB, free: 133 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/8.624, allocations: 59.95 kB / 3.785 GB, free: 132.9 MB / 1.151 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 () * 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.0002653/8.624, allocations: 135 kB / 3.785 GB, free: 132.8 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001831/8.626, allocations: 1.166 MB / 3.786 GB, free: 131.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/8.627, allocations: 118.5 kB / 3.787 GB, free: 131.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002216/8.629, allocations: 1.365 MB / 3.788 GB, free: 130.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/8.629, allocations: 8 kB / 3.788 GB, free: 130.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/8.629, allocations: 3.953 kB / 3.788 GB, free: 130.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/8.629, allocations: 3.984 kB / 3.788 GB, free: 130.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004339/8.633, allocations: 2.888 MB / 3.791 GB, free: 127.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/8.633, allocations: 7.953 kB / 3.791 GB, free: 127.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/8.635, allocations: 308 kB / 3.791 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.416e-05/8.635, allocations: 8 kB / 3.791 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.841e-05/8.635, allocations: 31.95 kB / 3.791 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/8.635, allocations: 7.938 kB / 3.791 GB, free: 126.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/8.635, allocations: 8 kB / 3.791 GB, free: 126.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002799/8.638, allocations: 2.393 MB / 3.793 GB, free: 124.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006201/8.639, allocations: 343.4 kB / 3.794 GB, free: 123.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/8.639, allocations: 11.98 kB / 3.794 GB, free: 123.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/8.64, allocations: 183.6 kB / 3.794 GB, free: 123.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/8.64, allocations: 60.7 kB / 3.794 GB, free: 123.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/8.641, allocations: 47.95 kB / 3.794 GB, free: 123.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008176/8.641, allocations: 0.6236 MB / 3.795 GB, free: 122.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/8.641, allocations: 3.938 kB / 3.795 GB, free: 122.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001798/8.643, allocations: 471.3 kB / 3.795 GB, free: 122.4 MB / 1.151 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * 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.006423/8.65, allocations: 6.093 MB / 3.801 GB, free: 116.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001949/8.652, allocations: 1.152 MB / 3.802 GB, free: 115.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/8.652, allocations: 0 / 3.802 GB, free: 115.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008217/8.652, allocations: 0.6158 MB / 3.803 GB, free: 114.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/8.655, allocations: 425.1 kB / 3.803 GB, free: 114.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/8.671, allocations: 3.283 MB / 3.806 GB, free: 110.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007477/8.672, allocations: 1.219 MB / 3.808 GB, free: 109.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001904/8.673, allocations: 372.2 kB / 3.808 GB, free: 109.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009316/8.674, allocations: 0.5031 MB / 3.808 GB, free: 108.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.243e-06/8.674, allocations: 0 / 3.808 GB, free: 108.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07082/8.745, allocations: 41.99 MB / 3.849 GB, free: 66.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/8.745, allocations: 171.2 kB / 3.85 GB, free: 66.61 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.489/12.23, allocations: 4.031 kB / 3.85 GB, free: 66.61 MB / 1.151 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) 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