Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001948/0.001949, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.394/1.394, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.697/2.697, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 62.66 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.302, allocations: 159.9 MB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.008022/0.3101, allocations: 5.129 MB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1629/0.473, allocations: 148.3 MB / 1.217 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000932/0.474, allocations: 19.88 kB / 1.217 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000868/0.4749, allocations: 150.8 kB / 1.218 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.4769, allocations: 485.2 kB / 1.218 GB, free: 228 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.4791, allocations: 0.7274 MB / 1.219 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001816/0.4809, allocations: 1.326 MB / 1.22 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.4819, allocations: 0.5714 MB / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007494/0.4827, allocations: 434.2 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007365/0.4834, allocations: 493.7 kB / 1.221 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002131/0.4836, allocations: 60 kB / 1.221 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000932/0.4846, allocations: 399.6 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003165/0.4849, allocations: 235 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006481/0.4856, allocations: 0.5244 MB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002194/0.4878, allocations: 1.569 MB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4878, allocations: 0 / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4878, allocations: 0 / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.937e-05/0.4879, allocations: 4 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003454/0.4914, allocations: 1.458 MB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.4914, allocations: 12.03 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.4925, allocations: 187.3 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.4939, allocations: 0.7508 MB / 1.226 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.789e-05/0.4939, allocations: 66 kB / 1.227 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.4941, allocations: 84 kB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.4959, allocations: 0.9418 MB / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.496, allocations: 0 / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.449e-05/0.4961, allocations: 32 kB / 1.228 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.4961, allocations: 20 kB / 1.228 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.4981, allocations: 1.128 MB / 1.229 GB, free: 5.07 MB / 0.9825 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.004829/0.503, allocations: 2.771 MB / 1.231 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.5047, allocations: 0.815 MB / 1.232 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005573/0.5053, allocations: 313.2 kB / 1.233 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.219e-05/0.5054, allocations: 24.61 kB / 1.233 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.5064, allocations: 0.4913 MB / 1.233 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 3.116e-06/0.5064, allocations: 0 / 1.233 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003356/0.5098, allocations: 1.207 MB / 1.234 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.5099, allocations: 196.5 kB / 1.234 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.511, allocations: 0.6449 MB / 1.235 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.124e-05/0.5111, allocations: 45.69 kB / 1.235 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003499/0.5114, allocations: 396.4 kB / 1.235 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/0.5117, allocations: 272.1 kB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003117/0.512, allocations: 166.5 kB / 1.236 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002163/0.5122, allocations: 390.8 kB / 1.236 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006043/0.5129, allocations: 269.9 kB / 1.236 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007085/0.5136, allocations: 367.1 kB / 1.237 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.5148, allocations: 0.6151 MB / 1.237 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.5148, allocations: 0 / 1.237 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002174/0.517, allocations: 0.8681 MB / 1.238 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.517, allocations: 4 kB / 1.238 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.517, allocations: 0 / 1.238 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006208/0.5177, allocations: 80.88 kB / 1.238 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006987/0.5184, allocations: 171.7 kB / 1.239 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.5206, allocations: 1.532 MB / 1.24 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008178/0.5215, allocations: 91.44 kB / 1.24 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.805e-05/0.5216, allocations: 39.97 kB / 1.24 GB, free: 8.926 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (97): * Single equations (assignments): 96 * 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.0005141/0.5221, allocations: 272 kB / 1.24 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.5223, allocations: 82.97 kB / 1.24 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/0.5248, allocations: 1.066 MB / 1.242 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.5248, allocations: 23.95 kB / 1.242 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5248, allocations: 3.938 kB / 1.242 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.5248, allocations: 3.984 kB / 1.242 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.5261, allocations: 0.8996 MB / 1.242 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.5261, allocations: 4 kB / 1.242 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006328/0.5267, allocations: 155.8 kB / 1.243 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005221/0.5272, allocations: 84.77 kB / 1.243 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.298e-05/0.5273, allocations: 23.98 kB / 1.243 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.5292, allocations: 1.548 MB / 1.244 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5292, allocations: 0 / 1.244 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00273/0.5319, allocations: 1.34 MB / 1.245 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004248/0.5324, allocations: 279.7 kB / 1.246 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.5325, allocations: 16 kB / 1.246 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000687/0.5332, allocations: 61.66 kB / 1.246 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.5334, allocations: 76.95 kB / 1.246 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.451e-05/0.5335, allocations: 35.97 kB / 1.246 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006851/0.5342, allocations: 467 kB / 1.246 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5342, allocations: 0 / 1.246 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009874/0.5352, allocations: 323.3 kB / 1.247 GB, free: 1.941 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * 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.001422/0.5366, allocations: 0.6099 MB / 1.247 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001732/0.5384, allocations: 0.839 MB / 1.248 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5384, allocations: 0 / 1.248 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009519/0.5394, allocations: 0.5276 MB / 1.249 GB, free: 124 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4378/0.9772, allocations: 270.2 kB / 1.249 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.9807, allocations: 2.211 MB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005622/0.9813, allocations: 1.031 MB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009892/0.9823, allocations: 262.8 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.9826, allocations: 103.4 kB / 1.252 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.363e-06/0.9826, allocations: 0 / 1.252 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.02924/1.012, allocations: 14.61 MB / 1.267 GB, free: 180.3 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)