Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008887/0.0008889, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.0009228/0.0009228, allocations: 171.9 kB / 16.26 MB, free: 6.66 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: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.799/2.799, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003298, allocations: 14.47 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2947, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.005734/0.3004, allocations: 4.516 MB / 1.079 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1556/0.456, allocations: 146.7 MB / 1.222 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000761/0.4568, allocations: 11.94 kB / 1.222 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005458/0.4574, allocations: 150.8 kB / 1.222 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.4588, allocations: 472.7 kB / 1.222 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.4605, allocations: 0.715 MB / 1.223 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001278/0.4618, allocations: 1.276 MB / 1.224 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007993/0.4626, allocations: 0.5516 MB / 1.225 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005025/0.4631, allocations: 346.4 kB / 1.225 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004517/0.4636, allocations: 381.9 kB / 1.226 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.146e-05/0.4637, allocations: 24 kB / 1.226 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007136/0.4644, allocations: 371.6 kB / 1.226 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.4646, allocations: 183.1 kB / 1.226 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003954/0.465, allocations: 466.9 kB / 1.227 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.4665, allocations: 1.475 MB / 1.228 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4665, allocations: 0 / 1.228 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4665, allocations: 0 / 1.228 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.4665, allocations: 0 / 1.228 GB, free: 9.332 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.002214/0.4687, allocations: 1.22 MB / 1.229 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.4688, allocations: 12.03 kB / 1.229 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009181/0.4697, allocations: 199.4 kB / 1.229 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.4708, allocations: 0.7305 MB / 1.23 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.785e-05/0.4708, allocations: 65.98 kB / 1.23 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.471, allocations: 84 kB / 1.23 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.4726, allocations: 0.9114 MB / 1.231 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.4726, allocations: 7.922 kB / 1.231 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.629e-05/0.4727, allocations: 36 kB / 1.231 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.4727, allocations: 20 kB / 1.231 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.4745, allocations: 1.104 MB / 1.232 GB, free: 4.812 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.004365/0.4789, allocations: 2.811 MB / 1.235 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.4804, allocations: 0.7935 MB / 1.236 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005378/0.481, allocations: 302.6 kB / 1.236 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.61e-05/0.4811, allocations: 28.59 kB / 1.236 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009026/0.482, allocations: 495.1 kB / 1.237 GB, free: 252 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 2.836e-06/0.482, allocations: 0 / 1.237 GB, free: 252 kB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.003274/0.4853, allocations: 1.19 MB / 1.238 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.4854, allocations: 196.5 kB / 1.238 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009066/0.4863, allocations: 0.6293 MB / 1.239 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.805e-05/0.4864, allocations: 45.7 kB / 1.239 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/0.4867, allocations: 400.3 kB / 1.239 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/0.487, allocations: 260.3 kB / 1.239 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.834e-05/0.4871, allocations: 65.69 kB / 1.239 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.4872, allocations: 386.7 kB / 1.24 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005415/0.4878, allocations: 269.9 kB / 1.24 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006186/0.4884, allocations: 368 kB / 1.24 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.4895, allocations: 0.6042 MB / 1.241 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.4895, allocations: 0 / 1.241 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001981/0.4915, allocations: 0.8566 MB / 1.242 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.4916, allocations: 8 kB / 1.242 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4916, allocations: 0 / 1.242 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006172/0.4922, allocations: 80.89 kB / 1.242 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006906/0.4929, allocations: 167.7 kB / 1.242 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.495, allocations: 1.528 MB / 1.243 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008017/0.4958, allocations: 104 kB / 1.244 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.88e-05/0.4959, allocations: 35.97 kB / 1.244 GB, free: 8.816 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.0004662/0.4964, allocations: 263.4 kB / 1.244 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.4965, allocations: 86.94 kB / 1.244 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.4989, allocations: 1.054 MB / 1.245 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.4989, allocations: 16.08 kB / 1.245 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.4989, allocations: 0 / 1.245 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.4989, allocations: 7.984 kB / 1.245 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.5, allocations: 0.8878 MB / 1.246 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.5, allocations: 3.938 kB / 1.246 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005893/0.5006, allocations: 143.8 kB / 1.246 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000531/0.5011, allocations: 84.78 kB / 1.246 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-05/0.5012, allocations: 23.97 kB / 1.246 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.503, allocations: 1.544 MB / 1.248 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.503, allocations: 3.938 kB / 1.248 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.505, allocations: 0.9162 MB / 1.248 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/0.5054, allocations: 287.7 kB / 1.249 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.5055, allocations: 19.94 kB / 1.249 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000649/0.5062, allocations: 92.95 kB / 1.249 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.5064, allocations: 64.91 kB / 1.249 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.244e-05/0.5064, allocations: 35.97 kB / 1.249 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000596/0.5071, allocations: 459 kB / 1.249 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5071, allocations: 0 / 1.249 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009248/0.508, allocations: 323.2 kB / 1.25 GB, free: 2.273 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.001415/0.5094, allocations: 0.5993 MB / 1.25 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001676/0.5111, allocations: 0.8275 MB / 1.251 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/0.5111, allocations: 0 / 1.251 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000912/0.512, allocations: 0.5158 MB / 1.252 GB, free: 496 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.5134, allocations: 278.9 kB / 1.252 GB, free: 220 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.507/1.02, allocations: 2.111 MB / 1.254 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/1.021, allocations: 1.021 MB / 1.255 GB, free: 179 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009862/1.022, allocations: 259.2 kB / 1.255 GB, free: 179 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/1.022, allocations: 101.6 kB / 1.255 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.062e-06/1.022, allocations: 0 / 1.255 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.02846/1.051, allocations: 14.28 MB / 1.269 GB, free: 177.8 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1)