Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 91.84 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.008334/0.008334, allocations: 170.3 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.329/1.329, 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 11.0.0-master/package.mo): time 2.586/2.586, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003311, allocations: 8.562 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2719, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1568/0.4288, allocations: 161.6 MB / 1.217 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01069/0.4396, allocations: 7.727 MB / 1.224 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.4407, allocations: 27.88 kB / 1.224 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.4417, allocations: 329.9 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003079/0.4448, allocations: 1.192 MB / 1.226 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.4471, allocations: 1.022 MB / 1.227 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002711/0.4499, allocations: 2.547 MB / 1.229 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.4513, allocations: 0.9823 MB / 1.23 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009777/0.4523, allocations: 0.6221 MB / 1.231 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.4536, allocations: 0.668 MB / 1.231 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.4537, allocations: 40 kB / 1.231 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.4555, allocations: 1.103 MB / 1.232 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.4558, allocations: 298.7 kB / 1.233 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006338/0.4564, allocations: 0.6658 MB / 1.233 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002197/0.4586, allocations: 2.274 MB / 1.236 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4587, allocations: 0 / 1.236 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4587, allocations: 0 / 1.236 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.4587, allocations: 0 / 1.236 GB, free: 15.11 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.002592/0.4613, allocations: 1.6 MB / 1.237 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.4613, allocations: 15.97 kB / 1.237 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001874/0.4615, allocations: 168.9 kB / 1.237 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.4632, allocations: 341.8 kB / 1.238 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.4645, allocations: 0.9795 MB / 1.239 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.964e-05/0.4646, allocations: 86.2 kB / 1.239 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.4648, allocations: 112 kB / 1.239 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/0.4666, allocations: 1.176 MB / 1.24 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.4666, allocations: 3.938 kB / 1.24 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.4667, allocations: 52 kB / 1.24 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.718e-05/0.4668, allocations: 42.06 kB / 1.24 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002019/0.4688, allocations: 1.319 MB / 1.241 GB, free: 9.027 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.004933/0.4737, allocations: 3.875 MB / 1.245 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.4755, allocations: 1.001 MB / 1.246 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006753/0.4762, allocations: 405.2 kB / 1.246 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.382e-05/0.4763, allocations: 37.02 kB / 1.247 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009689/0.4773, allocations: 0.5946 MB / 1.247 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 2.235e-06/0.4773, allocations: 0 / 1.247 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.003421/0.4807, allocations: 1.458 MB / 1.249 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.4808, allocations: 192.9 kB / 1.249 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000967/0.4818, allocations: 0.8379 MB / 1.25 GB, free: 316 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.037e-05/0.4819, allocations: 45.7 kB / 1.25 GB, free: 264 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.4182/0.9001, allocations: 0.5219 MB / 1.25 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004076/0.9005, allocations: 336.7 kB / 1.25 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.9007, allocations: 78.56 kB / 1.25 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.901e-05/0.9008, allocations: 342.1 kB / 1.251 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006782/0.9014, allocations: 321.1 kB / 1.251 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006894/0.9021, allocations: 478.9 kB / 1.252 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.9034, allocations: 0.7832 MB / 1.252 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.9034, allocations: 0 / 1.252 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002196/0.9056, allocations: 1.038 MB / 1.253 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.9056, allocations: 6.438 kB / 1.253 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.9057, allocations: 3.094 kB / 1.253 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005957/0.9063, allocations: 88.88 kB / 1.253 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000805/0.9071, allocations: 210.4 kB / 1.254 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.9087, allocations: 1.522 MB / 1.255 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009345/0.9096, allocations: 127 kB / 1.255 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-05/0.9097, allocations: 38.5 kB / 1.255 GB, free: 188.1 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: 15 (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 (116): * Single equations (assignments): 115 * 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.0004297/0.9101, allocations: 335.5 kB / 1.256 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.9103, allocations: 113.5 kB / 1.256 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/0.9125, allocations: 1.251 MB / 1.257 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.9126, allocations: 11.34 kB / 1.257 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.9126, allocations: 5.438 kB / 1.257 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.9126, allocations: 7.078 kB / 1.257 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.9136, allocations: 1.168 MB / 1.258 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.9137, allocations: 0 / 1.258 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007969/0.9145, allocations: 211.6 kB / 1.258 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004811/0.915, allocations: 86.77 kB / 1.258 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.664e-05/0.915, allocations: 31.97 kB / 1.258 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.9164, allocations: 1.543 MB / 1.26 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9164, allocations: 0 / 1.26 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/0.9189, allocations: 1.588 MB / 1.261 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003651/0.9193, allocations: 337.5 kB / 1.262 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.9194, allocations: 28.16 kB / 1.262 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008328/0.9203, allocations: 101.4 kB / 1.262 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.9204, allocations: 76.17 kB / 1.262 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.259e-05/0.9205, allocations: 50.53 kB / 1.262 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006291/0.9212, allocations: 0.583 MB / 1.263 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9212, allocations: 0 / 1.263 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008169/0.922, allocations: 420.8 kB / 1.263 GB, free: 185.8 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.003858/0.9259, allocations: 2.657 MB / 1.266 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001748/0.9276, allocations: 0.9702 MB / 1.267 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.9276, allocations: 0.9688 kB / 1.267 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.9287, allocations: 0.6108 MB / 1.267 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/0.9307, allocations: 459.3 kB / 1.268 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.9446, allocations: 9.291 MB / 1.277 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008591/0.9455, allocations: 1.158 MB / 1.278 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001213/0.9467, allocations: 324.3 kB / 1.278 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006889/0.9474, allocations: 0.5155 MB / 1.279 GB, free: 180 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.9474, allocations: 0 / 1.279 GB, free: 180 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3733/1.321, allocations: 27.93 MB / 1.306 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/1.321, allocations: 291.3 kB / 1.306 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/3.95, allocations: 0 / 1.306 GB, free: 164.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)