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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001043/0.001043, allocations: 108 kB / 15.61 MB, free: 148 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.0009693/0.0009692, allocations: 196.1 kB / 16.53 MB, free: 6.656 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.207/1.207, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.358/2.358, allocations: 461.9 MB / 0.7346 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 64.5 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2513, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1755/0.4269, allocations: 176.5 MB / 1.225 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01332/0.4402, allocations: 10.91 MB / 1.236 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008307/0.4411, allocations: 35.81 kB / 1.236 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.4422, allocations: 416.7 kB / 1.236 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.4446, allocations: 1.087 MB / 1.237 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00345/0.4481, allocations: 1.708 MB / 1.239 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002193/0.4503, allocations: 2.365 MB / 1.241 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.4519, allocations: 1.404 MB / 1.243 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002717/0.4546, allocations: 1.262 MB / 1.244 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008855/0.4555, allocations: 0.8091 MB / 1.245 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002155/0.4558, allocations: 156 kB / 1.245 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002486/0.4582, allocations: 1.38 MB / 1.246 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004123/0.4587, allocations: 454.7 kB / 1.247 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006535/0.4593, allocations: 0.7813 MB / 1.247 GB, free: 228 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.473/0.9323, allocations: 2.537 MB / 1.25 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.9324, allocations: 1.156 kB / 1.25 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9324, allocations: 0 / 1.25 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.794e-05/0.9324, allocations: 0 / 1.25 GB, free: 7.777 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.002824/0.9352, allocations: 1.886 MB / 1.252 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.9353, allocations: 11.16 kB / 1.252 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001802/0.9355, allocations: 177.5 kB / 1.252 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/0.9374, allocations: 354.4 kB / 1.252 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.9386, allocations: 0.9541 MB / 1.253 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.182e-05/0.9387, allocations: 90.47 kB / 1.253 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.9388, allocations: 111.9 kB / 1.253 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.9407, allocations: 1.301 MB / 1.255 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.9408, allocations: 2.062 kB / 1.255 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.9409, allocations: 51.19 kB / 1.255 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.9409, allocations: 29.5 kB / 1.255 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.943, allocations: 1.45 MB / 1.256 GB, free: 6.203 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.005018/0.9481, allocations: 4.073 MB / 1.26 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.95, allocations: 1.214 MB / 1.261 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006791/0.9507, allocations: 451.4 kB / 1.262 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006106/0.9513, allocations: 424.7 kB / 1.262 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.9523, allocations: 0.6621 MB / 1.263 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=106): time 2.625e-06/0.9523, allocations: 0 / 1.263 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106): time 0.00376/0.9561, allocations: 1.601 MB / 1.264 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.9562, allocations: 203.1 kB / 1.265 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.9573, allocations: 0.8798 MB / 1.265 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.621e-05/0.9574, allocations: 48.22 kB / 1.266 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.9578, allocations: 0.5131 MB / 1.266 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/0.958, allocations: 354.1 kB / 1.266 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003155/0.9583, allocations: 194.5 kB / 1.267 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002085/0.9585, allocations: 343.8 kB / 1.267 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007293/0.9593, allocations: 363.2 kB / 1.267 GB, free: 18.77 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008267/0.9601, allocations: 0.4956 MB / 1.268 GB, free: 18.67 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.9616, allocations: 0.8467 MB / 1.269 GB, free: 18.61 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.9616, allocations: 1.875 kB / 1.269 GB, free: 18.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002399/0.964, allocations: 1.116 MB / 1.27 GB, free: 18.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.9641, allocations: 10.39 kB / 1.27 GB, free: 18.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.9641, allocations: 2.125 kB / 1.27 GB, free: 18.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005931/0.9647, allocations: 84.67 kB / 1.27 GB, free: 18.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.9657, allocations: 221.5 kB / 1.27 GB, free: 18.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/0.9678, allocations: 1.647 MB / 1.272 GB, free: 17.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008741/0.9686, allocations: 128.4 kB / 1.272 GB, free: 17.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.9688, allocations: 45.5 kB / 1.272 GB, free: 17.04 MB / 1.014 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.0004986/0.9693, allocations: 321 kB / 1.272 GB, free: 16.92 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002362/0.9695, allocations: 122.9 kB / 1.272 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00312/0.9726, allocations: 1.506 MB / 1.274 GB, free: 16.74 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.9727, allocations: 12.47 kB / 1.274 GB, free: 16.74 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.9727, allocations: 1.203 kB / 1.274 GB, free: 16.74 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.9727, allocations: 8.531 kB / 1.274 GB, free: 16.74 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.004533/0.9772, allocations: 2.834 MB / 1.276 GB, free: 16.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.9772, allocations: 2.703 kB / 1.276 GB, free: 16.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008513/0.9781, allocations: 198.6 kB / 1.277 GB, free: 16.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004242/0.9785, allocations: 81.42 kB / 1.277 GB, free: 16.16 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.84e-05/0.9786, allocations: 38.17 kB / 1.277 GB, free: 16.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.9803, allocations: 1.678 MB / 1.278 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.9803, allocations: 2.719 kB / 1.278 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003061/0.9834, allocations: 1.861 MB / 1.28 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004157/0.9838, allocations: 347.5 kB / 1.28 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.984, allocations: 23.06 kB / 1.281 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008288/0.9848, allocations: 81.25 kB / 1.281 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.985, allocations: 89.94 kB / 1.281 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.399e-05/0.9851, allocations: 51.39 kB / 1.281 GB, free: 14.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007803/0.9859, allocations: 0.6227 MB / 1.281 GB, free: 14.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9859, allocations: 0 / 1.281 GB, free: 14.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001179/0.9871, allocations: 459.2 kB / 1.282 GB, free: 14.12 MB / 1.014 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.004775/0.9918, allocations: 3.021 MB / 1.285 GB, free: 13.23 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002809/0.9947, allocations: 1.338 MB / 1.286 GB, free: 13.09 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.9947, allocations: 5.094 kB / 1.286 GB, free: 13.08 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.9958, allocations: 0.6625 MB / 1.287 GB, free: 12.96 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/0.9978, allocations: 0.5227 MB / 1.287 GB, free: 12.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/1.011, allocations: 9.292 MB / 1.296 GB, free: 9.754 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006664/1.011, allocations: 1.162 MB / 1.297 GB, free: 9.043 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001304/1.013, allocations: 369.3 kB / 1.298 GB, free: 8.941 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006177/1.013, allocations: 0.5283 MB / 1.298 GB, free: 8.938 MB / 1.014 GB Notification: Performance of SimCode: time 1.172e-06/1.013, allocations: 0 / 1.298 GB, free: 8.938 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4625/1.476, allocations: 32.87 MB / 1.33 GB, free: 1.469 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/13.14, allocations: 6.125 kB / 1.33 GB, free: 1.469 MB / 1.014 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)