Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_11_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.001695/0.001695, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.00184, allocations: 192.5 kB / 16.53 MB, free: 6.664 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.632/2.632, allocations: 469.8 MB / 0.7424 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 63.73 kB / 0.9086 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2443, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1702/0.4145, allocations: 166.1 MB / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01141/0.4259, allocations: 7.794 MB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009746/0.4269, allocations: 39.81 kB / 1.234 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.428, allocations: 401 kB / 1.234 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003147/0.4312, allocations: 1.326 MB / 1.236 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.4336, allocations: 1.159 MB / 1.237 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002394/0.436, allocations: 2.349 MB / 1.239 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.4373, allocations: 1.186 MB / 1.24 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008761/0.4382, allocations: 0.8095 MB / 1.241 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.4393, allocations: 0.7923 MB / 1.242 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.4396, allocations: 152 kB / 1.242 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.4413, allocations: 1.1 MB / 1.243 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003658/0.4416, allocations: 426.7 kB / 1.243 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006803/0.4423, allocations: 0.7812 MB / 1.244 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002379/0.4447, allocations: 2.36 MB / 1.246 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.4447, allocations: 0 / 1.246 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4447, allocations: 4 kB / 1.246 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.4447, allocations: 0 / 1.246 GB, free: 2.789 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.002913/0.4477, allocations: 1.879 MB / 1.248 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.4477, allocations: 12.03 kB / 1.248 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000197/0.4479, allocations: 176.9 kB / 1.248 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/0.4496, allocations: 325.8 kB / 1.249 GB, free: 340 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3847/0.8344, allocations: 0.9692 MB / 1.25 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-05/0.8345, allocations: 82.83 kB / 1.25 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.8346, allocations: 113 kB / 1.25 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.8364, allocations: 1.172 MB / 1.251 GB, free: 187 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.8365, allocations: 2.031 kB / 1.251 GB, free: 187 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.275e-05/0.8366, allocations: 49.88 kB / 1.251 GB, free: 187 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.956e-05/0.8366, allocations: 38.86 kB / 1.251 GB, free: 187 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.8385, allocations: 1.305 MB / 1.252 GB, free: 187 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.00421/0.8427, allocations: 3.847 MB / 1.256 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.8442, allocations: 0.9972 MB / 1.257 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/0.8448, allocations: 399 kB / 1.258 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.745e-05/0.8448, allocations: 34.56 kB / 1.258 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008423/0.8457, allocations: 0.59 MB / 1.258 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 2.625e-06/0.8457, allocations: 0 / 1.258 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.003076/0.8488, allocations: 1.442 MB / 1.26 GB, free: 185 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.8488, allocations: 198 kB / 1.26 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008363/0.8497, allocations: 0.8348 MB / 1.261 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.761e-05/0.8497, allocations: 46.48 kB / 1.261 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.85, allocations: 0.5232 MB / 1.261 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.8502, allocations: 343.7 kB / 1.261 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/0.8504, allocations: 182.2 kB / 1.262 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.541e-05/0.8505, allocations: 341.6 kB / 1.262 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.851, allocations: 314.3 kB / 1.262 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005895/0.8516, allocations: 474.4 kB / 1.263 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.8527, allocations: 0.778 MB / 1.263 GB, free: 183 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.8527, allocations: 0 / 1.263 GB, free: 183 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001841/0.8545, allocations: 1.027 MB / 1.264 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.8545, allocations: 6.156 kB / 1.264 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.8546, allocations: 7.281 kB / 1.264 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005343/0.8551, allocations: 81.97 kB / 1.265 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007034/0.8558, allocations: 210.4 kB / 1.265 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.8573, allocations: 1.642 MB / 1.266 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00079/0.8581, allocations: 104.1 kB / 1.266 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/0.8582, allocations: 39.08 kB / 1.266 GB, free: 181 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.0003266/0.8585, allocations: 319.7 kB / 1.267 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.8587, allocations: 114.2 kB / 1.267 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/0.8611, allocations: 1.247 MB / 1.268 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.8612, allocations: 11.72 kB / 1.268 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.8612, allocations: 3.703 kB / 1.268 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.8612, allocations: 5.25 kB / 1.268 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.8624, allocations: 1.177 MB / 1.269 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.8624, allocations: 0 / 1.269 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007831/0.8632, allocations: 214.5 kB / 1.269 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003902/0.8636, allocations: 68.64 kB / 1.27 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-05/0.8637, allocations: 35.39 kB / 1.27 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.8651, allocations: 1.651 MB / 1.271 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.8651, allocations: 3.938 kB / 1.271 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002628/0.8677, allocations: 1.568 MB / 1.273 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003419/0.8681, allocations: 332.1 kB / 1.273 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.8682, allocations: 24.2 kB / 1.273 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007665/0.869, allocations: 76.48 kB / 1.273 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.8692, allocations: 81.91 kB / 1.273 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.322e-05/0.8693, allocations: 42.61 kB / 1.273 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008034/0.8701, allocations: 0.5804 MB / 1.274 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8701, allocations: 0 / 1.274 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009086/0.871, allocations: 428.2 kB / 1.274 GB, free: 176.7 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.004328/0.8753, allocations: 2.646 MB / 1.277 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002662/0.878, allocations: 1.239 MB / 1.278 GB, free: 175 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.878, allocations: 1.688 kB / 1.278 GB, free: 175 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009229/0.879, allocations: 0.5934 MB / 1.279 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.8807, allocations: 481.1 kB / 1.279 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.8917, allocations: 8.66 MB / 1.288 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/0.8923, allocations: 1.157 MB / 1.289 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009616/0.8933, allocations: 332.7 kB / 1.289 GB, free: 169 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005549/0.8938, allocations: 0.5141 MB / 1.289 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.8938, allocations: 0 / 1.289 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.821/6.715, allocations: 29.31 MB / 1.318 GB, free: 146.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.57/28.29, allocations: 14.11 kB / 1.318 GB, free: 146.3 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)