Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, 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.00147/0.00147, allocations: 189.6 kB / 16.25 MB, free: 6.625 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.314/1.314, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.692/2.692, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 61.92 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3417, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.0071/0.3489, allocations: 4.934 MB / 1.073 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1684/0.5173, allocations: 148.4 MB / 1.217 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009492/0.5183, allocations: 23.81 kB / 1.217 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009477/0.5194, allocations: 154.8 kB / 1.218 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002528/0.5219, allocations: 485.4 kB / 1.218 GB, free: 284 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002363/0.5243, allocations: 0.7467 MB / 1.219 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001829/0.5261, allocations: 1.369 MB / 1.22 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.5272, allocations: 0.5715 MB / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009755/0.5282, allocations: 486.3 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008521/0.529, allocations: 0.4939 MB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002152/0.5293, allocations: 112 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.5304, allocations: 459.7 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002897/0.5307, allocations: 287.1 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006105/0.5313, allocations: 0.5596 MB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.5334, allocations: 1.577 MB / 1.225 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.5334, allocations: 0 / 1.225 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5334, allocations: 0 / 1.225 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.531e-05/0.5335, allocations: 4 kB / 1.225 GB, free: 9.605 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002767/0.5362, allocations: 1.426 MB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.5363, allocations: 8.031 kB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009829/0.5373, allocations: 179.4 kB / 1.226 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.5384, allocations: 0.7421 MB / 1.227 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.93e-05/0.5385, allocations: 65.98 kB / 1.227 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.5386, allocations: 84 kB / 1.227 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.5403, allocations: 0.9075 MB / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.5403, allocations: 0 / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.913e-05/0.5404, allocations: 32 kB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.413e-05/0.5404, allocations: 20 kB / 1.228 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.5422, allocations: 1.096 MB / 1.229 GB, free: 4.91 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.0047/0.5469, allocations: 2.771 MB / 1.232 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.5485, allocations: 0.7779 MB / 1.232 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005549/0.549, allocations: 298.6 kB / 1.233 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.773e-05/0.5491, allocations: 36.59 kB / 1.233 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.5502, allocations: 483.1 kB / 1.233 GB, free: 420 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 3.036e-06/0.5502, allocations: 0 / 1.233 GB, free: 420 kB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.003399/0.5536, allocations: 1.174 MB / 1.234 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/0.5538, allocations: 196.5 kB / 1.235 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009329/0.5547, allocations: 0.637 MB / 1.235 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.139e-05/0.5548, allocations: 49.64 kB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003488/0.5551, allocations: 396.4 kB / 1.236 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.5554, allocations: 248.4 kB / 1.236 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002609/0.5556, allocations: 166.5 kB / 1.236 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002105/0.5558, allocations: 386.7 kB / 1.236 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005293/0.5564, allocations: 261.9 kB / 1.237 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006543/0.557, allocations: 367.9 kB / 1.237 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.5582, allocations: 0.6081 MB / 1.238 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.5582, allocations: 0 / 1.238 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002043/0.5602, allocations: 0.8526 MB / 1.238 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.5603, allocations: 4 kB / 1.238 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.5603, allocations: 4 kB / 1.238 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000659/0.5609, allocations: 88.88 kB / 1.238 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006519/0.5616, allocations: 155.7 kB / 1.239 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/0.5639, allocations: 1.626 MB / 1.24 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008099/0.5647, allocations: 95.39 kB / 1.24 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.128e-05/0.5648, allocations: 35.97 kB / 1.24 GB, free: 8.809 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0004801/0.5653, allocations: 276.2 kB / 1.241 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.5655, allocations: 79.06 kB / 1.241 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/0.5679, allocations: 1.042 MB / 1.242 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.5679, allocations: 8 kB / 1.242 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5679, allocations: 3.938 kB / 1.242 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.568, allocations: 7.984 kB / 1.242 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.5691, allocations: 0.8879 MB / 1.243 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.5691, allocations: 4 kB / 1.243 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005884/0.5697, allocations: 139.8 kB / 1.243 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004787/0.5702, allocations: 68.8 kB / 1.243 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.029e-05/0.5703, allocations: 27.97 kB / 1.243 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/0.5723, allocations: 1.662 MB / 1.244 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5723, allocations: 7.922 kB / 1.244 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/0.5744, allocations: 0.9083 MB / 1.245 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.5748, allocations: 275.7 kB / 1.246 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.5749, allocations: 16 kB / 1.246 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006363/0.5756, allocations: 65.66 kB / 1.246 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.5757, allocations: 68.89 kB / 1.246 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.298e-05/0.5758, allocations: 43.86 kB / 1.246 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006218/0.5764, allocations: 455 kB / 1.246 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5765, allocations: 0 / 1.246 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009564/0.5774, allocations: 327.2 kB / 1.247 GB, free: 2.207 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.001465/0.5789, allocations: 0.591 MB / 1.247 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002428/0.5813, allocations: 1.011 MB / 1.248 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.5814, allocations: 4 kB / 1.248 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009009/0.5823, allocations: 0.508 MB / 1.249 GB, free: 248 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5314/1.114, allocations: 296.3 kB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/1.118, allocations: 2.078 MB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006546/1.118, allocations: 1.02 MB / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001113/1.119, allocations: 265.8 kB / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/1.12, allocations: 105.3 kB / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/1.12, allocations: 0 / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.03212/1.152, allocations: 14.9 MB / 1.267 GB, free: 180.5 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1)