Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_latest_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.001529/0.001529, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002095/0.002095, allocations: 189.4 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.138/2.138, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.573/4.573, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002455/0.002455, allocations: 68.22 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5525/0.555, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.3232/0.8783, allocations: 174.4 MB / 1.223 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02688/0.9052, allocations: 12.67 MB / 1.235 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002032/0.9073, allocations: 31.81 kB / 1.235 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0023/0.9097, allocations: 393.5 kB / 1.236 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004959/0.9147, allocations: 0.9326 MB / 1.236 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007503/0.9222, allocations: 1.694 MB / 1.238 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004737/0.927, allocations: 2.536 MB / 1.241 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003733/0.9308, allocations: 1.595 MB / 1.242 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006985/0.9378, allocations: 1.414 MB / 1.243 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001998/0.9398, allocations: 0.9064 MB / 1.244 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005677/0.9404, allocations: 172 kB / 1.245 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00427/0.9447, allocations: 1.435 MB / 1.246 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008647/0.9456, allocations: 498.5 kB / 1.246 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001769/0.9474, allocations: 0.8786 MB / 1.247 GB, free: 388 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.8323/1.78, allocations: 2.803 MB / 1.25 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/1.78, allocations: 0 / 1.25 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.164e-06/1.78, allocations: 0.9375 kB / 1.25 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001218/1.78, allocations: 1.031 kB / 1.25 GB, free: 8.207 MB / 0.9981 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.007548/1.787, allocations: 2.028 MB / 1.252 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/1.788, allocations: 10.03 kB / 1.252 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006524/1.788, allocations: 208.6 kB / 1.252 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004627/1.793, allocations: 404.1 kB / 1.253 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002847/1.796, allocations: 0.9965 MB / 1.254 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/1.796, allocations: 98.77 kB / 1.254 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003362/1.796, allocations: 136.2 kB / 1.254 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004455/1.801, allocations: 1.518 MB / 1.255 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.308e-05/1.801, allocations: 2.75 kB / 1.255 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000225/1.801, allocations: 58.42 kB / 1.255 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.62e-05/1.801, allocations: 34.88 kB / 1.255 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004464/1.806, allocations: 1.584 MB / 1.257 GB, free: 6.5 MB / 0.9981 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.01165/1.817, allocations: 5.326 MB / 1.262 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003863/1.821, allocations: 1.515 MB / 1.264 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/1.822, allocations: 485 kB / 1.264 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/1.824, allocations: 422.2 kB / 1.264 GB, free: 19.21 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002483/1.826, allocations: 0.6954 MB / 1.265 GB, free: 19.14 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 1.299e-05/1.826, allocations: 0.625 kB / 1.265 GB, free: 19.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=107): time 0.008154/1.835, allocations: 1.667 MB / 1.267 GB, free: 18.94 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001855/1.835, allocations: 196.5 kB / 1.267 GB, free: 18.72 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002934/1.838, allocations: 0.8952 MB / 1.268 GB, free: 18.56 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002983/1.838, allocations: 48.98 kB / 1.268 GB, free: 18.53 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008842/1.839, allocations: 0.5921 MB / 1.268 GB, free: 18.28 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005446/1.84, allocations: 351.3 kB / 1.269 GB, free: 18.06 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006224/1.84, allocations: 204 kB / 1.269 GB, free: 18.04 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002301/1.84, allocations: 343 kB / 1.269 GB, free: 17.73 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/1.842, allocations: 377.9 kB / 1.27 GB, free: 17.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/1.844, allocations: 0.5636 MB / 1.27 GB, free: 17.56 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003356/1.847, allocations: 0.9347 MB / 1.271 GB, free: 17.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/1.847, allocations: 1.656 kB / 1.271 GB, free: 17.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.005537/1.853, allocations: 1.182 MB / 1.272 GB, free: 17.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.801e-05/1.853, allocations: 8.906 kB / 1.272 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/1.853, allocations: 3.5 kB / 1.272 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/1.854, allocations: 86.62 kB / 1.272 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/1.856, allocations: 244.3 kB / 1.273 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003565/1.859, allocations: 1.66 MB / 1.274 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/1.862, allocations: 146.2 kB / 1.274 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002829/1.862, allocations: 47.84 kB / 1.274 GB, free: 15.86 MB / 1.014 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 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00132/1.863, allocations: 341.5 kB / 1.275 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006144/1.864, allocations: 128.7 kB / 1.275 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005687/1.87, allocations: 1.43 MB / 1.276 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/1.87, allocations: 13.22 kB / 1.276 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/1.87, allocations: 0 / 1.276 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.884e-05/1.87, allocations: 7.75 kB / 1.276 GB, free: 15.58 MB / 1.014 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.008604/1.878, allocations: 2.887 MB / 1.279 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/1.878, allocations: 2.281 kB / 1.279 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/1.88, allocations: 218.6 kB / 1.279 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006672/1.881, allocations: 73.64 kB / 1.279 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/1.881, allocations: 30.8 kB / 1.279 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003062/1.884, allocations: 1.684 MB / 1.281 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.884, allocations: 3.938 kB / 1.281 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005254/1.889, allocations: 1.316 MB / 1.282 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/1.891, allocations: 358.6 kB / 1.283 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006603/1.892, allocations: 25.86 kB / 1.283 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002328/1.894, allocations: 104.5 kB / 1.283 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003826/1.894, allocations: 87.05 kB / 1.283 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002501/1.895, allocations: 50.75 kB / 1.283 GB, free: 13.27 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00191/1.897, allocations: 0.6177 MB / 1.284 GB, free: 13.16 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.5e-07/1.897, allocations: 1.156 kB / 1.284 GB, free: 13.16 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002908/1.899, allocations: 499.4 kB / 1.284 GB, free: 13.08 MB / 1.014 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008431/1.908, allocations: 2.486 MB / 1.286 GB, free: 12.23 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006652/1.915, allocations: 1.435 MB / 1.288 GB, free: 12.08 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/1.915, allocations: 1.188 kB / 1.288 GB, free: 12.08 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002183/1.917, allocations: 0.676 MB / 1.289 GB, free: 11.97 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004665/1.922, allocations: 0.541 MB / 1.289 GB, free: 11.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03119/1.953, allocations: 9.991 MB / 1.299 GB, free: 8.062 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/1.954, allocations: 1.212 MB / 1.3 GB, free: 7.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002853/1.957, allocations: 389.8 kB / 1.3 GB, free: 7.273 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002839/1.96, allocations: 0.5712 MB / 1.301 GB, free: 7.27 MB / 1.014 GB Notification: Performance of SimCode: time 1.663e-06/1.96, allocations: 0 / 1.301 GB, free: 7.27 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.715/7.675, allocations: 33.44 MB / 1.334 GB, free: 15.34 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004468/7.676, allocations: 290.9 kB / 1.334 GB, free: 14.96 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.13/13.81, allocations: 0 / 1.334 GB, free: 14.96 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)