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.001657/0.001657, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002059/0.002059, allocations: 190.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.5/2.5, allocations: 222.9 MB / 239.9 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.48/4.48, allocations: 461.9 MB / 0.7343 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00245/0.00245, allocations: 63.86 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5128/0.5153, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.3163/0.8317, allocations: 174.2 MB / 1.222 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0247/0.8564, allocations: 10.77 MB / 1.233 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.8579, allocations: 27.81 kB / 1.233 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001644/0.8596, allocations: 349.8 kB / 1.233 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004947/0.8646, allocations: 0.9989 MB / 1.234 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006787/0.8714, allocations: 1.55 MB / 1.236 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004858/0.8763, allocations: 2.377 MB / 1.238 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002872/0.8791, allocations: 1.389 MB / 1.24 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005631/0.8848, allocations: 1.263 MB / 1.241 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001682/0.8865, allocations: 0.8326 MB / 1.242 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003375/0.8868, allocations: 156 kB / 1.242 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004272/0.8911, allocations: 1.419 MB / 1.243 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006459/0.8918, allocations: 454.6 kB / 1.244 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.893, allocations: 0.7853 MB / 1.244 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005036/0.8981, allocations: 2.59 MB / 1.247 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.8981, allocations: 0 / 1.247 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8981, allocations: 3.938 kB / 1.247 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.321e-05/0.8982, allocations: 4 kB / 1.247 GB, free: 0.7812 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.5713/1.47, allocations: 1.883 MB / 1.249 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/1.47, allocations: 10.25 kB / 1.249 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003769/1.47, allocations: 178.5 kB / 1.249 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004092/1.474, allocations: 361.1 kB / 1.249 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/1.477, allocations: 0.9418 MB / 1.25 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/1.477, allocations: 87.64 kB / 1.25 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000312/1.477, allocations: 114.6 kB / 1.25 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004287/1.482, allocations: 1.302 MB / 1.252 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.079e-05/1.482, allocations: 3.938 kB / 1.252 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002184/1.482, allocations: 52.25 kB / 1.252 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.787e-05/1.482, allocations: 27.75 kB / 1.252 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004036/1.486, allocations: 1.458 MB / 1.253 GB, free: 194.9 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.01015/1.496, allocations: 4.053 MB / 1.257 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003735/1.5, allocations: 1.211 MB / 1.258 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/1.501, allocations: 457.5 kB / 1.259 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/1.502, allocations: 425.6 kB / 1.259 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00208/1.505, allocations: 0.6618 MB / 1.26 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=106): time 8.846e-06/1.505, allocations: 3.844 kB / 1.26 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106): time 0.006921/1.512, allocations: 1.603 MB / 1.261 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/1.512, allocations: 193.8 kB / 1.261 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/1.514, allocations: 0.8766 MB / 1.262 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001639/1.514, allocations: 51.19 kB / 1.262 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006107/1.514, allocations: 0.5191 MB / 1.263 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004152/1.515, allocations: 357.4 kB / 1.263 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006131/1.516, allocations: 192.3 kB / 1.263 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.516, allocations: 342.1 kB / 1.264 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/1.517, allocations: 359.5 kB / 1.264 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001856/1.519, allocations: 0.5002 MB / 1.265 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003461/1.523, allocations: 0.8423 MB / 1.265 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/1.523, allocations: 5.656 kB / 1.265 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.004812/1.527, allocations: 1.124 MB / 1.267 GB, free: 191 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/1.527, allocations: 6.938 kB / 1.267 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.527, allocations: 3.156 kB / 1.267 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/1.528, allocations: 83.38 kB / 1.267 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/1.53, allocations: 222.8 kB / 1.267 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003104/1.533, allocations: 1.649 MB / 1.268 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/1.535, allocations: 135.4 kB / 1.269 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/1.536, allocations: 46.78 kB / 1.269 GB, free: 189.6 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.0009699/1.537, allocations: 321.4 kB / 1.269 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005012/1.537, allocations: 117.2 kB / 1.269 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006427/1.544, allocations: 1.501 MB / 1.27 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.283e-05/1.544, allocations: 15.47 kB / 1.27 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/1.544, allocations: 6.594 kB / 1.27 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-05/1.544, allocations: 11.8 kB / 1.271 GB, free: 189 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.009577/1.553, allocations: 2.836 MB / 1.273 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/1.553, allocations: 2.656 kB / 1.273 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001779/1.555, allocations: 204.3 kB / 1.273 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008242/1.556, allocations: 79.75 kB / 1.274 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001585/1.556, allocations: 34.84 kB / 1.274 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002833/1.559, allocations: 1.673 MB / 1.275 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/1.559, allocations: 2.5 kB / 1.275 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006507/1.565, allocations: 1.863 MB / 1.277 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/1.567, allocations: 340.3 kB / 1.277 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004719/1.567, allocations: 34.44 kB / 1.277 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/1.569, allocations: 85.25 kB / 1.277 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003523/1.569, allocations: 88.8 kB / 1.278 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001955/1.57, allocations: 47.94 kB / 1.278 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001797/1.571, allocations: 0.6298 MB / 1.278 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.61e-07/1.572, allocations: 0 / 1.278 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002266/1.574, allocations: 455 kB / 1.279 GB, free: 184.4 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.009555/1.583, allocations: 3.023 MB / 1.282 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005994/1.589, allocations: 1.342 MB / 1.283 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.589, allocations: 1.312 kB / 1.283 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002165/1.592, allocations: 0.6674 MB / 1.284 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004648/1.596, allocations: 0.5227 MB / 1.284 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02939/1.626, allocations: 9.779 MB / 1.294 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/1.627, allocations: 1.163 MB / 1.295 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002731/1.63, allocations: 368.9 kB / 1.295 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/1.631, allocations: 0.529 MB / 1.296 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.754e-06/1.631, allocations: 0 / 1.296 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.29/2.921, allocations: 32.63 MB / 1.328 GB, free: 143.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000267/2.921, allocations: 264.9 kB / 1.328 GB, free: 143.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.129/9.05, allocations: 0 / 1.328 GB, free: 143.4 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)