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.201/2.201, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001067/0.001067, allocations: 180.8 kB / 487.4 MB, free: 5.02 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.548/1.548, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009404/0.0009405, allocations: 91.59 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.181e-05/2.166e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2594, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.603/4.863, allocations: 1.873 GB / 3.079 GB, free: 7.066 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/4.863, allocations: 84.5 kB / 3.079 GB, free: 6.984 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.86/7.723, allocations: 0.678 GB / 3.757 GB, free: 221.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.194e-06/7.723, allocations: 0 / 3.757 GB, free: 221.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002081/7.723, allocations: 47.5 kB / 3.757 GB, free: 221.1 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.007829/7.731, allocations: 1.861 MB / 3.759 GB, free: 219.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/7.731, allocations: 12.03 kB / 3.759 GB, free: 219.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005271/7.736, allocations: 0.8735 MB / 3.76 GB, free: 218.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003765/7.74, allocations: 1.142 MB / 3.761 GB, free: 217.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/7.74, allocations: 35.16 kB / 3.761 GB, free: 217.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/7.74, allocations: 59.91 kB / 3.761 GB, free: 217 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001573/7.742, allocations: 0.9958 MB / 3.762 GB, free: 216 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/7.744, allocations: 1.166 MB / 3.763 GB, free: 214.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/7.744, allocations: 7.984 kB / 3.763 GB, free: 214.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/7.744, allocations: 0 / 3.763 GB, free: 214.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-05/7.744, allocations: 37.98 kB / 3.763 GB, free: 214.8 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.007553/7.751, allocations: 4.827 MB / 3.768 GB, free: 209.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/7.753, allocations: 1.069 MB / 3.769 GB, free: 208.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006625/7.753, allocations: 0.5695 MB / 3.77 GB, free: 208.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/7.755, allocations: 0.9385 MB / 3.771 GB, free: 207.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008919/7.755, allocations: 0.6798 MB / 3.771 GB, free: 206.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=95): time 3.336e-06/7.755, allocations: 0 / 3.771 GB, free: 206.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=95): time 0.002756/7.758, allocations: 1.295 MB / 3.773 GB, free: 205.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/7.758, allocations: 60.19 kB / 3.773 GB, free: 205 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009153/7.759, allocations: 0.8178 MB / 3.773 GB, free: 204.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/7.759, allocations: 29.7 kB / 3.773 GB, free: 204.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003742/7.76, allocations: 0.5512 MB / 3.774 GB, free: 203.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/7.76, allocations: 319.3 kB / 3.774 GB, free: 203.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.576e-05/7.76, allocations: 3.5 kB / 3.774 GB, free: 203.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.926e-05/7.76, allocations: 341.9 kB / 3.775 GB, free: 202.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005866/7.761, allocations: 482.4 kB / 3.775 GB, free: 202.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000701/7.761, allocations: 0.6965 MB / 3.776 GB, free: 201.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006717/7.762, allocations: 0.502 MB / 3.776 GB, free: 201.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/7.762, allocations: 4 kB / 3.776 GB, free: 201.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001766/7.764, allocations: 1.265 MB / 3.777 GB, free: 199.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/7.764, allocations: 12 kB / 3.777 GB, free: 199.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/7.764, allocations: 4 kB / 3.777 GB, free: 199.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/7.764, allocations: 8 kB / 3.777 GB, free: 199.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/7.766, allocations: 359.4 kB / 3.778 GB, free: 199.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/7.766, allocations: 8 kB / 3.778 GB, free: 199.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/7.767, allocations: 218.4 kB / 3.778 GB, free: 199.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/7.768, allocations: 55.95 kB / 3.778 GB, free: 199.2 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 () * 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.0002525/7.768, allocations: 152 kB / 3.778 GB, free: 199.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001643/7.769, allocations: 1.159 MB / 3.779 GB, free: 197.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/7.77, allocations: 118.5 kB / 3.779 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/7.772, allocations: 1.372 MB / 3.781 GB, free: 196.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/7.772, allocations: 15.98 kB / 3.781 GB, free: 196.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/7.772, allocations: 0 / 3.781 GB, free: 196.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/7.772, allocations: 3.984 kB / 3.781 GB, free: 196.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004069/7.776, allocations: 2.878 MB / 3.784 GB, free: 193.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/7.776, allocations: 7.984 kB / 3.784 GB, free: 193.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001669/7.778, allocations: 312 kB / 3.784 GB, free: 193.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-05/7.778, allocations: 8 kB / 3.784 GB, free: 193.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.363e-05/7.778, allocations: 23.97 kB / 3.784 GB, free: 193.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/7.778, allocations: 19.88 kB / 3.784 GB, free: 193.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/7.778, allocations: 4 kB / 3.784 GB, free: 193.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/7.78, allocations: 2.393 MB / 3.786 GB, free: 190.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000561/7.781, allocations: 347.4 kB / 3.787 GB, free: 190.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/7.781, allocations: 11.98 kB / 3.787 GB, free: 190.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/7.783, allocations: 167.7 kB / 3.787 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/7.783, allocations: 76.58 kB / 3.787 GB, free: 189.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.562e-05/7.783, allocations: 43.95 kB / 3.787 GB, free: 189.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007169/7.784, allocations: 0.6275 MB / 3.788 GB, free: 189.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/7.784, allocations: 0 / 3.788 GB, free: 189.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001598/7.785, allocations: 467.3 kB / 3.788 GB, free: 188.8 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) * 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.00639/7.792, allocations: 6.091 MB / 3.794 GB, free: 182.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001819/7.793, allocations: 1.152 MB / 3.795 GB, free: 181.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/7.793, allocations: 320 / 3.795 GB, free: 181.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007824/7.794, allocations: 0.6118 MB / 3.796 GB, free: 180.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/7.797, allocations: 432.3 kB / 3.796 GB, free: 180.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/7.814, allocations: 3.284 MB / 3.799 GB, free: 177.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007043/7.815, allocations: 1.211 MB / 3.8 GB, free: 175.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001916/7.817, allocations: 380.2 kB / 3.801 GB, free: 175.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008085/7.818, allocations: 0.5031 MB / 3.801 GB, free: 174.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.614e-06/7.818, allocations: 4 kB / 3.801 GB, free: 174.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07565/7.893, allocations: 41.99 MB / 3.842 GB, free: 133.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/7.894, allocations: 172.7 kB / 3.843 GB, free: 133 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.533/11.43, allocations: 0 / 3.843 GB, free: 133 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