Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_11_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.001417/0.001417, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 194.4 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.604/2.604, allocations: 469.8 MB / 0.7424 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00258/0.00258, allocations: 76.81 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2528, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1917/0.4446, allocations: 176.8 MB / 1.237 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4457/0.8903, allocations: 12.8 MB / 1.249 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.8915, allocations: 30.41 kB / 1.249 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.8928, allocations: 471.5 kB / 1.25 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002629/0.8954, allocations: 1.032 MB / 1.251 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0037/0.8991, allocations: 1.863 MB / 1.253 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002583/0.9017, allocations: 2.513 MB / 1.255 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001787/0.9035, allocations: 1.605 MB / 1.257 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002889/0.9064, allocations: 1.421 MB / 1.258 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007836/0.9072, allocations: 0.8811 MB / 1.259 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.9074, allocations: 172.7 kB / 1.259 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.9093, allocations: 1.397 MB / 1.26 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003393/0.9097, allocations: 491.2 kB / 1.261 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006476/0.9103, allocations: 0.8793 MB / 1.262 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002464/0.9128, allocations: 2.753 MB / 1.264 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.9128, allocations: 0 / 1.264 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.9128, allocations: 0 / 1.264 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.9128, allocations: 0.9062 kB / 1.264 GB, free: 4.371 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.002784/0.9156, allocations: 2.024 MB / 1.266 GB, free: 19.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.9157, allocations: 12.56 kB / 1.266 GB, free: 19.38 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000205/0.9159, allocations: 203.2 kB / 1.267 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002263/0.9182, allocations: 413.1 kB / 1.267 GB, free: 19.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.9193, allocations: 0.9885 MB / 1.268 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.757e-05/0.9194, allocations: 100.3 kB / 1.268 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.9196, allocations: 133.7 kB / 1.268 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/0.9218, allocations: 1.53 MB / 1.27 GB, free: 18.66 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.9219, allocations: 0.9375 kB / 1.27 GB, free: 18.66 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.922, allocations: 62.72 kB / 1.27 GB, free: 18.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.922, allocations: 33.12 kB / 1.27 GB, free: 18.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002449/0.9245, allocations: 1.584 MB / 1.271 GB, free: 18.65 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 preOpt removeSimpleEquations (simulation): time 0.006544/0.931, allocations: 5.332 MB / 1.276 GB, free: 16.14 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.9333, allocations: 1.529 MB / 1.278 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007283/0.934, allocations: 479.5 kB / 1.278 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007106/0.9348, allocations: 427.1 kB / 1.279 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.9358, allocations: 0.6981 MB / 1.279 GB, free: 15.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 2.024e-06/0.9358, allocations: 0.8438 kB / 1.279 GB, free: 15.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=107): time 0.003676/0.9395, allocations: 1.664 MB / 1.281 GB, free: 15.06 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.9396, allocations: 198.2 kB / 1.281 GB, free: 14.84 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009167/0.9406, allocations: 0.8902 MB / 1.282 GB, free: 14.69 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.437e-05/0.9407, allocations: 53.27 kB / 1.282 GB, free: 14.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/0.941, allocations: 0.5976 MB / 1.283 GB, free: 14.41 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.9411, allocations: 346.2 kB / 1.283 GB, free: 14.19 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/0.9414, allocations: 202.7 kB / 1.283 GB, free: 14.17 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.9416, allocations: 342.6 kB / 1.284 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000649/0.9422, allocations: 377.9 kB / 1.284 GB, free: 13.86 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007504/0.943, allocations: 0.5588 MB / 1.285 GB, free: 13.69 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.9444, allocations: 0.9348 MB / 1.285 GB, free: 13.56 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.9445, allocations: 8.594 kB / 1.285 GB, free: 13.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002235/0.9467, allocations: 1.181 MB / 1.287 GB, free: 13.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.9467, allocations: 6.156 kB / 1.287 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.9467, allocations: 8.5 kB / 1.287 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005308/0.9473, allocations: 89.75 kB / 1.287 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009851/0.9483, allocations: 243.1 kB / 1.287 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.9502, allocations: 1.656 MB / 1.289 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008025/0.951, allocations: 124.1 kB / 1.289 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.551e-05/0.9511, allocations: 48.61 kB / 1.289 GB, free: 11.98 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.0004253/0.9515, allocations: 343.1 kB / 1.289 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.9517, allocations: 125.8 kB / 1.289 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/0.9544, allocations: 1.436 MB / 1.291 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.9545, allocations: 12.06 kB / 1.291 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.9545, allocations: 1.406 kB / 1.291 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.9545, allocations: 6.75 kB / 1.291 GB, free: 11.68 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.003842/0.9583, allocations: 2.889 MB / 1.293 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.9583, allocations: 5.219 kB / 1.293 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008605/0.9592, allocations: 221.6 kB / 1.294 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003837/0.9596, allocations: 73.03 kB / 1.294 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.317e-05/0.9597, allocations: 31.02 kB / 1.294 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001704/0.9614, allocations: 1.678 MB / 1.295 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9614, allocations: 2.406 kB / 1.295 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.9637, allocations: 1.326 MB / 1.297 GB, free: 9.539 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000392/0.9641, allocations: 356.4 kB / 1.297 GB, free: 9.367 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.9642, allocations: 26.75 kB / 1.297 GB, free: 9.367 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008347/0.9651, allocations: 76.73 kB / 1.297 GB, free: 9.367 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.9652, allocations: 87.34 kB / 1.297 GB, free: 9.363 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-05/0.9653, allocations: 52.11 kB / 1.297 GB, free: 9.359 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006461/0.966, allocations: 0.6227 MB / 1.298 GB, free: 9.25 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/0.966, allocations: 0 / 1.298 GB, free: 9.25 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001036/0.967, allocations: 495.9 kB / 1.298 GB, free: 9.168 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.004273/0.9713, allocations: 2.484 MB / 1.301 GB, free: 8.281 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002828/0.9741, allocations: 1.436 MB / 1.302 GB, free: 8.133 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.9742, allocations: 3.156 kB / 1.302 GB, free: 8.133 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009717/0.9751, allocations: 0.6736 MB / 1.303 GB, free: 8.023 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.977, allocations: 0.5422 MB / 1.303 GB, free: 7.953 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/0.9889, allocations: 9.426 MB / 1.313 GB, free: 4.691 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006964/0.9896, allocations: 1.206 MB / 1.314 GB, free: 3.965 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001209/0.9908, allocations: 388.5 kB / 1.314 GB, free: 3.852 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005815/0.9914, allocations: 0.5702 MB / 1.315 GB, free: 3.84 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.9914, allocations: 0 / 1.315 GB, free: 3.84 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.277/4.268, allocations: 33.67 MB / 1.348 GB, free: 9.031 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/17.44, allocations: 22.58 kB / 1.348 GB, free: 9.012 MB / 1.029 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)