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.001026/0.001026, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005927/0.005927, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.439/2.439, allocations: 462.7 MB / 0.7364 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002841/0.0002841, allocations: 10.59 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2402, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1519/0.3921, allocations: 172.2 MB / 1.227 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0141/0.4063, allocations: 12.67 MB / 1.239 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009743/0.4073, allocations: 23.88 kB / 1.239 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.4084, allocations: 385.5 kB / 1.24 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.4109, allocations: 0.9263 MB / 1.241 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003662/0.4146, allocations: 1.67 MB / 1.242 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002715/0.4173, allocations: 2.863 MB / 1.245 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/0.4191, allocations: 1.374 MB / 1.246 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003696/0.4228, allocations: 1.158 MB / 1.247 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000953/0.4238, allocations: 0.7385 MB / 1.248 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.424, allocations: 44 kB / 1.248 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.4262, allocations: 1.419 MB / 1.25 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000326/0.4265, allocations: 354.6 kB / 1.25 GB, free: 364 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.4589/0.8854, allocations: 0.72 MB / 1.251 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00448/0.89, allocations: 2.664 MB / 1.253 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.89, allocations: 1.062 kB / 1.253 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.89, allocations: 0 / 1.253 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.253e-05/0.89, allocations: 0 / 1.253 GB, free: 6.164 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.002821/0.8929, allocations: 1.702 MB / 1.255 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.8929, allocations: 13.41 kB / 1.255 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002182/0.8931, allocations: 202.2 kB / 1.255 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002326/0.8955, allocations: 420.2 kB / 1.256 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.8966, allocations: 0.995 MB / 1.256 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.719e-05/0.8967, allocations: 101.3 kB / 1.257 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.8969, allocations: 134.6 kB / 1.257 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.899, allocations: 1.528 MB / 1.258 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.899, allocations: 0 / 1.258 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.8992, allocations: 59.7 kB / 1.258 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.8992, allocations: 32.78 kB / 1.258 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.9015, allocations: 1.591 MB / 1.26 GB, free: 4.504 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.005707/0.9072, allocations: 5.35 MB / 1.265 GB, free: 17.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/0.9093, allocations: 1.53 MB / 1.267 GB, free: 17.55 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007089/0.91, allocations: 481.4 kB / 1.267 GB, free: 17.55 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006474/0.9107, allocations: 440.3 kB / 1.267 GB, free: 17.17 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/0.9119, allocations: 0.7031 MB / 1.268 GB, free: 17.09 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 2.325e-06/0.9119, allocations: 0.7188 kB / 1.268 GB, free: 17.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=107): time 0.003963/0.9158, allocations: 1.679 MB / 1.27 GB, free: 16.87 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/0.9159, allocations: 199.4 kB / 1.27 GB, free: 16.65 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.917, allocations: 0.8956 MB / 1.271 GB, free: 16.49 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.559e-05/0.9171, allocations: 49.36 kB / 1.271 GB, free: 16.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.9174, allocations: 0.594 MB / 1.271 GB, free: 16.21 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.9176, allocations: 354.9 kB / 1.272 GB, free: 15.99 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.9177, allocations: 81.44 kB / 1.272 GB, free: 15.97 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.9179, allocations: 343.4 kB / 1.272 GB, free: 15.67 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007154/0.9186, allocations: 381.7 kB / 1.273 GB, free: 15.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008229/0.9194, allocations: 0.563 MB / 1.273 GB, free: 15.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.9211, allocations: 0.9434 MB / 1.274 GB, free: 15.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.9211, allocations: 1.031 kB / 1.274 GB, free: 15.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002616/0.9237, allocations: 1.192 MB / 1.275 GB, free: 15.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.9237, allocations: 7.547 kB / 1.275 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.9238, allocations: 6.094 kB / 1.275 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005421/0.9243, allocations: 88.66 kB / 1.275 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000995/0.9253, allocations: 252.3 kB / 1.276 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02416/0.9495, allocations: 1.544 MB / 1.277 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.9512, allocations: 167 kB / 1.277 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.9513, allocations: 42.62 kB / 1.277 GB, free: 13.84 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.0007247/0.952, allocations: 350.4 kB / 1.278 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/0.9523, allocations: 120.1 kB / 1.278 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004646/0.957, allocations: 1.447 MB / 1.279 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.957, allocations: 12.2 kB / 1.279 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.957, allocations: 3.656 kB / 1.279 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.071e-05/0.9571, allocations: 6.922 kB / 1.279 GB, free: 13.53 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.006585/0.9636, allocations: 2.889 MB / 1.282 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.9637, allocations: 0 / 1.282 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/0.9652, allocations: 214.7 kB / 1.282 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007251/0.9659, allocations: 98.27 kB / 1.282 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.966, allocations: 31.98 kB / 1.282 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/0.9684, allocations: 1.558 MB / 1.284 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.9684, allocations: 0 / 1.284 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003668/0.9721, allocations: 1.337 MB / 1.285 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007242/0.9728, allocations: 365.4 kB / 1.285 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/0.9731, allocations: 28.61 kB / 1.285 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/0.9747, allocations: 122.9 kB / 1.286 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/0.9749, allocations: 88.19 kB / 1.286 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/0.9751, allocations: 52.41 kB / 1.286 GB, free: 11.28 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001139/0.9762, allocations: 0.6196 MB / 1.286 GB, free: 11.17 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9763, allocations: 0 / 1.286 GB, free: 11.17 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001871/0.9781, allocations: 495.2 kB / 1.287 GB, free: 11.09 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.006054/0.9842, allocations: 2.494 MB / 1.289 GB, free: 10.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003043/0.9873, allocations: 1.135 MB / 1.29 GB, free: 10.06 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.9873, allocations: 1.156 kB / 1.29 GB, free: 10.06 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001676/0.989, allocations: 0.6751 MB / 1.291 GB, free: 9.938 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003239/0.9922, allocations: 0.4922 MB / 1.292 GB, free: 9.902 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02108/1.013, allocations: 10.04 MB / 1.301 GB, free: 5.996 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006386/1.014, allocations: 1.207 MB / 1.302 GB, free: 5.262 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0013/1.015, allocations: 389.8 kB / 1.303 GB, free: 5.145 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00061/1.016, allocations: 0.5769 MB / 1.303 GB, free: 5.137 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/1.016, allocations: 0 / 1.303 GB, free: 5.137 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.773/3.789, allocations: 32.17 MB / 1.335 GB, free: 12.7 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/3.789, allocations: 297.6 kB / 1.335 GB, free: 12.32 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.2/6.989, allocations: 0 / 1.335 GB, free: 12.32 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)