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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001381/0.001381, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001529/0.001529, allocations: 192.8 kB / 16.13 MB, free: 6.652 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.329/1.329, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.599/2.599, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 64.98 kB / 0.8985 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2607, allocations: 157.4 MB / 1.052 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1729/0.4337, allocations: 174.5 MB / 1.223 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01487/0.4486, allocations: 12.86 MB / 1.235 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009788/0.4496, allocations: 31.81 kB / 1.235 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.4507, allocations: 377.5 kB / 1.236 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.4528, allocations: 0.9224 MB / 1.236 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003554/0.4563, allocations: 1.666 MB / 1.238 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002339/0.4587, allocations: 2.875 MB / 1.241 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.4603, allocations: 1.455 MB / 1.242 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003632/0.464, allocations: 1.273 MB / 1.244 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008299/0.4648, allocations: 0.8596 MB / 1.244 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.465, allocations: 92 kB / 1.244 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002306/0.4673, allocations: 1.462 MB / 1.246 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003589/0.4677, allocations: 410.5 kB / 1.246 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.5226/0.9902, allocations: 0.8011 MB / 1.247 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004544/0.9948, allocations: 2.732 MB / 1.25 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.9948, allocations: 0 / 1.25 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.133e-06/0.9948, allocations: 1.031 kB / 1.25 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.78e-05/0.9949, allocations: 0 / 1.25 GB, free: 8.68 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.003516/0.9984, allocations: 2.029 MB / 1.252 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.9985, allocations: 15.22 kB / 1.252 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002396/0.9987, allocations: 202.8 kB / 1.252 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002702/1.001, allocations: 407.6 kB / 1.252 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/1.003, allocations: 0.9958 MB / 1.253 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.353e-05/1.003, allocations: 102.9 kB / 1.253 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/1.003, allocations: 135.7 kB / 1.254 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/1.005, allocations: 1.519 MB / 1.255 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/1.006, allocations: 2.344 kB / 1.255 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/1.006, allocations: 59.61 kB / 1.255 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/1.006, allocations: 36.98 kB / 1.255 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002596/1.008, allocations: 1.583 MB / 1.257 GB, free: 6.992 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.006318/1.015, allocations: 5.316 MB / 1.262 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/1.017, allocations: 1.516 MB / 1.263 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007691/1.018, allocations: 483.3 kB / 1.264 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006791/1.018, allocations: 431.2 kB / 1.264 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001368/1.02, allocations: 0.6882 MB / 1.265 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=107): time 2.785e-06/1.02, allocations: 0 / 1.265 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of matching and sorting (n=107): time 0.00464/1.024, allocations: 1.673 MB / 1.266 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002196/1.025, allocations: 193.3 kB / 1.267 GB, free: 19.14 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/1.026, allocations: 0.8944 MB / 1.268 GB, free: 18.99 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/1.026, allocations: 49.66 kB / 1.268 GB, free: 18.96 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004162/1.027, allocations: 0.5963 MB / 1.268 GB, free: 18.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/1.027, allocations: 352 kB / 1.269 GB, free: 18.48 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003329/1.027, allocations: 201.8 kB / 1.269 GB, free: 18.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.027, allocations: 343.9 kB / 1.269 GB, free: 18.16 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008084/1.028, allocations: 376.2 kB / 1.269 GB, free: 18.15 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009392/1.029, allocations: 0.563 MB / 1.27 GB, free: 17.97 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/1.031, allocations: 0.9335 MB / 1.271 GB, free: 17.84 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.031, allocations: 1.125 kB / 1.271 GB, free: 17.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003182/1.034, allocations: 1.188 MB / 1.272 GB, free: 17.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/1.034, allocations: 5.844 kB / 1.272 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/1.034, allocations: 5 kB / 1.272 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006363/1.035, allocations: 86 kB / 1.272 GB, free: 17.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/1.036, allocations: 244.7 kB / 1.272 GB, free: 17.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/1.038, allocations: 1.541 MB / 1.274 GB, free: 16.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/1.039, allocations: 156.2 kB / 1.274 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.443e-05/1.039, allocations: 43.75 kB / 1.274 GB, free: 16.34 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.0006812/1.04, allocations: 349.5 kB / 1.274 GB, free: 16.21 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/1.04, allocations: 119.3 kB / 1.274 GB, free: 16.15 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003283/1.043, allocations: 1.439 MB / 1.276 GB, free: 16.03 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/1.043, allocations: 10.75 kB / 1.276 GB, free: 16.03 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.043, allocations: 1.781 kB / 1.276 GB, free: 16.03 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/1.043, allocations: 5.625 kB / 1.276 GB, free: 16.03 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.004747/1.048, allocations: 2.887 MB / 1.279 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.048, allocations: 0 / 1.279 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009917/1.049, allocations: 219 kB / 1.279 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000511/1.05, allocations: 87.45 kB / 1.279 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.441e-05/1.05, allocations: 35.09 kB / 1.279 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/1.052, allocations: 1.559 MB / 1.281 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.052, allocations: 0.9844 kB / 1.281 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/1.054, allocations: 1.32 MB / 1.282 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005496/1.055, allocations: 358.5 kB / 1.282 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/1.055, allocations: 25.58 kB / 1.282 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/1.056, allocations: 108.4 kB / 1.282 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/1.056, allocations: 87.3 kB / 1.282 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/1.056, allocations: 51.17 kB / 1.282 GB, free: 13.78 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008332/1.057, allocations: 0.6187 MB / 1.283 GB, free: 13.67 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.91e-07/1.057, allocations: 0 / 1.283 GB, free: 13.67 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001439/1.059, allocations: 0.4895 MB / 1.284 GB, free: 13.59 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.004403/1.063, allocations: 2.489 MB / 1.286 GB, free: 12.72 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002315/1.065, allocations: 1.109 MB / 1.287 GB, free: 12.58 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.065, allocations: 1 kB / 1.287 GB, free: 12.58 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001799/1.067, allocations: 0.6749 MB / 1.288 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/1.069, allocations: 0.4941 MB / 1.288 GB, free: 12.44 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/1.086, allocations: 9.987 MB / 1.298 GB, free: 8.531 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000806/1.087, allocations: 1.212 MB / 1.299 GB, free: 7.793 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001648/1.088, allocations: 394.4 kB / 1.3 GB, free: 7.688 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007173/1.089, allocations: 0.5659 MB / 1.3 GB, free: 7.68 MB / 1.014 GB Notification: Performance of SimCode: time 9.71e-07/1.089, allocations: 0 / 1.3 GB, free: 7.68 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06855/1.158, allocations: 32.53 MB / 1.332 GB, free: 15.75 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002225/1.158, allocations: 302.6 kB / 1.332 GB, free: 15.37 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.836/3.994, allocations: 0 / 1.332 GB, free: 15.37 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)