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.000847/0.0008471, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006051/0.006051, allocations: 172.2 kB / 16.27 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.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.792/2.792, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 12.47 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3098, allocations: 162.2 MB / 1.074 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005759/0.3156, allocations: 4.804 MB / 1.079 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1715/0.4872, allocations: 146.8 MB / 1.222 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000791/0.488, allocations: 23.81 kB / 1.222 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005475/0.4886, allocations: 158.8 kB / 1.222 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.4902, allocations: 487.3 kB / 1.223 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.4922, allocations: 0.7379 MB / 1.223 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.4936, allocations: 1.35 MB / 1.225 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000835/0.4945, allocations: 0.5676 MB / 1.225 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005506/0.495, allocations: 374.2 kB / 1.226 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000499/0.4955, allocations: 413.8 kB / 1.226 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.912e-05/0.4956, allocations: 28 kB / 1.226 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008055/0.4965, allocations: 371.6 kB / 1.226 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.4967, allocations: 195.1 kB / 1.227 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004834/0.4972, allocations: 0.4948 MB / 1.227 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.4988, allocations: 1.542 MB / 1.229 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.4989, allocations: 4 kB / 1.229 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4989, allocations: 0 / 1.229 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.377e-05/0.4989, allocations: 0 / 1.229 GB, free: 8.613 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.002358/0.5012, allocations: 1.269 MB / 1.23 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.5013, allocations: 8.031 kB / 1.23 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009648/0.5023, allocations: 203.3 kB / 1.23 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.5034, allocations: 0.7701 MB / 1.231 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.948e-05/0.5035, allocations: 70 kB / 1.231 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.5037, allocations: 84 kB / 1.231 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.5055, allocations: 0.9613 MB / 1.232 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.5055, allocations: 3.938 kB / 1.232 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.5056, allocations: 36 kB / 1.232 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.5056, allocations: 24 kB / 1.232 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.5075, allocations: 1.147 MB / 1.233 GB, free: 3.914 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.004232/0.5118, allocations: 2.845 MB / 1.236 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.5134, allocations: 0.8552 MB / 1.237 GB, free: 80 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006106/0.514, allocations: 326.8 kB / 1.237 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.565e-05/0.5141, allocations: 32.53 kB / 1.237 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009379/0.515, allocations: 0.5063 MB / 1.238 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 2.625e-06/0.5151, allocations: 3.938 kB / 1.238 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.003387/0.5184, allocations: 1.27 MB / 1.239 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.5186, allocations: 188.9 kB / 1.239 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008616/0.5194, allocations: 0.6528 MB / 1.24 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.487e-05/0.5195, allocations: 41.7 kB / 1.24 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.5199, allocations: 412.3 kB / 1.24 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.5201, allocations: 280.1 kB / 1.24 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.5202, allocations: 73.67 kB / 1.24 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.5204, allocations: 386.8 kB / 1.241 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005682/0.521, allocations: 281.8 kB / 1.241 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006632/0.5216, allocations: 383.1 kB / 1.241 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.5228, allocations: 0.6359 MB / 1.242 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.5228, allocations: 0 / 1.242 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002043/0.5249, allocations: 0.8994 MB / 1.243 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.5249, allocations: 5.406 kB / 1.243 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.5249, allocations: 0 / 1.243 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006447/0.5256, allocations: 84.88 kB / 1.243 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007294/0.5263, allocations: 179.7 kB / 1.243 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/0.5284, allocations: 1.536 MB / 1.245 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008282/0.5292, allocations: 104 kB / 1.245 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.136e-05/0.5293, allocations: 39.91 kB / 1.245 GB, free: 7.512 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.000481/0.5298, allocations: 280.4 kB / 1.245 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.5299, allocations: 90.95 kB / 1.245 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/0.5324, allocations: 1.093 MB / 1.246 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.5325, allocations: 15.94 kB / 1.246 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.5325, allocations: 0 / 1.246 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.5325, allocations: 3.984 kB / 1.246 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.5337, allocations: 0.923 MB / 1.247 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.5337, allocations: 8 kB / 1.247 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006635/0.5344, allocations: 155.8 kB / 1.247 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005534/0.5349, allocations: 92.75 kB / 1.247 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.457e-05/0.535, allocations: 31.92 kB / 1.247 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.5368, allocations: 1.544 MB / 1.249 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5368, allocations: 0 / 1.249 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/0.5395, allocations: 1.387 MB / 1.25 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.5399, allocations: 283.8 kB / 1.251 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.5401, allocations: 23.98 kB / 1.251 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007013/0.5408, allocations: 79.91 kB / 1.251 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.5409, allocations: 72.89 kB / 1.251 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.155e-05/0.541, allocations: 39.97 kB / 1.251 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005713/0.5416, allocations: 475 kB / 1.251 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5416, allocations: 0 / 1.251 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008451/0.5424, allocations: 347.1 kB / 1.252 GB, free: 364 kB / 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.566/1.108, allocations: 0.5922 MB / 1.252 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002309/1.111, allocations: 0.8612 MB / 1.253 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/1.111, allocations: 2.594 kB / 1.253 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/1.112, allocations: 0.5305 MB / 1.253 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/1.113, allocations: 279.1 kB / 1.254 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/1.117, allocations: 2.354 MB / 1.256 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006059/1.118, allocations: 1.042 MB / 1.257 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008966/1.119, allocations: 265.4 kB / 1.257 GB, free: 179 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/1.119, allocations: 103.7 kB / 1.257 GB, free: 179 MB / 0.9981 GB Notification: Performance of SimCode: time 9.51e-07/1.119, allocations: 4.906 kB / 1.257 GB, free: 179 MB / 0.9981 GB Notification: Performance of Templates: time 0.02937/1.149, allocations: 14.67 MB / 1.272 GB, free: 177.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)