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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.085/2.085, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001665/0.001665, allocations: 177.1 kB / 498.1 MB, free: 5.688 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.355/1.355, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.0008788/0.0008788, allocations: 92.33 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.000496, allocations: 11.31 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.28, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.172/4.452, allocations: 1.874 GB / 3.097 GB, free: 63.98 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/4.453, allocations: 88.33 kB / 3.097 GB, free: 63.94 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.982/7.435, allocations: 0.6869 GB / 3.784 GB, free: 256.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.825e-06/7.435, allocations: 0 / 3.784 GB, free: 256.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002172/7.435, allocations: 39.98 kB / 3.784 GB, free: 256.4 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.009248/7.444, allocations: 2.072 MB / 3.786 GB, free: 254.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/7.444, allocations: 8.031 kB / 3.786 GB, free: 254.4 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005406/7.445, allocations: 139.6 kB / 3.786 GB, free: 254.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0055/7.45, allocations: 0.8747 MB / 3.787 GB, free: 253.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004888/7.455, allocations: 1.15 MB / 3.788 GB, free: 252.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/7.455, allocations: 69.94 kB / 3.788 GB, free: 252.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004786/7.456, allocations: 91.91 kB / 3.788 GB, free: 252 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004095/7.46, allocations: 1.554 MB / 3.79 GB, free: 250.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/7.46, allocations: 4 kB / 3.79 GB, free: 250.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/7.46, allocations: 28 kB / 3.79 GB, free: 250.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.913e-05/7.46, allocations: 43.84 kB / 3.79 GB, free: 250.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004596/7.465, allocations: 1.67 MB / 3.791 GB, free: 248.7 MB / 1.151 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.009726/7.475, allocations: 5.028 MB / 3.796 GB, free: 243.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00427/7.479, allocations: 1.653 MB / 3.798 GB, free: 241.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/7.48, allocations: 0.9479 MB / 3.799 GB, free: 240.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002419/7.483, allocations: 0.9651 MB / 3.8 GB, free: 239.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=95): time 5.891e-06/7.483, allocations: 0 / 3.8 GB, free: 239.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=95): time 0.007712/7.49, allocations: 2.595 MB / 3.802 GB, free: 237.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/7.49, allocations: 60.41 kB / 3.802 GB, free: 237.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/7.492, allocations: 1.07 MB / 3.803 GB, free: 236.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001894/7.493, allocations: 45.7 kB / 3.803 GB, free: 236 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004819/7.493, allocations: 0.5448 MB / 3.804 GB, free: 235.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/7.493, allocations: 327.3 kB / 3.804 GB, free: 235.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.078e-05/7.493, allocations: 20 kB / 3.804 GB, free: 235.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001108/7.494, allocations: 341.9 kB / 3.805 GB, free: 234.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002037/7.496, allocations: 0.7474 MB / 3.805 GB, free: 234 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002201/7.498, allocations: 0.9905 MB / 3.806 GB, free: 232.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/7.5, allocations: 0.7683 MB / 3.807 GB, free: 232.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/7.5, allocations: 0 / 3.807 GB, free: 232.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004929/7.505, allocations: 1.881 MB / 3.809 GB, free: 230.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/7.505, allocations: 8 kB / 3.809 GB, free: 230.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/7.505, allocations: 4 kB / 3.809 GB, free: 230.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.613e-05/7.505, allocations: 8 kB / 3.809 GB, free: 230.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/7.507, allocations: 355.8 kB / 3.809 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.516e-05/7.507, allocations: 19.86 kB / 3.809 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/7.509, allocations: 262.7 kB / 3.809 GB, free: 229.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/7.509, allocations: 59.95 kB / 3.81 GB, free: 229.6 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 () * 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.0008711/7.51, allocations: 339.5 kB / 3.81 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004862/7.511, allocations: 138.3 kB / 3.81 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005213/7.516, allocations: 1.955 MB / 3.812 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/7.516, allocations: 8 kB / 3.812 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/7.516, allocations: 4 kB / 3.812 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/7.516, allocations: 3.984 kB / 3.812 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008172/7.524, allocations: 3.594 MB / 3.815 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/7.524, allocations: 4 kB / 3.815 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001865/7.526, allocations: 308.1 kB / 3.816 GB, free: 223.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.41e-05/7.526, allocations: 11.94 kB / 3.816 GB, free: 223.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/7.526, allocations: 39.95 kB / 3.816 GB, free: 223.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.379e-05/7.526, allocations: 15.88 kB / 3.816 GB, free: 223.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/7.526, allocations: 4 kB / 3.816 GB, free: 223.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00736/7.534, allocations: 3.265 MB / 3.819 GB, free: 219.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/7.535, allocations: 379 kB / 3.819 GB, free: 219.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004529/7.535, allocations: 20 kB / 3.819 GB, free: 219.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001939/7.537, allocations: 179.8 kB / 3.82 GB, free: 219.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/7.538, allocations: 72.86 kB / 3.82 GB, free: 219 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/7.538, allocations: 39.97 kB / 3.82 GB, free: 219 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001421/7.539, allocations: 0.8392 MB / 3.82 GB, free: 218.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.663e-06/7.539, allocations: 0 / 3.82 GB, free: 218.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00248/7.542, allocations: 0.5347 MB / 3.821 GB, free: 217.6 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) * Number of clocked states: 0 () * 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.0123/7.554, allocations: 6.807 MB / 3.828 GB, free: 210.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00514/7.559, allocations: 1.723 MB / 3.829 GB, free: 209.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/7.559, allocations: 4 kB / 3.829 GB, free: 209.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002389/7.562, allocations: 0.9005 MB / 3.83 GB, free: 208.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003229/7.565, allocations: 0.5786 MB / 3.831 GB, free: 207.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03462/7.599, allocations: 13.09 MB / 3.844 GB, free: 194.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00079/7.6, allocations: 1.223 MB / 3.845 GB, free: 192.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002192/7.603, allocations: 397 kB / 3.845 GB, free: 192.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/7.604, allocations: 0.5266 MB / 3.846 GB, free: 191.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.27e-05/7.604, allocations: 0 / 3.846 GB, free: 191.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09256/7.696, allocations: 60.68 MB / 3.905 GB, free: 131.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/7.696, allocations: 220.7 kB / 3.905 GB, free: 131.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.299/12, allocations: 4.062 kB / 3.905 GB, free: 131.5 MB / 1.151 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