Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001117, allocations: 97.64 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.009088/0.009088, allocations: 171.4 kB / 16.27 MB, free: 6.32 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.352/1.352, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.685/2.685, allocations: 473.4 MB / 0.7469 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000575/0.000575, allocations: 10.28 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2943, allocations: 162.2 MB / 1.074 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.005463/0.2998, allocations: 4.695 MB / 1.079 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1574/0.4573, allocations: 146.8 MB / 1.222 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004633/0.4578, allocations: 15.94 kB / 1.222 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000483/0.4583, allocations: 150.8 kB / 1.222 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.4595, allocations: 492.4 kB / 1.223 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.461, allocations: 0.7195 MB / 1.223 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001202/0.4622, allocations: 1.334 MB / 1.225 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007698/0.463, allocations: 0.5519 MB / 1.225 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004464/0.4635, allocations: 362.3 kB / 1.226 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004655/0.4639, allocations: 405.8 kB / 1.226 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.169e-05/0.464, allocations: 28 kB / 1.226 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006375/0.4647, allocations: 371.6 kB / 1.226 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.4649, allocations: 191.1 kB / 1.226 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004052/0.4653, allocations: 494.7 kB / 1.227 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.4667, allocations: 1.522 MB / 1.228 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4667, allocations: 0 / 1.228 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4667, allocations: 0 / 1.228 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.4667, allocations: 0 / 1.228 GB, free: 8.949 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002186/0.4689, allocations: 1.248 MB / 1.23 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.4689, allocations: 8.031 kB / 1.23 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009165/0.4699, allocations: 203.3 kB / 1.23 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.4709, allocations: 0.7507 MB / 1.231 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.558e-05/0.471, allocations: 66 kB / 1.231 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.4711, allocations: 84 kB / 1.231 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.4726, allocations: 0.9417 MB / 1.232 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.4727, allocations: 0 / 1.232 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.799e-05/0.4728, allocations: 40 kB / 1.232 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.4728, allocations: 20 kB / 1.232 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.4746, allocations: 1.132 MB / 1.233 GB, free: 4.332 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.003983/0.4786, allocations: 2.794 MB / 1.236 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.4801, allocations: 0.816 MB / 1.236 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000544/0.4806, allocations: 314.7 kB / 1.237 GB, free: 288 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.529e-05/0.4807, allocations: 32.59 kB / 1.237 GB, free: 252 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008736/0.4816, allocations: 0.4953 MB / 1.237 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.335e-06/0.4816, allocations: 4 kB / 1.237 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.003219/0.4848, allocations: 1.227 MB / 1.238 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.485, allocations: 192.5 kB / 1.239 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007815/0.4858, allocations: 0.6487 MB / 1.239 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.136e-05/0.4858, allocations: 45.7 kB / 1.239 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/0.4861, allocations: 412.4 kB / 1.24 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.4864, allocations: 260.1 kB / 1.24 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.756e-05/0.4865, allocations: 69.67 kB / 1.24 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4866, allocations: 390.8 kB / 1.24 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005494/0.4872, allocations: 273.8 kB / 1.241 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006397/0.4878, allocations: 371.1 kB / 1.241 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.489, allocations: 0.6229 MB / 1.242 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.489, allocations: 0 / 1.242 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001947/0.491, allocations: 0.8721 MB / 1.242 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.491, allocations: 5.25 kB / 1.242 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.491, allocations: 0 / 1.242 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006295/0.4917, allocations: 88.86 kB / 1.242 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006906/0.4924, allocations: 175.8 kB / 1.243 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.4945, allocations: 1.524 MB / 1.244 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000763/0.4953, allocations: 104.5 kB / 1.244 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.886e-05/0.4954, allocations: 31.98 kB / 1.244 GB, free: 8.184 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 (97): * Single equations (assignments): 96 * 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.0004376/0.4958, allocations: 287.5 kB / 1.245 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.496, allocations: 82.97 kB / 1.245 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002451/0.4984, allocations: 1.074 MB / 1.246 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.4984, allocations: 8 kB / 1.246 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.4984, allocations: 3.938 kB / 1.246 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.4985, allocations: 7.984 kB / 1.246 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.4995, allocations: 0.8957 MB / 1.247 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4995, allocations: 4 kB / 1.247 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006445/0.5002, allocations: 163.7 kB / 1.247 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005494/0.5007, allocations: 80.78 kB / 1.247 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.145e-05/0.5008, allocations: 27.97 kB / 1.247 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.5026, allocations: 1.555 MB / 1.248 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5027, allocations: 0 / 1.248 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/0.5053, allocations: 1.359 MB / 1.25 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004123/0.5057, allocations: 287.6 kB / 1.25 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.5059, allocations: 20 kB / 1.25 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006978/0.5066, allocations: 86.8 kB / 1.25 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.5067, allocations: 68.89 kB / 1.25 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.594e-05/0.5068, allocations: 39.98 kB / 1.25 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006576/0.5075, allocations: 463 kB / 1.251 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5075, allocations: 0 / 1.251 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009649/0.5085, allocations: 331.2 kB / 1.251 GB, free: 1.125 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 (93): * Single equations (assignments): 87 * 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.001369/0.5099, allocations: 0.6042 MB / 1.251 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.488/0.9978, allocations: 0.8441 MB / 1.252 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.9979, allocations: 0.9688 kB / 1.252 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.9991, allocations: 0.5242 MB / 1.253 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/1.001, allocations: 266.4 kB / 1.253 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003749/1.004, allocations: 2.276 MB / 1.255 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000717/1.005, allocations: 1.03 MB / 1.256 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000915/1.006, allocations: 263.6 kB / 1.257 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/1.006, allocations: 106.9 kB / 1.257 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.132e-06/1.006, allocations: 1.125 kB / 1.257 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.02856/1.035, allocations: 14.5 MB / 1.271 GB, free: 177.3 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)