Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.SimpleHouse3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001209/0.001209, allocations: 193.6 kB / 16.14 MB, free: 6.688 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.319/1.319, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.706/2.706, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 66.3 kB / 0.9113 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3202, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1788/0.4991, allocations: 163.8 MB / 1.227 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01235/0.5115, allocations: 7.832 MB / 1.235 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.5128, allocations: 35.81 kB / 1.235 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.5142, allocations: 325.9 kB / 1.235 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005009/0.5192, allocations: 1.186 MB / 1.237 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.522, allocations: 1.027 MB / 1.238 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00297/0.5249, allocations: 2.547 MB / 1.24 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/0.5265, allocations: 1.072 MB / 1.241 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.5276, allocations: 0.7001 MB / 1.242 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/0.5289, allocations: 0.7658 MB / 1.243 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.5291, allocations: 72 kB / 1.243 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002575/0.5317, allocations: 1.138 MB / 1.244 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004135/0.5321, allocations: 354.6 kB / 1.244 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007764/0.5329, allocations: 0.707 MB / 1.245 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003124/0.536, allocations: 2.337 MB / 1.247 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.536, allocations: 0 / 1.247 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.233e-06/0.536, allocations: 0 / 1.247 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.701e-05/0.536, allocations: 0 / 1.247 GB, free: 2.395 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.00343/0.5395, allocations: 1.875 MB / 1.249 GB, free: 468 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.5395, allocations: 8.031 kB / 1.249 GB, free: 460 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001941/0.5415, allocations: 337.7 kB / 1.249 GB, free: 120 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6131/1.155, allocations: 0.9686 MB / 1.25 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/1.155, allocations: 85.22 kB / 1.25 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/1.155, allocations: 110 kB / 1.25 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002786/1.158, allocations: 1.175 MB / 1.251 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/1.158, allocations: 2.609 kB / 1.251 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/1.158, allocations: 47 kB / 1.252 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.17e-05/1.158, allocations: 42.91 kB / 1.252 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/1.161, allocations: 1.305 MB / 1.253 GB, free: 184.5 MB / 0.9981 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.006331/1.167, allocations: 3.836 MB / 1.257 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002027/1.169, allocations: 1.002 MB / 1.258 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007011/1.17, allocations: 396.9 kB / 1.258 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.858e-05/1.17, allocations: 31.88 kB / 1.258 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/1.171, allocations: 0.5875 MB / 1.259 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 2.966e-06/1.171, allocations: 0.9062 kB / 1.259 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.003841/1.175, allocations: 1.443 MB / 1.26 GB, free: 182 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/1.175, allocations: 192.4 kB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/1.176, allocations: 0.8412 MB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.298e-05/1.176, allocations: 46.95 kB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003811/1.177, allocations: 0.5182 MB / 1.262 GB, free: 181 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/1.177, allocations: 340.6 kB / 1.262 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/1.177, allocations: 194.9 kB / 1.262 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.003e-05/1.177, allocations: 344.1 kB / 1.262 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006362/1.178, allocations: 338.3 kB / 1.263 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007393/1.179, allocations: 478.3 kB / 1.263 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/1.18, allocations: 0.8071 MB / 1.264 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.18, allocations: 0 / 1.264 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002438/1.182, allocations: 1.073 MB / 1.265 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/1.182, allocations: 6.438 kB / 1.265 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/1.182, allocations: 5.781 kB / 1.265 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006292/1.183, allocations: 82.27 kB / 1.265 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008783/1.184, allocations: 222.7 kB / 1.265 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/1.186, allocations: 1.529 MB / 1.267 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/1.187, allocations: 128 kB / 1.267 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.644e-05/1.187, allocations: 46.2 kB / 1.267 GB, free: 177.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (124): * Single equations (assignments): 123 * 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.0006744/1.188, allocations: 313.9 kB / 1.267 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/1.188, allocations: 113.9 kB / 1.267 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002914/1.191, allocations: 1.25 MB / 1.269 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/1.191, allocations: 13.06 kB / 1.269 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/1.191, allocations: 7.312 kB / 1.269 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/1.191, allocations: 6.797 kB / 1.269 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/1.193, allocations: 1.153 MB / 1.27 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.193, allocations: 0 / 1.27 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009391/1.194, allocations: 209.6 kB / 1.27 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005478/1.195, allocations: 88.23 kB / 1.27 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.808e-05/1.195, allocations: 27.03 kB / 1.27 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/1.196, allocations: 1.547 MB / 1.272 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.196, allocations: 5.266 kB / 1.272 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00375/1.2, allocations: 1.568 MB / 1.273 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006526/1.201, allocations: 330.3 kB / 1.273 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/1.201, allocations: 24.27 kB / 1.273 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009483/1.202, allocations: 80.62 kB / 1.273 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003385/1.202, allocations: 82.72 kB / 1.274 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/1.202, allocations: 42.3 kB / 1.274 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001251/1.204, allocations: 0.5835 MB / 1.274 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.31e-07/1.204, allocations: 0 / 1.274 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001614/1.205, allocations: 432.1 kB / 1.275 GB, free: 173.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.001602/1.207, allocations: 0.628 MB / 1.275 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002373/1.209, allocations: 0.9977 MB / 1.276 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/1.209, allocations: 1.125 kB / 1.276 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001234/1.211, allocations: 0.5961 MB / 1.277 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/1.213, allocations: 451.1 kB / 1.277 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005233/1.218, allocations: 3.004 MB / 1.28 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008491/1.219, allocations: 1.159 MB / 1.281 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001514/1.22, allocations: 331.1 kB / 1.282 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/1.221, allocations: 119.3 kB / 1.282 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of SimCode: time 9.52e-07/1.221, allocations: 1.062 kB / 1.282 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03866/1.26, allocations: 19.94 MB / 1.301 GB, free: 161.2 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)