Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001186/0.001186, allocations: 188.9 kB / 492.3 MB, free: 0.6367 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.679/1.679, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0009537/0.0009537, allocations: 91.95 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.894e-05/3.909e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2931, allocations: 142.4 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.152/5.445, allocations: 1.874 GB / 3.086 GB, free: 357 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/5.445, allocations: 82.98 kB / 3.086 GB, free: 357 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.526/8.971, allocations: 1.018 GB / 4.104 GB, free: 245.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.643e-06/8.971, allocations: 0 / 4.104 GB, free: 245.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001641/8.971, allocations: 42.97 kB / 4.105 GB, free: 245.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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.006959/8.978, allocations: 1.83 MB / 4.106 GB, free: 243.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/8.978, allocations: 12.02 kB / 4.106 GB, free: 243.6 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003293/8.978, allocations: 135.5 kB / 4.106 GB, free: 243.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004065/8.983, allocations: 0.695 MB / 4.107 GB, free: 242.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003389/8.986, allocations: 1.052 MB / 4.108 GB, free: 241.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.798e-05/8.986, allocations: 65.95 kB / 4.108 GB, free: 241.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002495/8.986, allocations: 84 kB / 4.108 GB, free: 241.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/8.988, allocations: 1.249 MB / 4.11 GB, free: 240.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/8.988, allocations: 0 / 4.11 GB, free: 240.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/8.988, allocations: 32 kB / 4.11 GB, free: 240.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-05/8.988, allocations: 45.97 kB / 4.11 GB, free: 240.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/8.99, allocations: 1.018 MB / 4.111 GB, free: 239.2 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.007122/8.997, allocations: 5.319 MB / 4.116 GB, free: 233.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/8.999, allocations: 0.9177 MB / 4.117 GB, free: 232.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006481/8.999, allocations: 500 kB / 4.117 GB, free: 232.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/9, allocations: 0.9469 MB / 4.118 GB, free: 231.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008447/9.001, allocations: 0.6033 MB / 4.119 GB, free: 230.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/9.001, allocations: 0 / 4.119 GB, free: 230.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=82): time 0.002449/9.004, allocations: 1.153 MB / 4.12 GB, free: 229.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/9.004, allocations: 62.09 kB / 4.12 GB, free: 229.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/9.005, allocations: 1.11 MB / 4.121 GB, free: 228.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.729e-05/9.005, allocations: 45.7 kB / 4.121 GB, free: 228.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/9.006, allocations: 0.5704 MB / 4.122 GB, free: 227.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/9.006, allocations: 285.3 kB / 4.122 GB, free: 227.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/9.006, allocations: 20 kB / 4.122 GB, free: 227.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.633e-05/9.006, allocations: 338 kB / 4.122 GB, free: 227 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006003/9.007, allocations: 425.8 kB / 4.123 GB, free: 226.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007523/9.007, allocations: 0.713 MB / 4.123 GB, free: 225.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006464/9.008, allocations: 474.6 kB / 4.124 GB, free: 225.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/9.008, allocations: 0 / 4.124 GB, free: 225.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001806/9.01, allocations: 1.247 MB / 4.125 GB, free: 224.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/9.01, allocations: 15.14 kB / 4.125 GB, free: 224 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/9.01, allocations: 15.44 kB / 4.125 GB, free: 224 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/9.01, allocations: 15.94 kB / 4.125 GB, free: 224 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/9.011, allocations: 315.2 kB / 4.125 GB, free: 223.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/9.011, allocations: 15.94 kB / 4.125 GB, free: 223.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/9.013, allocations: 233.9 kB / 4.126 GB, free: 223.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/9.013, allocations: 59.95 kB / 4.126 GB, free: 223.4 MB / 1.151 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 () * 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.0002157/9.013, allocations: 168.1 kB / 4.126 GB, free: 223.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/9.013, allocations: 138.3 kB / 4.126 GB, free: 223.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/9.015, allocations: 1.256 MB / 4.127 GB, free: 221.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/9.015, allocations: 12 kB / 4.127 GB, free: 221.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/9.015, allocations: 0 / 4.127 GB, free: 221.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/9.015, allocations: 7.984 kB / 4.127 GB, free: 221.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004036/9.019, allocations: 2.75 MB / 4.13 GB, free: 219 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/9.019, allocations: 11.89 kB / 4.13 GB, free: 219 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/9.021, allocations: 251.8 kB / 4.13 GB, free: 218.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/9.021, allocations: 8 kB / 4.13 GB, free: 218.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-05/9.021, allocations: 35.36 kB / 4.13 GB, free: 218.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/9.021, allocations: 15.94 kB / 4.13 GB, free: 218.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/9.021, allocations: 4 kB / 4.13 GB, free: 218.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/9.024, allocations: 2.201 MB / 4.132 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006631/9.024, allocations: 359 kB / 4.133 GB, free: 216 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/9.024, allocations: 20 kB / 4.133 GB, free: 216 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/9.026, allocations: 143.8 kB / 4.133 GB, free: 215.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/9.026, allocations: 60.7 kB / 4.133 GB, free: 215.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.899e-05/9.026, allocations: 39.97 kB / 4.133 GB, free: 215.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009735/9.027, allocations: 0.8664 MB / 4.134 GB, free: 214.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.212e-06/9.027, allocations: 0 / 4.134 GB, free: 214.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001733/9.029, allocations: 0.4996 MB / 4.134 GB, free: 214.3 MB / 1.151 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) * 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.005796/9.034, allocations: 5.693 MB / 4.14 GB, free: 208.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001638/9.036, allocations: 1.051 MB / 4.141 GB, free: 207.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/9.036, allocations: 0 / 4.141 GB, free: 207.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007328/9.037, allocations: 0.5399 MB / 4.141 GB, free: 207.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/9.039, allocations: 0.592 MB / 4.142 GB, free: 206.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004153/9.044, allocations: 2.352 MB / 4.144 GB, free: 204.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005821/9.044, allocations: 1.204 MB / 4.145 GB, free: 203 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001534/9.046, allocations: 380.4 kB / 4.146 GB, free: 202.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007398/9.047, allocations: 0.5106 MB / 4.146 GB, free: 202.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.433e-06/9.047, allocations: 0 / 4.146 GB, free: 202.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08828/9.135, allocations: 64.48 MB / 4.209 GB, free: 138.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/9.135, allocations: 201.4 kB / 4.209 GB, free: 138 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.467/13.6, allocations: 0 / 4.209 GB, free: 138 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat does not exist to compare? outputFormat=mat