Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, 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.001321/0.001321, allocations: 191.8 kB / 16.13 MB, free: 6.711 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.401/1.401, 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 12.0.0-master/package.mo): time 2.868/2.868, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 62.36 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2817, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1835/0.4653, allocations: 174.2 MB / 1.238 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01482/0.4801, allocations: 10.93 MB / 1.248 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.4815, allocations: 31.81 kB / 1.248 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.4831, allocations: 341.8 kB / 1.249 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.5938/1.077, allocations: 0.9753 MB / 1.25 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004285/1.081, allocations: 1.528 MB / 1.251 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003495/1.085, allocations: 2.669 MB / 1.254 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001894/1.087, allocations: 1.27 MB / 1.255 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003709/1.09, allocations: 1.129 MB / 1.256 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009902/1.091, allocations: 0.7959 MB / 1.257 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001628/1.092, allocations: 76.78 kB / 1.257 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/1.094, allocations: 1.448 MB / 1.258 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003798/1.095, allocations: 376.1 kB / 1.259 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007628/1.095, allocations: 0.71 MB / 1.259 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003379/1.099, allocations: 2.526 MB / 1.262 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.099, allocations: 0 / 1.262 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.82e-07/1.099, allocations: 0 / 1.262 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.269e-05/1.099, allocations: 4 kB / 1.262 GB, free: 5.773 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.003659/1.102, allocations: 1.886 MB / 1.264 GB, free: 20.82 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/1.102, allocations: 8.359 kB / 1.264 GB, free: 20.82 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002289/1.105, allocations: 353.5 kB / 1.264 GB, free: 20.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/1.106, allocations: 0.9455 MB / 1.265 GB, free: 20.39 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.791e-05/1.106, allocations: 88.45 kB / 1.265 GB, free: 20.38 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/1.106, allocations: 121.9 kB / 1.265 GB, free: 20.38 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/1.109, allocations: 1.296 MB / 1.266 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/1.109, allocations: 0 / 1.266 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/1.109, allocations: 55.34 kB / 1.266 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/1.109, allocations: 36.02 kB / 1.267 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/1.112, allocations: 1.444 MB / 1.268 GB, free: 20.18 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 preOpt removeSimpleEquations (simulation): time 0.006294/1.118, allocations: 4.059 MB / 1.272 GB, free: 18.66 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002422/1.12, allocations: 1.205 MB / 1.273 GB, free: 18.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/1.121, allocations: 452.6 kB / 1.274 GB, free: 18.51 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000876/1.122, allocations: 428 kB / 1.274 GB, free: 18.13 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001301/1.124, allocations: 0.6626 MB / 1.275 GB, free: 18.06 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 3.216e-06/1.124, allocations: 1.156 kB / 1.275 GB, free: 18.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=106): time 0.004362/1.128, allocations: 1.603 MB / 1.276 GB, free: 17.84 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/1.128, allocations: 193.5 kB / 1.276 GB, free: 17.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/1.129, allocations: 0.8924 MB / 1.277 GB, free: 17.46 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/1.129, allocations: 46.27 kB / 1.277 GB, free: 17.43 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005043/1.13, allocations: 0.5165 MB / 1.278 GB, free: 17.22 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002842/1.13, allocations: 354.6 kB / 1.278 GB, free: 17 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/1.131, allocations: 209.8 kB / 1.278 GB, free: 16.97 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.131, allocations: 346.5 kB / 1.279 GB, free: 16.67 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007694/1.132, allocations: 385.7 kB / 1.279 GB, free: 16.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000892/1.132, allocations: 0.5063 MB / 1.279 GB, free: 16.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/1.134, allocations: 0.8644 MB / 1.28 GB, free: 16.52 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.134, allocations: 5.344 kB / 1.28 GB, free: 16.51 MB / 1.014 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002615/1.137, allocations: 1.168 MB / 1.281 GB, free: 16.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.137, allocations: 9.844 kB / 1.281 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.137, allocations: 1.156 kB / 1.281 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006074/1.137, allocations: 85.95 kB / 1.282 GB, free: 16.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/1.138, allocations: 228.9 kB / 1.282 GB, free: 16.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/1.14, allocations: 1.535 MB / 1.283 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/1.141, allocations: 136.8 kB / 1.283 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/1.142, allocations: 47.94 kB / 1.283 GB, free: 15.02 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (128): * Single equations (assignments): 127 * 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.0006579/1.142, allocations: 332.1 kB / 1.284 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/1.142, allocations: 119.3 kB / 1.284 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003201/1.146, allocations: 1.506 MB / 1.285 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/1.146, allocations: 12.12 kB / 1.285 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/1.146, allocations: 0 / 1.285 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/1.146, allocations: 10.97 kB / 1.285 GB, free: 14.69 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.005159/1.151, allocations: 2.835 MB / 1.288 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/1.151, allocations: 1.188 kB / 1.288 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009603/1.152, allocations: 198.4 kB / 1.288 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005363/1.152, allocations: 87.97 kB / 1.288 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.517e-05/1.153, allocations: 35.64 kB / 1.288 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/1.154, allocations: 1.566 MB / 1.29 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.154, allocations: 5.344 kB / 1.29 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003581/1.158, allocations: 1.861 MB / 1.292 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005871/1.159, allocations: 344.2 kB / 1.292 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/1.159, allocations: 41.72 kB / 1.292 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009481/1.16, allocations: 80.92 kB / 1.292 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/1.16, allocations: 86.83 kB / 1.292 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.16, allocations: 50.72 kB / 1.292 GB, free: 12.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009514/1.161, allocations: 0.6267 MB / 1.293 GB, free: 12.19 MB / 1.014 GB Notification: Performance of sort global known variables: time 3e-07/1.161, allocations: 1.094 kB / 1.293 GB, free: 12.19 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001454/1.163, allocations: 460.8 kB / 1.293 GB, free: 12.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.001674/1.164, allocations: 0.7136 MB / 1.294 GB, free: 11.88 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002428/1.167, allocations: 1.091 MB / 1.295 GB, free: 11.75 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/1.167, allocations: 5.266 kB / 1.295 GB, free: 11.74 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/1.168, allocations: 0.6649 MB / 1.296 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/1.171, allocations: 494 kB / 1.296 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00631/1.177, allocations: 2.926 MB / 1.299 GB, free: 10.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/1.178, allocations: 1.161 MB / 1.3 GB, free: 9.324 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002959/1.181, allocations: 371.9 kB / 1.301 GB, free: 9.219 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007435/1.182, allocations: 134.9 kB / 1.301 GB, free: 9.207 MB / 1.014 GB Notification: Performance of SimCode: time 2.454e-06/1.182, allocations: 0 / 1.301 GB, free: 9.207 MB / 1.014 GB Notification: Performance of Templates: time 0.04251/1.225, allocations: 22.86 MB / 1.323 GB, free: 4.512 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)