Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, 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.001333/0.001333, allocations: 193.3 kB / 16.25 MB, free: 6.617 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.436/1.436, 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.856/2.856, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 61.09 kB / 0.9115 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.414, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006944/0.421, allocations: 5.244 MB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1689/0.5899, allocations: 148.4 MB / 1.218 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.591, allocations: 19.88 kB / 1.218 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008614/0.5919, allocations: 150.8 kB / 1.218 GB, free: 392 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002246/0.5942, allocations: 0.4974 MB / 1.218 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.5964, allocations: 0.7508 MB / 1.219 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001914/0.5984, allocations: 1.443 MB / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.5994, allocations: 0.6191 MB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007669/0.6002, allocations: 0.4943 MB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006855/0.6009, allocations: 0.531 MB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000226/0.6011, allocations: 120 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.6022, allocations: 475.5 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004286/0.6026, allocations: 299 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006659/0.6033, allocations: 0.5907 MB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001977/0.6053, allocations: 1.647 MB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.6053, allocations: 0 / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6053, allocations: 0 / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.629e-05/0.6053, allocations: 0 / 1.225 GB, free: 8.895 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003029/0.6084, allocations: 1.493 MB / 1.227 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.6084, allocations: 12.03 kB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009476/0.6094, allocations: 191.3 kB / 1.227 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.6105, allocations: 0.7701 MB / 1.228 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.251e-05/0.6106, allocations: 62 kB / 1.228 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.6107, allocations: 84 kB / 1.228 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.6125, allocations: 0.9574 MB / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.6126, allocations: 3.938 kB / 1.229 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.009e-05/0.6127, allocations: 40 kB / 1.229 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.6127, allocations: 20 kB / 1.229 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.6145, allocations: 1.128 MB / 1.23 GB, free: 4.008 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.004163/0.6187, allocations: 2.813 MB / 1.233 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.6203, allocations: 0.8436 MB / 1.233 GB, free: 216 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005863/0.6209, allocations: 331.4 kB / 1.234 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.354e-05/0.621, allocations: 28.62 kB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009329/0.6219, allocations: 0.5062 MB / 1.234 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 3.246e-06/0.622, allocations: 0 / 1.234 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.003296/0.6253, allocations: 1.247 MB / 1.235 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.889e-05/0.6254, allocations: 192.9 kB / 1.236 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000791/0.6262, allocations: 0.6489 MB / 1.236 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-05/0.6263, allocations: 41.7 kB / 1.236 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.6266, allocations: 412.4 kB / 1.237 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.6268, allocations: 276 kB / 1.237 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002659/0.6271, allocations: 174.5 kB / 1.237 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.6272, allocations: 390.7 kB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005715/0.6278, allocations: 269.9 kB / 1.238 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007203/0.6285, allocations: 375.1 kB / 1.238 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.6297, allocations: 0.6359 MB / 1.239 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.6297, allocations: 0 / 1.239 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002039/0.6318, allocations: 0.8838 MB / 1.24 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.6318, allocations: 11.94 kB / 1.24 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6318, allocations: 0 / 1.24 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006358/0.6325, allocations: 84.86 kB / 1.24 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007158/0.6332, allocations: 183.8 kB / 1.24 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.6354, allocations: 1.638 MB / 1.241 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007758/0.6362, allocations: 88.89 kB / 1.242 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.986e-05/0.6362, allocations: 39.97 kB / 1.242 GB, free: 7.508 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 (100): * Single equations (assignments): 99 * 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.0004002/0.6367, allocations: 275.6 kB / 1.242 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.6368, allocations: 98.94 kB / 1.242 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002469/0.6393, allocations: 1.089 MB / 1.243 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.6393, allocations: 12 kB / 1.243 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.6393, allocations: 0 / 1.243 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.6394, allocations: 3.984 kB / 1.243 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.6405, allocations: 0.923 MB / 1.244 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.6405, allocations: 4 kB / 1.244 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006631/0.6412, allocations: 155.7 kB / 1.244 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/0.6417, allocations: 72.78 kB / 1.244 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.99e-05/0.6417, allocations: 27.98 kB / 1.244 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/0.6437, allocations: 1.662 MB / 1.246 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.6437, allocations: 0 / 1.246 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002732/0.6464, allocations: 1.371 MB / 1.247 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003646/0.6468, allocations: 275.8 kB / 1.247 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.6469, allocations: 23.94 kB / 1.247 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006698/0.6476, allocations: 64.62 kB / 1.247 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.6478, allocations: 72.97 kB / 1.248 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.518e-05/0.6479, allocations: 39.97 kB / 1.248 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006059/0.6485, allocations: 471 kB / 1.248 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6485, allocations: 0 / 1.248 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008897/0.6494, allocations: 347.1 kB / 1.248 GB, free: 308 kB / 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 (96): * Single equations (assignments): 90 * 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.5211/1.171, allocations: 0.6021 MB / 1.249 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002879/1.173, allocations: 1.068 MB / 1.25 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.82e-06/1.173, allocations: 1 kB / 1.25 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009303/1.174, allocations: 0.5283 MB / 1.251 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/1.176, allocations: 302.6 kB / 1.251 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/1.179, allocations: 2.285 MB / 1.253 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/1.18, allocations: 1.042 MB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000974/1.181, allocations: 274.6 kB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/1.181, allocations: 105.6 kB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/1.181, allocations: 0 / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.02855/1.21, allocations: 15.32 MB / 1.269 GB, free: 179.7 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)