Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.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.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",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.0009097/0.0009098, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.0009559/0.0009559, allocations: 171.9 kB / 16.26 MB, free: 6.66 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.258/1.258, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.382/2.382, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003232, allocations: 16.09 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2392, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1611/0.4003, allocations: 171.9 MB / 1.227 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0128/0.4132, allocations: 10.79 MB / 1.237 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008967/0.4141, allocations: 31.81 kB / 1.237 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009547/0.415, allocations: 325.8 kB / 1.238 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002485/0.4175, allocations: 0.975 MB / 1.238 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00325/0.4208, allocations: 1.528 MB / 1.24 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002599/0.4234, allocations: 2.677 MB / 1.243 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/0.4251, allocations: 1.21 MB / 1.244 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00298/0.4281, allocations: 1.045 MB / 1.245 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009149/0.429, allocations: 0.6958 MB / 1.245 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.4291, allocations: 44 kB / 1.246 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.4313, allocations: 1.423 MB / 1.247 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.4316, allocations: 318.7 kB / 1.247 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006664/0.4323, allocations: 0.6697 MB / 1.248 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002616/0.4349, allocations: 2.465 MB / 1.25 GB, free: 64 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.435, allocations: 0 / 1.25 GB, free: 64 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.435, allocations: 0 / 1.25 GB, free: 64 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.613e-05/0.435, allocations: 0 / 1.25 GB, free: 64 kB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.4345/0.8695, allocations: 1.598 MB / 1.252 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.8695, allocations: 13.56 kB / 1.252 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002381/0.8698, allocations: 177.4 kB / 1.252 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.8718, allocations: 365.5 kB / 1.252 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.873, allocations: 0.951 MB / 1.253 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.537e-05/0.873, allocations: 89.3 kB / 1.253 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.8732, allocations: 117.5 kB / 1.253 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.8751, allocations: 1.299 MB / 1.255 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.8751, allocations: 3.938 kB / 1.255 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.8753, allocations: 51.69 kB / 1.255 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.8753, allocations: 28.31 kB / 1.255 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.8772, allocations: 1.464 MB / 1.256 GB, free: 191.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.004736/0.8819, allocations: 4.095 MB / 1.26 GB, free: 190 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.8837, allocations: 1.218 MB / 1.261 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006426/0.8844, allocations: 454.3 kB / 1.262 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005681/0.885, allocations: 440.7 kB / 1.262 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009437/0.8859, allocations: 0.6607 MB / 1.263 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=106): time 2.083e-06/0.8859, allocations: 0 / 1.263 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106): time 0.003305/0.8892, allocations: 1.622 MB / 1.265 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.8893, allocations: 193.7 kB / 1.265 GB, free: 189 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008941/0.8902, allocations: 0.8845 MB / 1.266 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.192e-05/0.8903, allocations: 51.42 kB / 1.266 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.8906, allocations: 0.5124 MB / 1.266 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.8908, allocations: 353.6 kB / 1.266 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.8909, allocations: 80.92 kB / 1.267 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.164e-05/0.891, allocations: 343.7 kB / 1.267 GB, free: 188 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006944/0.8917, allocations: 365.3 kB / 1.267 GB, free: 188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007888/0.8925, allocations: 0.4998 MB / 1.268 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.894, allocations: 0.8554 MB / 1.269 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.894, allocations: 0.7188 kB / 1.269 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002251/0.8962, allocations: 1.131 MB / 1.27 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.8963, allocations: 9.375 kB / 1.27 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.8963, allocations: 5.125 kB / 1.27 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005515/0.8968, allocations: 82.28 kB / 1.27 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008989/0.8977, allocations: 226.6 kB / 1.27 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.8993, allocations: 1.535 MB / 1.271 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008671/0.9002, allocations: 142.3 kB / 1.272 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.409e-05/0.9003, allocations: 44.81 kB / 1.272 GB, free: 186.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (120): * Single equations (assignments): 119 * 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.0003969/0.9007, allocations: 325.2 kB / 1.272 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.9009, allocations: 121 kB / 1.272 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003215/0.9041, allocations: 1.521 MB / 1.274 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.9041, allocations: 11.62 kB / 1.274 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.9041, allocations: 0 / 1.274 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.9041, allocations: 6.859 kB / 1.274 GB, free: 186 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 postOpt removeSimpleEquations (simulation): time 0.004372/0.9085, allocations: 2.851 MB / 1.276 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.9085, allocations: 5.094 kB / 1.276 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000821/0.9094, allocations: 203.6 kB / 1.277 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000475/0.9098, allocations: 87.12 kB / 1.277 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/0.9099, allocations: 33.92 kB / 1.277 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/0.9113, allocations: 1.56 MB / 1.278 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.9113, allocations: 2.016 kB / 1.278 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002965/0.9142, allocations: 1.871 MB / 1.28 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004093/0.9147, allocations: 365.2 kB / 1.28 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.9148, allocations: 29.3 kB / 1.28 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000887/0.9157, allocations: 109.9 kB / 1.28 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.9159, allocations: 89.58 kB / 1.281 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.532e-05/0.916, allocations: 46.91 kB / 1.281 GB, free: 182 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007018/0.9167, allocations: 0.6266 MB / 1.281 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9167, allocations: 3.938 kB / 1.281 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001009/0.9177, allocations: 452.9 kB / 1.282 GB, free: 181.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (114): * Single equations (assignments): 108 * 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.004432/0.9221, allocations: 3.03 MB / 1.285 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001839/0.924, allocations: 1.071 MB / 1.286 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.924, allocations: 1.031 kB / 1.286 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.9251, allocations: 0.6628 MB / 1.286 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.9273, allocations: 0.4937 MB / 1.287 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/0.9405, allocations: 9.887 MB / 1.296 GB, free: 173 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.941, allocations: 1.162 MB / 1.298 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001168/0.9422, allocations: 370.8 kB / 1.298 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005735/0.9428, allocations: 0.5294 MB / 1.298 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/0.9428, allocations: 3.938 kB / 1.298 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.948/2.891, allocations: 31.35 MB / 1.329 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/2.891, allocations: 282.8 kB / 1.329 GB, free: 142.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.896/6.787, allocations: 0 / 1.329 GB, free: 142.1 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)