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.00147/0.00147, 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.001682/0.001682, allocations: 187.8 kB / 16.14 MB, free: 6.645 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.29/1.29, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.525/2.525, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 64.72 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2914, allocations: 157.4 MB / 1.052 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1759/0.4673, allocations: 174.2 MB / 1.222 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01412/0.4815, allocations: 10.93 MB / 1.233 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.4828, allocations: 31.81 kB / 1.233 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.4842, allocations: 333.8 kB / 1.233 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003185/0.4875, allocations: 0.9786 MB / 1.234 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004266/0.4917, allocations: 1.527 MB / 1.236 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003011/0.4948, allocations: 2.673 MB / 1.238 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001951/0.4967, allocations: 1.274 MB / 1.24 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003585/0.5003, allocations: 1.128 MB / 1.241 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.5015, allocations: 0.7817 MB / 1.242 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003229/0.5019, allocations: 80 kB / 1.242 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00294/0.5048, allocations: 1.462 MB / 1.243 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004579/0.5053, allocations: 378.7 kB / 1.243 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009783/0.5063, allocations: 0.7188 MB / 1.244 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00341/0.5097, allocations: 2.52 MB / 1.247 GB, free: 460 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5097, allocations: 0 / 1.247 GB, free: 460 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5097, allocations: 0 / 1.247 GB, free: 460 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.258e-05/0.5098, allocations: 0 / 1.247 GB, free: 460 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.4672/0.977, allocations: 1.886 MB / 1.248 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.977, allocations: 18.41 kB / 1.248 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001993/0.9772, allocations: 179.6 kB / 1.249 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/0.9794, allocations: 355.4 kB / 1.249 GB, free: 195 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.9807, allocations: 0.9371 MB / 1.25 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.227e-05/0.9808, allocations: 93.92 kB / 1.25 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.981, allocations: 112.3 kB / 1.25 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.983, allocations: 1.301 MB / 1.251 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.983, allocations: 3.938 kB / 1.251 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.9832, allocations: 53.5 kB / 1.251 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.9832, allocations: 30 kB / 1.251 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.9852, allocations: 1.447 MB / 1.253 GB, free: 194.4 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.005321/0.9905, allocations: 4.064 MB / 1.257 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/0.9925, allocations: 1.206 MB / 1.258 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007431/0.9933, allocations: 449.1 kB / 1.258 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007114/0.994, allocations: 429.9 kB / 1.259 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.9951, allocations: 0.6599 MB / 1.259 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=106): time 2.355e-06/0.9951, allocations: 0 / 1.259 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106): time 0.003703/0.9988, allocations: 1.608 MB / 1.261 GB, free: 192 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.9989, allocations: 197.1 kB / 1.261 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000991/0.9999, allocations: 0.8756 MB / 1.262 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.856e-05/1, allocations: 46.3 kB / 1.262 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/1, allocations: 0.5193 MB / 1.263 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/1.001, allocations: 358.6 kB / 1.263 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003254/1.001, allocations: 195.5 kB / 1.263 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.521e-05/1.001, allocations: 342.7 kB / 1.263 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007359/1.002, allocations: 360.9 kB / 1.264 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008774/1.003, allocations: 0.5032 MB / 1.264 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/1.004, allocations: 0.8461 MB / 1.265 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.004, allocations: 1.375 kB / 1.265 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002539/1.007, allocations: 1.118 MB / 1.266 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/1.007, allocations: 6.953 kB / 1.266 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.007, allocations: 0.9375 kB / 1.266 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006002/1.007, allocations: 87.94 kB / 1.266 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009819/1.008, allocations: 221.1 kB / 1.267 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/1.01, allocations: 1.538 MB / 1.268 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009377/1.011, allocations: 134.2 kB / 1.268 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.553e-05/1.011, allocations: 42.16 kB / 1.268 GB, free: 189.2 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.0004547/1.012, allocations: 323.3 kB / 1.269 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/1.012, allocations: 122.1 kB / 1.269 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003517/1.015, allocations: 1.508 MB / 1.27 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/1.015, allocations: 11.41 kB / 1.27 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.015, allocations: 4.75 kB / 1.27 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/1.016, allocations: 8.469 kB / 1.27 GB, free: 188.7 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.004832/1.02, allocations: 2.836 MB / 1.273 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.02, allocations: 2.125 kB / 1.273 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008989/1.021, allocations: 201.3 kB / 1.273 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005218/1.022, allocations: 85.55 kB / 1.273 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.938e-05/1.022, allocations: 38.47 kB / 1.273 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/1.023, allocations: 1.566 MB / 1.275 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.023, allocations: 6.281 kB / 1.275 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003387/1.027, allocations: 1.859 MB / 1.277 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004624/1.027, allocations: 344 kB / 1.277 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/1.027, allocations: 27.06 kB / 1.277 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009375/1.028, allocations: 88.41 kB / 1.277 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/1.029, allocations: 85.47 kB / 1.277 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.601e-05/1.029, allocations: 48.17 kB / 1.277 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008277/1.03, allocations: 0.6263 MB / 1.278 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.31e-07/1.03, allocations: 4 kB / 1.278 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001196/1.031, allocations: 465.1 kB / 1.278 GB, free: 184.3 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.00503/1.036, allocations: 3.014 MB / 1.281 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002051/1.038, allocations: 1.061 MB / 1.282 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/1.038, allocations: 2.156 kB / 1.282 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001132/1.039, allocations: 0.6579 MB / 1.283 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/1.041, allocations: 0.4911 MB / 1.283 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/1.055, allocations: 9.775 MB / 1.293 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/1.056, allocations: 1.158 MB / 1.294 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001296/1.057, allocations: 374.6 kB / 1.294 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006288/1.058, allocations: 0.5256 MB / 1.295 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/1.058, allocations: 0 / 1.295 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04515/1.103, allocations: 31.75 MB / 1.326 GB, free: 144.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001392/1.103, allocations: 282.8 kB / 1.326 GB, free: 144.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/3.825, allocations: 0 / 1.326 GB, free: 144.5 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)