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.364/2.364, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001145/0.001145, allocations: 180.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.0009445/0.0009444, allocations: 95.94 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.244e-05/4.247e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3187, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.391/5.71, allocations: 1.875 GB / 3.093 GB, free: 332 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/5.711, allocations: 89.53 kB / 3.094 GB, free: 331.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.52/9.231, allocations: 1.018 GB / 4.112 GB, free: 221 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.242e-06/9.231, allocations: 4 kB / 4.112 GB, free: 221 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000106/9.231, allocations: 42.83 kB / 4.112 GB, free: 221 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.006425/9.238, allocations: 1.833 MB / 4.113 GB, free: 219.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/9.238, allocations: 12.03 kB / 4.113 GB, free: 219.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002064/9.238, allocations: 139.5 kB / 4.114 GB, free: 218.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003913/9.242, allocations: 0.6889 MB / 4.114 GB, free: 218.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003013/9.245, allocations: 1.046 MB / 4.115 GB, free: 217.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.158e-05/9.245, allocations: 73.92 kB / 4.115 GB, free: 217.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/9.245, allocations: 83.98 kB / 4.115 GB, free: 217 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/9.247, allocations: 1.247 MB / 4.117 GB, free: 215.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/9.247, allocations: 3.938 kB / 4.117 GB, free: 215.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-05/9.247, allocations: 32 kB / 4.117 GB, free: 215.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/9.247, allocations: 37.98 kB / 4.117 GB, free: 215.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/9.248, allocations: 1.019 MB / 4.118 GB, free: 214.6 MB / 1.167 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.00652/9.255, allocations: 5.319 MB / 4.123 GB, free: 209 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/9.256, allocations: 0.9254 MB / 4.124 GB, free: 208.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006152/9.257, allocations: 0.4912 MB / 4.124 GB, free: 207.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/9.258, allocations: 0.9416 MB / 4.125 GB, free: 206.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007933/9.259, allocations: 0.6033 MB / 4.126 GB, free: 205.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 3.206e-06/9.259, allocations: 0 / 4.126 GB, free: 205.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=82): time 0.002362/9.261, allocations: 1.15 MB / 4.127 GB, free: 204.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/9.261, allocations: 64.12 kB / 4.127 GB, free: 204.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/9.263, allocations: 1.11 MB / 4.128 GB, free: 203.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/9.263, allocations: 41.7 kB / 4.128 GB, free: 203.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/9.263, allocations: 0.5756 MB / 4.129 GB, free: 202.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/9.263, allocations: 276 kB / 4.129 GB, free: 202.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/9.263, allocations: 20 kB / 4.129 GB, free: 202.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.341e-05/9.263, allocations: 349.9 kB / 4.129 GB, free: 202.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005883/9.264, allocations: 421.8 kB / 4.13 GB, free: 201.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007296/9.265, allocations: 0.7243 MB / 4.13 GB, free: 201 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006245/9.265, allocations: 473.7 kB / 4.131 GB, free: 200.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/9.265, allocations: 4 kB / 4.131 GB, free: 200.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001824/9.267, allocations: 1.244 MB / 4.132 GB, free: 199.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/9.267, allocations: 8 kB / 4.132 GB, free: 199.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/9.267, allocations: 11.98 kB / 4.132 GB, free: 199.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/9.267, allocations: 12 kB / 4.132 GB, free: 199.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/9.269, allocations: 312 kB / 4.132 GB, free: 198.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/9.269, allocations: 19.92 kB / 4.132 GB, free: 198.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/9.27, allocations: 230.7 kB / 4.133 GB, free: 198.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/9.27, allocations: 59.95 kB / 4.133 GB, free: 198.6 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 () * 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.00022/9.271, allocations: 166.9 kB / 4.133 GB, free: 198.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/9.271, allocations: 134.3 kB / 4.133 GB, free: 198.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/9.273, allocations: 1.263 MB / 4.134 GB, free: 197 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/9.273, allocations: 8 kB / 4.134 GB, free: 197 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/9.273, allocations: 0 / 4.134 GB, free: 197 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/9.273, allocations: 3.984 kB / 4.134 GB, free: 197 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003958/9.277, allocations: 2.759 MB / 4.137 GB, free: 194.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/9.277, allocations: 4 kB / 4.137 GB, free: 194.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/9.278, allocations: 248 kB / 4.137 GB, free: 193.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/9.278, allocations: 8 kB / 4.137 GB, free: 193.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.675e-05/9.278, allocations: 43.95 kB / 4.137 GB, free: 193.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/9.278, allocations: 11.94 kB / 4.137 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/9.278, allocations: 4 kB / 4.137 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/9.281, allocations: 2.197 MB / 4.139 GB, free: 191.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007112/9.282, allocations: 363 kB / 4.14 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/9.282, allocations: 28 kB / 4.14 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/9.283, allocations: 147.8 kB / 4.14 GB, free: 191 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/9.283, allocations: 64.59 kB / 4.14 GB, free: 190.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.149e-05/9.283, allocations: 35.97 kB / 4.14 GB, free: 190.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009626/9.284, allocations: 0.8586 MB / 4.141 GB, free: 190 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.4e-07/9.284, allocations: 0 / 4.141 GB, free: 190 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001627/9.286, allocations: 0.5074 MB / 4.141 GB, free: 189.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.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.006244/9.292, allocations: 5.688 MB / 4.147 GB, free: 183.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001682/9.294, allocations: 1.052 MB / 4.148 GB, free: 182.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/9.294, allocations: 0 / 4.148 GB, free: 182.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007306/9.294, allocations: 0.5436 MB / 4.148 GB, free: 182.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002761/9.297, allocations: 0.5719 MB / 4.149 GB, free: 181.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004062/9.301, allocations: 2.361 MB / 4.151 GB, free: 179.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/9.302, allocations: 1.204 MB / 4.153 GB, free: 177.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001513/9.303, allocations: 382 kB / 4.153 GB, free: 177.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007074/9.304, allocations: 0.5109 MB / 4.153 GB, free: 177 MB / 1.167 GB Notification: Performance of SimCode: time 8.82e-07/9.304, allocations: 3.938 kB / 4.153 GB, free: 177 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08457/9.389, allocations: 64.47 MB / 4.216 GB, free: 112.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/9.389, allocations: 218.4 kB / 4.217 GB, free: 112.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.106/13.49, allocations: 4.062 kB / 4.217 GB, free: 112.6 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