Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.541/2.541, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001228/0.001228, allocations: 171.9 kB / 0.4901 GB, free: 2.27 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.723/1.723, allocations: 223.1 MB / 0.7992 GB, free: 14.82 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.001534/0.001534, allocations: 98.61 kB / 0.9396 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004028, allocations: 11.56 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3901, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.056/5.446, allocations: 1.875 GB / 3.104 GB, free: 107.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/5.446, allocations: 88.66 kB / 3.104 GB, free: 107.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.084/9.531, allocations: 1.019 GB / 4.123 GB, free: 275.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.204e-06/9.531, allocations: 0 / 4.123 GB, free: 275.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001419/9.531, allocations: 47.19 kB / 4.123 GB, free: 275.3 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.00768/9.539, allocations: 2.045 MB / 4.125 GB, free: 274.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/9.539, allocations: 7.5 kB / 4.125 GB, free: 274.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000213/9.539, allocations: 133.3 kB / 4.125 GB, free: 274.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003952/9.543, allocations: 0.6933 MB / 4.126 GB, free: 274.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003183/9.546, allocations: 1.051 MB / 4.127 GB, free: 274.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.459e-05/9.546, allocations: 61.69 kB / 4.127 GB, free: 274.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/9.546, allocations: 89.38 kB / 4.127 GB, free: 274.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/9.549, allocations: 1.464 MB / 4.129 GB, free: 274.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/9.549, allocations: 7.25 kB / 4.129 GB, free: 274.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/9.549, allocations: 33.19 kB / 4.129 GB, free: 274.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.279e-05/9.549, allocations: 45.88 kB / 4.129 GB, free: 274.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003305/9.553, allocations: 1.381 MB / 4.13 GB, free: 274.1 MB / 1.167 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.007848/9.56, allocations: 5.782 MB / 4.136 GB, free: 271.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003505/9.564, allocations: 1.383 MB / 4.137 GB, free: 271.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000743/9.565, allocations: 0.583 MB / 4.138 GB, free: 270.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001788/9.566, allocations: 0.785 MB / 4.138 GB, free: 270.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=80): time 3.126e-06/9.566, allocations: 0 / 4.138 GB, free: 270.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=80): time 0.005578/9.572, allocations: 2.082 MB / 4.14 GB, free: 270.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/9.572, allocations: 63.09 kB / 4.14 GB, free: 270.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/9.574, allocations: 1.091 MB / 4.141 GB, free: 270.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/9.574, allocations: 45.05 kB / 4.142 GB, free: 270.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00037/9.574, allocations: 0.5894 MB / 4.142 GB, free: 270 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/9.574, allocations: 276.5 kB / 4.142 GB, free: 269.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/9.574, allocations: 18.16 kB / 4.142 GB, free: 269.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.915e-05/9.574, allocations: 339.9 kB / 4.143 GB, free: 269.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/9.576, allocations: 0.6137 MB / 4.143 GB, free: 269.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/9.578, allocations: 0.9209 MB / 4.144 GB, free: 269.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/9.579, allocations: 0.6391 MB / 4.145 GB, free: 269.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/9.579, allocations: 3.438 kB / 4.145 GB, free: 269.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003713/9.583, allocations: 1.63 MB / 4.146 GB, free: 269.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/9.583, allocations: 10 kB / 4.146 GB, free: 269.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/9.583, allocations: 10.2 kB / 4.146 GB, free: 269.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/9.583, allocations: 19.02 kB / 4.146 GB, free: 269.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/9.585, allocations: 311.5 kB / 4.147 GB, free: 269.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-05/9.585, allocations: 20.66 kB / 4.147 GB, free: 269.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/9.586, allocations: 230.3 kB / 4.147 GB, free: 269.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/9.586, allocations: 57.89 kB / 4.147 GB, free: 269.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0005833/9.587, allocations: 341.8 kB / 4.147 GB, free: 269 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/9.587, allocations: 136.6 kB / 4.148 GB, free: 268.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003964/9.591, allocations: 1.616 MB / 4.149 GB, free: 268.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/9.591, allocations: 11.41 kB / 4.149 GB, free: 268.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/9.591, allocations: 3.953 kB / 4.149 GB, free: 268.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/9.591, allocations: 3.844 kB / 4.149 GB, free: 268.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006254/9.597, allocations: 3.109 MB / 4.152 GB, free: 268.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/9.597, allocations: 8.141 kB / 4.152 GB, free: 268.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/9.599, allocations: 250.5 kB / 4.152 GB, free: 268.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.357e-06/9.599, allocations: 7.781 kB / 4.152 GB, free: 268.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.046e-05/9.599, allocations: 40.97 kB / 4.152 GB, free: 268.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/9.599, allocations: 10.84 kB / 4.152 GB, free: 268.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/9.599, allocations: 4.375 kB / 4.152 GB, free: 268.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005363/9.604, allocations: 2.746 MB / 4.155 GB, free: 267.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008851/9.605, allocations: 355.4 kB / 4.155 GB, free: 267.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/9.605, allocations: 20.03 kB / 4.156 GB, free: 267.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/9.607, allocations: 144.6 kB / 4.156 GB, free: 267.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/9.607, allocations: 71.41 kB / 4.156 GB, free: 267.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/9.607, allocations: 37.72 kB / 4.156 GB, free: 267.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001615/9.609, allocations: 0.8536 MB / 4.157 GB, free: 267.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.71e-07/9.609, allocations: 0 / 4.157 GB, free: 267.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002418/9.611, allocations: 0.5004 MB / 4.157 GB, free: 267.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (86): * Single equations (assignments): 80 * 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.009432/9.621, allocations: 6.294 MB / 4.163 GB, free: 264.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004048/9.625, allocations: 1.433 MB / 4.165 GB, free: 264.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.499e-05/9.625, allocations: 3.969 kB / 4.165 GB, free: 264.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001878/9.627, allocations: 0.7325 MB / 4.165 GB, free: 264.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003102/9.63, allocations: 0.5591 MB / 4.166 GB, free: 264.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02729/9.657, allocations: 14.36 MB / 4.18 GB, free: 257.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000653/9.658, allocations: 1.205 MB / 4.181 GB, free: 256.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00172/9.66, allocations: 383.7 kB / 4.181 GB, free: 256.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007232/9.66, allocations: 0.4983 MB / 4.182 GB, free: 256.4 MB / 1.167 GB Notification: Performance of SimCode: time 8.11e-07/9.66, allocations: 0 / 4.182 GB, free: 256.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/9.763, allocations: 59.13 MB / 4.24 GB, free: 254.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/9.763, allocations: 240.1 kB / 4.24 GB, free: 254.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.991/13.75, allocations: 0 / 4.24 GB, free: 254.4 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat does not exist to compare? outputFormat=mat