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.0007616/0.0007616, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005084/0.005084, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.398/1.398, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.833/2.833, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004511/0.0004513, allocations: 9.812 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.3991, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006862/0.406, allocations: 4.812 MB / 1.079 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1641/0.5702, allocations: 146.8 MB / 1.222 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006489/0.5709, allocations: 15.94 kB / 1.222 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004949/0.5714, allocations: 154.8 kB / 1.222 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.5728, allocations: 485.1 kB / 1.223 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.5744, allocations: 0.7346 MB / 1.223 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001303/0.5757, allocations: 1.346 MB / 1.225 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000831/0.5766, allocations: 0.5793 MB / 1.225 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005296/0.5771, allocations: 366.2 kB / 1.226 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004866/0.5776, allocations: 413.8 kB / 1.226 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.267e-05/0.5777, allocations: 35.88 kB / 1.226 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007608/0.5785, allocations: 375.6 kB / 1.226 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.5787, allocations: 195.1 kB / 1.227 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004158/0.5791, allocations: 0.4909 MB / 1.227 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.5806, allocations: 1.542 MB / 1.229 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5806, allocations: 0 / 1.229 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5806, allocations: 0 / 1.229 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.5806, allocations: 0 / 1.229 GB, free: 8.688 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.002302/0.5829, allocations: 1.275 MB / 1.23 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.583, allocations: 8.031 kB / 1.23 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009393/0.5839, allocations: 199.3 kB / 1.23 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.585, allocations: 0.7662 MB / 1.231 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.764e-05/0.5851, allocations: 66 kB / 1.231 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.5852, allocations: 83.94 kB / 1.231 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.5869, allocations: 0.9613 MB / 1.232 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.5869, allocations: 4 kB / 1.232 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.024e-05/0.587, allocations: 40 kB / 1.232 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.587, allocations: 20 kB / 1.232 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001871/0.5889, allocations: 1.139 MB / 1.233 GB, free: 4 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.004162/0.5931, allocations: 2.851 MB / 1.236 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.5947, allocations: 0.8591 MB / 1.237 GB, free: 160 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005689/0.5953, allocations: 322.7 kB / 1.237 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.967e-05/0.5954, allocations: 32.69 kB / 1.237 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008877/0.5963, allocations: 0.514 MB / 1.238 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 3.707e-06/0.5963, allocations: 0 / 1.238 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.003228/0.5995, allocations: 1.263 MB / 1.239 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.912e-05/0.5996, allocations: 192.9 kB / 1.239 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007745/0.6004, allocations: 0.6489 MB / 1.24 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.386e-05/0.6005, allocations: 41.7 kB / 1.24 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/0.6008, allocations: 424.3 kB / 1.24 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.601, allocations: 268.1 kB / 1.24 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.6011, allocations: 77.67 kB / 1.24 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.6013, allocations: 386.7 kB / 1.241 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005441/0.6018, allocations: 293.8 kB / 1.241 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006352/0.6025, allocations: 379.1 kB / 1.241 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.6036, allocations: 0.6359 MB / 1.242 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6037, allocations: 0 / 1.242 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00195/0.6056, allocations: 0.8994 MB / 1.243 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.6056, allocations: 4 kB / 1.243 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6057, allocations: 4 kB / 1.243 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006156/0.6063, allocations: 88.8 kB / 1.243 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007094/0.607, allocations: 167.8 kB / 1.243 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.609, allocations: 1.541 MB / 1.245 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000753/0.6097, allocations: 104.7 kB / 1.245 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.119e-05/0.6098, allocations: 39.97 kB / 1.245 GB, free: 7.586 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.0003936/0.6102, allocations: 275.3 kB / 1.245 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.6104, allocations: 86.97 kB / 1.245 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.6128, allocations: 1.101 MB / 1.246 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.6128, allocations: 15.94 kB / 1.246 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.6128, allocations: 3.984 kB / 1.246 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.6128, allocations: 3.984 kB / 1.246 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.6139, allocations: 0.923 MB / 1.247 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.6139, allocations: 0 / 1.247 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000646/0.6145, allocations: 155.8 kB / 1.247 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005529/0.6151, allocations: 92.69 kB / 1.247 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.567e-05/0.6152, allocations: 23.98 kB / 1.247 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.617, allocations: 1.555 MB / 1.249 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.617, allocations: 4.031 kB / 1.249 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002678/0.6197, allocations: 1.383 MB / 1.25 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003634/0.62, allocations: 287.7 kB / 1.251 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.6202, allocations: 16 kB / 1.251 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006932/0.6209, allocations: 94.66 kB / 1.251 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.621, allocations: 68.89 kB / 1.251 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.265e-05/0.6211, allocations: 39.97 kB / 1.251 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005709/0.6217, allocations: 471 kB / 1.251 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6217, allocations: 0 / 1.251 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008468/0.6225, allocations: 339.1 kB / 1.252 GB, free: 448 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.001344/0.6239, allocations: 0.595 MB / 1.252 GB, free: 12 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.5861/1.21, allocations: 0.8603 MB / 1.253 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/1.21, allocations: 1.375 kB / 1.253 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/1.211, allocations: 0.5323 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.001662/1.213, allocations: 280.7 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.004556/1.218, allocations: 2.355 MB / 1.256 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009251/1.219, allocations: 1.038 MB / 1.257 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001283/1.22, allocations: 266.4 kB / 1.257 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003483/1.22, allocations: 113.2 kB / 1.257 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.533e-06/1.22, allocations: 0 / 1.257 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.03498/1.255, allocations: 14.67 MB / 1.272 GB, free: 177.3 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)