Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001595/0.001595, 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.001599/0.001599, allocations: 193.1 kB / 16.14 MB, free: 6.703 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.372/1.372, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.819/2.819, allocations: 472.6 MB / 0.7447 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.42 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2998, allocations: 159.9 MB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.00637/0.3063, allocations: 5.24 MB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1616/0.4679, allocations: 148.4 MB / 1.217 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009407/0.4689, allocations: 15.94 kB / 1.218 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006224/0.4696, allocations: 158.8 kB / 1.218 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.4711, allocations: 497.1 kB / 1.218 GB, free: 116 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.4729, allocations: 0.7434 MB / 1.219 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001302/0.4742, allocations: 1.35 MB / 1.22 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008276/0.4751, allocations: 0.5792 MB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005824/0.4756, allocations: 446.2 kB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005033/0.4762, allocations: 0.4938 MB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.4763, allocations: 56 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008179/0.4771, allocations: 403.6 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002338/0.4774, allocations: 239 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004533/0.4778, allocations: 0.5322 MB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.4793, allocations: 1.596 MB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4793, allocations: 3.938 kB / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of FrontEnd: time 7.71e-07/0.4793, allocations: 0 / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.4793, allocations: 4 kB / 1.224 GB, free: 9.652 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.002621/0.482, allocations: 1.477 MB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.482, allocations: 11.97 kB / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000959/0.483, allocations: 195.3 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.4841, allocations: 0.7701 MB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-05/0.4841, allocations: 66 kB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.4843, allocations: 84 kB / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.486, allocations: 0.9535 MB / 1.228 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.486, allocations: 0 / 1.228 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.048e-05/0.4861, allocations: 36 kB / 1.228 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.169e-05/0.4862, allocations: 24 kB / 1.228 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.488, allocations: 1.136 MB / 1.229 GB, free: 4.773 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.004391/0.4924, allocations: 2.813 MB / 1.232 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.494, allocations: 0.8402 MB / 1.233 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005284/0.4945, allocations: 326.7 kB / 1.233 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.157e-05/0.4946, allocations: 28.64 kB / 1.233 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009483/0.4955, allocations: 0.5101 MB / 1.233 GB, free: 112 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 2.815e-06/0.4956, allocations: 0 / 1.233 GB, free: 112 kB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.003285/0.4988, allocations: 1.247 MB / 1.235 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.975e-05/0.499, allocations: 196.9 kB / 1.235 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007904/0.4998, allocations: 0.6489 MB / 1.235 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.139e-05/0.4998, allocations: 45.7 kB / 1.236 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.5001, allocations: 412.4 kB / 1.236 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.5004, allocations: 280 kB / 1.236 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.5006, allocations: 170.5 kB / 1.236 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.5008, allocations: 386.7 kB / 1.237 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005325/0.5013, allocations: 277.9 kB / 1.237 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006279/0.502, allocations: 379.1 kB / 1.237 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.5031, allocations: 0.6281 MB / 1.238 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.5031, allocations: 4 kB / 1.238 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001993/0.5051, allocations: 0.8838 MB / 1.239 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.5052, allocations: 12.09 kB / 1.239 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.5052, allocations: 0 / 1.239 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006264/0.5058, allocations: 88.75 kB / 1.239 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007019/0.5065, allocations: 167.8 kB / 1.239 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/0.5088, allocations: 1.527 MB / 1.241 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000779/0.5096, allocations: 95.38 kB / 1.241 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.597e-05/0.5097, allocations: 39.97 kB / 1.241 GB, free: 8.391 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.000503/0.5102, allocations: 271.5 kB / 1.241 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.5104, allocations: 94.97 kB / 1.241 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.5129, allocations: 1.09 MB / 1.242 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.5129, allocations: 19.94 kB / 1.242 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5129, allocations: 0 / 1.242 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.5129, allocations: 3.984 kB / 1.242 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.5141, allocations: 0.9191 MB / 1.243 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.5141, allocations: 0 / 1.243 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006634/0.5148, allocations: 163.7 kB / 1.243 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005461/0.5153, allocations: 84.72 kB / 1.243 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.143e-05/0.5154, allocations: 27.97 kB / 1.243 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/0.5173, allocations: 1.552 MB / 1.245 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5173, allocations: 0 / 1.245 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002796/0.5201, allocations: 1.367 MB / 1.246 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004109/0.5205, allocations: 275.8 kB / 1.246 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.5207, allocations: 20 kB / 1.246 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006923/0.5214, allocations: 67.98 kB / 1.246 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.5216, allocations: 72.95 kB / 1.247 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.278e-05/0.5217, allocations: 35.98 kB / 1.247 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006297/0.5223, allocations: 471 kB / 1.247 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5223, allocations: 0 / 1.247 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000993/0.5233, allocations: 347.1 kB / 1.247 GB, free: 1.297 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 (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.001586/0.5249, allocations: 0.6008 MB / 1.248 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001886/0.5268, allocations: 0.8547 MB / 1.249 GB, free: 0 / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.759e-05/1.098, allocations: 4.625 kB / 1.249 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00149/1.1, allocations: 0.5265 MB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/1.101, allocations: 276.9 kB / 1.25 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003578/1.105, allocations: 2.286 MB / 1.252 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006348/1.106, allocations: 1.037 MB / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009787/1.107, allocations: 267.2 kB / 1.253 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/1.107, allocations: 112 kB / 1.253 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of SimCode: time 2.073e-06/1.107, allocations: 0.8438 kB / 1.253 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.02843/1.135, allocations: 14.77 MB / 1.268 GB, free: 180.2 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)