Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008402/0.0008453, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008411/0.0008406, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.503/2.503, allocations: 390.4 MB / 0.6655 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.0003481, allocations: 8 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7344/0.7348, allocations: 142.3 MB / 0.9538 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1805/0.9154, allocations: 159.9 MB / 1.11 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01606/0.9315, allocations: 11.8 MB / 1.122 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.933, allocations: 27.81 kB / 1.122 GB, free: 3.887 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.9345, allocations: 317.7 kB / 1.122 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002828/0.9373, allocations: 0.8078 MB / 1.123 GB, free: 2.766 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004001/0.9413, allocations: 1.372 MB / 1.124 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002912/0.9442, allocations: 2.411 MB / 1.126 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001991/0.9463, allocations: 1.188 MB / 1.128 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002317/0.9486, allocations: 1.039 MB / 1.129 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.9498, allocations: 0.6843 MB / 1.129 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000332/0.9501, allocations: 44 kB / 1.129 GB, free: 12 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00236/0.9525, allocations: 0.8774 MB / 1.13 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004584/0.953, allocations: 334.7 kB / 1.13 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004728/0.9535, allocations: 304.8 kB / 1.131 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002671/0.9562, allocations: 1.921 MB / 1.133 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.9562, allocations: 4 kB / 1.133 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.215e-06/0.9562, allocations: 0 / 1.133 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.784e-05/0.9563, allocations: 0 / 1.133 GB, free: 8.555 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.003647/0.9599, allocations: 1.707 MB / 1.134 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.96, allocations: 12.03 kB / 1.134 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004394/0.9604, allocations: 202.7 kB / 1.134 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002584/0.963, allocations: 413.5 kB / 1.135 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.9647, allocations: 0.9612 MB / 1.136 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.156e-05/0.9648, allocations: 102.7 kB / 1.136 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/0.9651, allocations: 128 kB / 1.136 GB, free: 4.934 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/0.9679, allocations: 1.52 MB / 1.138 GB, free: 3.336 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.9679, allocations: 3.938 kB / 1.138 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.9681, allocations: 60 kB / 1.138 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/0.9681, allocations: 36 kB / 1.138 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002825/0.9709, allocations: 1.583 MB / 1.139 GB, free: 1.648 MB / 0.8887 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.007472/0.9784, allocations: 5.088 MB / 1.144 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002736/0.9812, allocations: 1.526 MB / 1.146 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008944/0.9821, allocations: 483.6 kB / 1.146 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007526/0.9829, allocations: 441.2 kB / 1.147 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00125/0.9841, allocations: 0.6918 MB / 1.147 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=107): time 2.645e-06/0.9841, allocations: 0 / 1.147 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of matching and sorting (n=107): time 0.004428/0.9886, allocations: 1.672 MB / 1.149 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.9887, allocations: 188.9 kB / 1.149 GB, free: 7.082 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.9902, allocations: 0.8882 MB / 1.15 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/0.9904, allocations: 49.7 kB / 1.15 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005739/0.991, allocations: 0.6013 MB / 1.15 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003921/0.9914, allocations: 347 kB / 1.151 GB, free: 5.164 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.934e-05/0.9915, allocations: 20 kB / 1.151 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.9917, allocations: 353.9 kB / 1.151 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008152/0.9925, allocations: 373.7 kB / 1.152 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009994/0.9935, allocations: 0.5722 MB / 1.152 GB, free: 3.789 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009308/0.9944, allocations: 442.8 kB / 1.153 GB, free: 3.359 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.9944, allocations: 0 / 1.153 GB, free: 3.359 MB / 0.9044 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00281/0.9973, allocations: 1.184 MB / 1.154 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.9973, allocations: 9.781 kB / 1.154 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.9973, allocations: 4 kB / 1.154 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006073/0.9979, allocations: 88.77 kB / 1.154 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.9996, allocations: 251.6 kB / 1.154 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/1.002, allocations: 1.536 MB / 1.156 GB, free: 148 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/1.003, allocations: 158.9 kB / 1.156 GB, free: 15.98 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/1.003, allocations: 47.91 kB / 1.156 GB, free: 15.94 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008163/1.004, allocations: 333.6 kB / 1.156 GB, free: 15.61 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003895/1.004, allocations: 122.5 kB / 1.156 GB, free: 15.48 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003425/1.008, allocations: 1.46 MB / 1.158 GB, free: 14.01 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/1.008, allocations: 12 kB / 1.158 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.008, allocations: 0 / 1.158 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/1.008, allocations: 3.984 kB / 1.158 GB, free: 13.99 MB / 0.92 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 postOpt removeSimpleEquations (simulation): time 0.005552/1.013, allocations: 2.877 MB / 1.16 GB, free: 11.03 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/1.014, allocations: 0 / 1.16 GB, free: 11.03 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009853/1.015, allocations: 227.7 kB / 1.161 GB, free: 10.8 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004804/1.015, allocations: 80.77 kB / 1.161 GB, free: 10.72 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-05/1.015, allocations: 35.98 kB / 1.161 GB, free: 10.69 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/1.017, allocations: 1.555 MB / 1.162 GB, free: 8.996 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.017, allocations: 0 / 1.162 GB, free: 8.996 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003043/1.02, allocations: 1.328 MB / 1.164 GB, free: 7.652 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009211/1.021, allocations: 375.1 kB / 1.164 GB, free: 7.266 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003115/1.022, allocations: 24 kB / 1.164 GB, free: 7.242 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/1.023, allocations: 124.5 kB / 1.164 GB, free: 7.121 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/1.023, allocations: 84.94 kB / 1.164 GB, free: 7.039 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001833/1.023, allocations: 51.97 kB / 1.164 GB, free: 6.988 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001748/1.025, allocations: 0.615 MB / 1.165 GB, free: 6.363 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.6e-07/1.025, allocations: 0 / 1.165 GB, free: 6.363 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002135/1.027, allocations: 470.9 kB / 1.165 GB, free: 5.902 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006182/1.033, allocations: 2.49 MB / 1.168 GB, free: 3.57 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00285/1.036, allocations: 1.109 MB / 1.169 GB, free: 2.453 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.036, allocations: 11.75 kB / 1.169 GB, free: 2.441 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001404/1.038, allocations: 0.6758 MB / 1.169 GB, free: 1.75 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/1.04, allocations: 482.2 kB / 1.17 GB, free: 1.285 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01766/1.058, allocations: 7.558 MB / 1.177 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/1.059, allocations: 1.209 MB / 1.178 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001836/1.061, allocations: 385.8 kB / 1.179 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/1.062, allocations: 0.5578 MB / 1.179 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of SimCode: time 7.71e-07/1.062, allocations: 0 / 1.179 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07969/1.142, allocations: 33.29 MB / 1.212 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003613/1.142, allocations: 266.2 kB / 1.212 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.71/3.852, allocations: 0 / 1.212 GB, free: 6.082 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat does not exist to compare? outputFormat=mat