Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.409/2.409, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001526/0.001526, allocations: 178.7 kB / 0.4901 GB, free: 2.242 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.653/1.653, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.0009988/0.0009986, allocations: 96.33 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004068/0.0004066, allocations: 10.59 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.339, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.776/5.115, allocations: 1.875 GB / 3.104 GB, free: 92.88 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/5.115, allocations: 89.02 kB / 3.104 GB, free: 92.84 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.655/9.77, allocations: 1.019 GB / 4.123 GB, free: 277 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.733e-06/9.771, allocations: 0 / 4.123 GB, free: 277 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002309/9.771, allocations: 46.22 kB / 4.123 GB, free: 277 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.009182/9.78, allocations: 2.033 MB / 4.125 GB, free: 276.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/9.78, allocations: 11.56 kB / 4.125 GB, free: 276.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005913/9.781, allocations: 131.4 kB / 4.125 GB, free: 276.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004519/9.785, allocations: 0.6976 MB / 4.126 GB, free: 276.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004325/9.79, allocations: 1.045 MB / 4.127 GB, free: 276.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/9.79, allocations: 74.7 kB / 4.127 GB, free: 276.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004103/9.79, allocations: 84.16 kB / 4.127 GB, free: 276.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003747/9.794, allocations: 1.455 MB / 4.128 GB, free: 275.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/9.794, allocations: 0 / 4.128 GB, free: 275.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/9.794, allocations: 34.97 kB / 4.128 GB, free: 275.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.369e-05/9.794, allocations: 39.84 kB / 4.129 GB, free: 275.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003869/9.798, allocations: 1.417 MB / 4.13 GB, free: 275.9 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.009067/9.807, allocations: 5.311 MB / 4.135 GB, free: 273.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003484/9.811, allocations: 1.306 MB / 4.136 GB, free: 273.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/9.812, allocations: 0.9428 MB / 4.137 GB, free: 272.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001949/9.814, allocations: 0.7972 MB / 4.138 GB, free: 272.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 3.887e-06/9.814, allocations: 0 / 4.138 GB, free: 272.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=82): time 0.006423/9.82, allocations: 2.131 MB / 4.14 GB, free: 272.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/9.82, allocations: 66.58 kB / 4.14 GB, free: 272.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/9.822, allocations: 1.125 MB / 4.141 GB, free: 272.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001651/9.823, allocations: 43.39 kB / 4.141 GB, free: 272.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005216/9.823, allocations: 0.5712 MB / 4.142 GB, free: 271.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003076/9.823, allocations: 282.6 kB / 4.142 GB, free: 271.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.641e-05/9.823, allocations: 17.09 kB / 4.142 GB, free: 271.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.496e-05/9.824, allocations: 351.9 kB / 4.143 GB, free: 271.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/9.825, allocations: 0.6067 MB / 4.143 GB, free: 271.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/9.827, allocations: 0.9124 MB / 4.144 GB, free: 271.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/9.829, allocations: 0.6474 MB / 4.145 GB, free: 271.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/9.829, allocations: 10.55 kB / 4.145 GB, free: 271.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004805/9.834, allocations: 1.633 MB / 4.146 GB, free: 271 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 5.139e-05/9.834, allocations: 11.59 kB / 4.146 GB, free: 271 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.285e-05/9.834, allocations: 8.438 kB / 4.146 GB, free: 271 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.135e-05/9.834, allocations: 12.78 kB / 4.146 GB, free: 271 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/9.836, allocations: 318.3 kB / 4.147 GB, free: 271 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-05/9.836, allocations: 15.12 kB / 4.147 GB, free: 271 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/9.838, allocations: 230.9 kB / 4.147 GB, free: 271 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002729/9.839, allocations: 60.06 kB / 4.147 GB, free: 271 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.001093/9.84, allocations: 340.8 kB / 4.147 GB, free: 270.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005521/9.84, allocations: 135.7 kB / 4.147 GB, free: 270.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004665/9.845, allocations: 1.638 MB / 4.149 GB, free: 270.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/9.845, allocations: 10.84 kB / 4.149 GB, free: 270.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/9.845, allocations: 7.297 kB / 4.149 GB, free: 270.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/9.845, allocations: 3.844 kB / 4.149 GB, free: 270.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007406/9.852, allocations: 3.137 MB / 4.152 GB, free: 270.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/9.853, allocations: 5.5 kB / 4.152 GB, free: 270.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/9.854, allocations: 253 kB / 4.152 GB, free: 270.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.916e-05/9.854, allocations: 7.438 kB / 4.152 GB, free: 270.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/9.854, allocations: 44.97 kB / 4.152 GB, free: 270.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/9.854, allocations: 6.906 kB / 4.152 GB, free: 270.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/9.854, allocations: 8.938 kB / 4.152 GB, free: 270.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006017/9.86, allocations: 2.788 MB / 4.155 GB, free: 269.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/9.861, allocations: 358.6 kB / 4.155 GB, free: 269.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004585/9.862, allocations: 25.38 kB / 4.155 GB, free: 269.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/9.863, allocations: 135.6 kB / 4.156 GB, free: 269.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/9.864, allocations: 71.7 kB / 4.156 GB, free: 269.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/9.864, allocations: 44.58 kB / 4.156 GB, free: 269.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001557/9.865, allocations: 0.8694 MB / 4.156 GB, free: 269.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.01e-07/9.865, allocations: 0 / 4.156 GB, free: 269.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002507/9.868, allocations: 0.5011 MB / 4.157 GB, free: 269.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (88): * Single equations (assignments): 82 * 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.0102/9.878, allocations: 6.328 MB / 4.163 GB, free: 266.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004141/9.882, allocations: 1.437 MB / 4.165 GB, free: 266.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/9.882, allocations: 0 / 4.165 GB, free: 266.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002027/9.884, allocations: 0.7331 MB / 4.165 GB, free: 266.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003417/9.888, allocations: 0.5875 MB / 4.166 GB, free: 266.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/9.907, allocations: 13.45 MB / 4.179 GB, free: 259.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000916/9.908, allocations: 1.204 MB / 4.18 GB, free: 258.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002141/9.911, allocations: 392.1 kB / 4.181 GB, free: 258.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/9.912, allocations: 0.5072 MB / 4.181 GB, free: 258.5 MB / 1.167 GB Notification: Performance of SimCode: time 8.92e-07/9.912, allocations: 0 / 4.181 GB, free: 258.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09877/10.01, allocations: 60.13 MB / 4.24 GB, free: 256.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/10.01, allocations: 236.2 kB / 4.24 GB, free: 256.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.933/13.94, allocations: 0 / 4.24 GB, free: 256.4 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat does not exist to compare? outputFormat=mat