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.001117/0.001117, 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.001242/0.001242, allocations: 191.5 kB / 16.13 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.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.816/2.816, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 70.98 kB / 0.9113 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3186, allocations: 159.9 MB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007883/0.3265, allocations: 5.24 MB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1641/0.4906, allocations: 148.4 MB / 1.217 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002307/0.493, allocations: 19.88 kB / 1.218 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.4943, allocations: 158.8 kB / 1.218 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002635/0.497, allocations: 481.2 kB / 1.218 GB, free: 68 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.4992, allocations: 0.7329 MB / 1.219 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00156/0.5008, allocations: 1.354 MB / 1.22 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008593/0.5017, allocations: 0.5871 MB / 1.221 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005547/0.5022, allocations: 438.2 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005055/0.5027, allocations: 0.5015 MB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.5029, allocations: 60 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008211/0.5037, allocations: 395.7 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000239/0.5039, allocations: 247 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004414/0.5044, allocations: 0.5283 MB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.5059, allocations: 1.593 MB / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.5059, allocations: 4 kB / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.077e-06/0.5059, allocations: 3.984 kB / 1.224 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.5059, allocations: 0 / 1.224 GB, free: 9.609 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.002755/0.5087, allocations: 1.477 MB / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.5087, allocations: 15.97 kB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009874/0.5097, allocations: 195.3 kB / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.5108, allocations: 0.7662 MB / 1.227 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.509e-05/0.5108, allocations: 69.98 kB / 1.227 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.511, allocations: 84 kB / 1.227 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.5126, allocations: 0.9535 MB / 1.228 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.5126, allocations: 0 / 1.228 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.609e-05/0.5127, allocations: 43.98 kB / 1.228 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.5128, allocations: 24 kB / 1.228 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.5145, allocations: 1.132 MB / 1.229 GB, free: 4.723 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.004034/0.5186, allocations: 2.806 MB / 1.232 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.5202, allocations: 0.8519 MB / 1.233 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005791/0.5208, allocations: 318.7 kB / 1.233 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.76e-05/0.5209, allocations: 40.62 kB / 1.233 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009601/0.5219, allocations: 0.5023 MB / 1.233 GB, free: 60 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 2.084e-06/0.5219, allocations: 0 / 1.233 GB, free: 60 kB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.003338/0.5252, allocations: 1.243 MB / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.5253, allocations: 196.9 kB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007761/0.5261, allocations: 0.6528 MB / 1.235 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.037e-05/0.5262, allocations: 45.69 kB / 1.236 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.5265, allocations: 412.4 kB / 1.236 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/0.5267, allocations: 275.9 kB / 1.236 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000264/0.527, allocations: 166.5 kB / 1.236 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.5272, allocations: 386.8 kB / 1.237 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005714/0.5278, allocations: 281.8 kB / 1.237 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006592/0.5285, allocations: 387.1 kB / 1.237 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.5296, allocations: 0.6282 MB / 1.238 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.5296, allocations: 0 / 1.238 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002004/0.5317, allocations: 0.8877 MB / 1.239 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.5317, allocations: 6.188 kB / 1.239 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.5317, allocations: 0 / 1.239 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006433/0.5323, allocations: 84.86 kB / 1.239 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007503/0.5331, allocations: 175.7 kB / 1.239 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.5352, allocations: 1.528 MB / 1.241 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007569/0.536, allocations: 97.14 kB / 1.241 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.346e-05/0.536, allocations: 35.98 kB / 1.241 GB, free: 8.34 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.0003939/0.5365, allocations: 279.4 kB / 1.241 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.5366, allocations: 82.97 kB / 1.241 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002429/0.539, allocations: 1.101 MB / 1.242 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.5391, allocations: 11.94 kB / 1.242 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.5391, allocations: 0 / 1.242 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.5391, allocations: 3.984 kB / 1.242 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.5401, allocations: 0.9269 MB / 1.243 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.5401, allocations: 0 / 1.243 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006736/0.5408, allocations: 159.7 kB / 1.243 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005273/0.5413, allocations: 80.78 kB / 1.243 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.5414, allocations: 27.97 kB / 1.243 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/0.5432, allocations: 1.548 MB / 1.245 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5432, allocations: 0 / 1.245 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/0.5458, allocations: 1.371 MB / 1.246 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.5462, allocations: 279.8 kB / 1.246 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.5463, allocations: 16 kB / 1.246 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006535/0.547, allocations: 64 kB / 1.246 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.5472, allocations: 80.83 kB / 1.247 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.389e-05/0.5472, allocations: 35.97 kB / 1.247 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005602/0.5478, allocations: 467 kB / 1.247 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5478, allocations: 0 / 1.247 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008697/0.5487, allocations: 351.1 kB / 1.247 GB, free: 1.242 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.001421/0.5501, allocations: 0.59 MB / 1.248 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4781/1.028, allocations: 0.8502 MB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/1.028, allocations: 0.6875 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/1.03, allocations: 0.531 MB / 1.249 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/1.031, allocations: 284.5 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/1.035, allocations: 2.287 MB / 1.252 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000576/1.035, allocations: 1.037 MB / 1.253 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009758/1.036, allocations: 267.9 kB / 1.253 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003264/1.037, allocations: 110 kB / 1.253 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.472e-06/1.037, allocations: 0 / 1.253 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.02909/1.066, allocations: 14.78 MB / 1.268 GB, free: 179.8 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)