Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.SimpleHouse3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001123/0.001123, allocations: 188.5 kB / 16.25 MB, free: 6.629 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.356/1.356, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.844/2.844, allocations: 472.6 MB / 0.7448 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 64.19 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4378, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1904/0.6283, allocations: 163.8 MB / 1.228 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01402/0.6424, allocations: 7.709 MB / 1.235 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002051/0.6445, allocations: 31.81 kB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.6461, allocations: 341.9 kB / 1.236 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005264/0.6514, allocations: 1.201 MB / 1.237 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003405/0.6549, allocations: 1.05 MB / 1.238 GB, free: 12 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00392/0.6588, allocations: 2.344 MB / 1.24 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002361/0.6612, allocations: 1.194 MB / 1.241 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001685/0.6629, allocations: 0.8173 MB / 1.242 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.6647, allocations: 0.8063 MB / 1.243 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004932/0.6652, allocations: 152 kB / 1.243 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002742/0.668, allocations: 1.135 MB / 1.244 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005892/0.6686, allocations: 430.7 kB / 1.244 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.6699, allocations: 0.7812 MB / 1.245 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004197/0.6741, allocations: 2.399 MB / 1.248 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.6741, allocations: 3.938 kB / 1.248 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6741, allocations: 0 / 1.248 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.707e-05/0.6742, allocations: 4 kB / 1.248 GB, free: 1.902 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.6186/1.293, allocations: 1.876 MB / 1.249 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/1.293, allocations: 9.281 kB / 1.249 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004159/1.297, allocations: 329.9 kB / 1.25 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003337/1.3, allocations: 0.9775 MB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/1.301, allocations: 84.55 kB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000449/1.301, allocations: 109.2 kB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004548/1.306, allocations: 1.17 MB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.594e-05/1.306, allocations: 5 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/1.306, allocations: 53.61 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.646e-05/1.306, allocations: 38.28 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004205/1.31, allocations: 1.312 MB / 1.253 GB, free: 184.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.008224/1.318, allocations: 3.831 MB / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/1.321, allocations: 0.9899 MB / 1.258 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/1.322, allocations: 401 kB / 1.258 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/1.323, allocations: 35.17 kB / 1.258 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001693/1.324, allocations: 0.5885 MB / 1.259 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 4.649e-06/1.324, allocations: 2.125 kB / 1.259 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.006026/1.33, allocations: 1.439 MB / 1.26 GB, free: 182 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/1.33, allocations: 200.5 kB / 1.261 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/1.332, allocations: 0.8319 MB / 1.261 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001486/1.332, allocations: 47.31 kB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006242/1.333, allocations: 0.5213 MB / 1.262 GB, free: 181 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000535/1.334, allocations: 342 kB / 1.262 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005394/1.334, allocations: 202.5 kB / 1.263 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.334, allocations: 347.4 kB / 1.263 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/1.335, allocations: 333.1 kB / 1.263 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/1.337, allocations: 481.9 kB / 1.264 GB, free: 180 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/1.339, allocations: 0.8009 MB / 1.264 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/1.339, allocations: 1.594 kB / 1.264 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004506/1.344, allocations: 1.077 MB / 1.265 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/1.344, allocations: 6.188 kB / 1.265 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/1.344, allocations: 4.859 kB / 1.265 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/1.345, allocations: 83.53 kB / 1.266 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/1.346, allocations: 216.4 kB / 1.266 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003049/1.349, allocations: 1.641 MB / 1.267 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/1.352, allocations: 122.8 kB / 1.267 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/1.352, allocations: 43.95 kB / 1.268 GB, free: 177.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (124): * Single equations (assignments): 123 * 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.001048/1.353, allocations: 319.6 kB / 1.268 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004467/1.353, allocations: 118.7 kB / 1.268 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004822/1.358, allocations: 1.24 MB / 1.269 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/1.358, allocations: 11.94 kB / 1.269 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/1.358, allocations: 4.594 kB / 1.269 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/1.358, allocations: 5.578 kB / 1.269 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002833/1.361, allocations: 1.174 MB / 1.27 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/1.361, allocations: 1.562 kB / 1.27 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/1.363, allocations: 207.9 kB / 1.271 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007778/1.364, allocations: 74.2 kB / 1.271 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/1.364, allocations: 31.02 kB / 1.271 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002715/1.367, allocations: 1.66 MB / 1.272 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.367, allocations: 0.7031 kB / 1.272 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005577/1.372, allocations: 1.576 MB / 1.274 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/1.373, allocations: 317.6 kB / 1.274 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002825/1.374, allocations: 23.78 kB / 1.274 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/1.375, allocations: 81.64 kB / 1.274 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000357/1.376, allocations: 82.83 kB / 1.274 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/1.376, allocations: 41.94 kB / 1.274 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001489/1.377, allocations: 0.5785 MB / 1.275 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.31e-07/1.377, allocations: 4 kB / 1.275 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001987/1.379, allocations: 430.3 kB / 1.275 GB, free: 173.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.002389/1.382, allocations: 0.6298 MB / 1.276 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005521/1.387, allocations: 1.269 MB / 1.277 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/1.387, allocations: 5.656 kB / 1.277 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001808/1.389, allocations: 0.5958 MB / 1.278 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003759/1.393, allocations: 496.4 kB / 1.278 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006836/1.4, allocations: 2.996 MB / 1.281 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007822/1.401, allocations: 1.158 MB / 1.282 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001468/1.402, allocations: 321.4 kB / 1.283 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003948/1.402, allocations: 123.7 kB / 1.283 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.513e-06/1.402, allocations: 0 / 1.283 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.04209/1.445, allocations: 20.73 MB / 1.303 GB, free: 159.5 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)