Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.SimpleHouse2,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",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.001521/0.001521, allocations: 108 kB / 15.61 MB, free: 128 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.001486/0.001486, allocations: 196.9 kB / 16.53 MB, free: 6.672 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.63/2.63, allocations: 469.8 MB / 0.7424 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 69.89 kB / 0.9086 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2616, allocations: 159.1 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007267/0.2689, allocations: 5.235 MB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1579/0.4268, allocations: 150.7 MB / 1.216 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007208/0.4276, allocations: 19.88 kB / 1.216 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006501/0.4283, allocations: 202.1 kB / 1.217 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.4301, allocations: 0.5695 MB / 1.217 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.432, allocations: 0.8423 MB / 1.218 GB, free: 60 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001579/0.4336, allocations: 1.44 MB / 1.219 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008348/0.4344, allocations: 0.6112 MB / 1.22 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005404/0.435, allocations: 0.4944 MB / 1.22 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006071/0.4356, allocations: 0.5212 MB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.4358, allocations: 120 kB / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000771/0.4365, allocations: 467.6 kB / 1.221 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000279/0.4368, allocations: 315 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005152/0.4373, allocations: 0.5869 MB / 1.222 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.439, allocations: 1.647 MB / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.439, allocations: 3.938 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.439, allocations: 0 / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.439, allocations: 0 / 1.224 GB, free: 9.824 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.002433/0.4414, allocations: 1.485 MB / 1.225 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.4415, allocations: 15.97 kB / 1.225 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001635/0.4417, allocations: 143.7 kB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008802/0.4425, allocations: 191.3 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.4436, allocations: 0.7661 MB / 1.226 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.386e-05/0.4437, allocations: 70 kB / 1.227 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.4438, allocations: 80 kB / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.4453, allocations: 0.9574 MB / 1.228 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.4454, allocations: 0 / 1.228 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.502e-05/0.4455, allocations: 39.94 kB / 1.228 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.4455, allocations: 24 kB / 1.228 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.4473, allocations: 1.132 MB / 1.229 GB, free: 4.789 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.004021/0.4514, allocations: 2.817 MB / 1.231 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.453, allocations: 0.8436 MB / 1.232 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005638/0.4535, allocations: 318.7 kB / 1.233 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.932e-05/0.4536, allocations: 38.73 kB / 1.233 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009047/0.4545, allocations: 0.508 MB / 1.233 GB, free: 116 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 1.894e-06/0.4546, allocations: 0 / 1.233 GB, free: 116 kB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.003216/0.4578, allocations: 1.243 MB / 1.234 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.4579, allocations: 200.9 kB / 1.235 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007807/0.4587, allocations: 0.645 MB / 1.235 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.405e-05/0.4588, allocations: 41.7 kB / 1.235 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.4591, allocations: 420.3 kB / 1.236 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.4593, allocations: 271.9 kB / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/0.4596, allocations: 150.6 kB / 1.236 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.4598, allocations: 398.7 kB / 1.236 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005137/0.4603, allocations: 253.9 kB / 1.237 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006311/0.4609, allocations: 370.5 kB / 1.237 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.4621, allocations: 0.6086 MB / 1.238 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4621, allocations: 0 / 1.238 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001888/0.464, allocations: 0.8369 MB / 1.238 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.464, allocations: 4 kB / 1.238 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.464, allocations: 96 / 1.238 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005654/0.4646, allocations: 88.7 kB / 1.238 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006314/0.4652, allocations: 171.8 kB / 1.239 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.4673, allocations: 1.639 MB / 1.24 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005905/0.4679, allocations: 83.33 kB / 1.24 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/0.468, allocations: 31.97 kB / 1.24 GB, free: 8.41 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: 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 (92): * Single equations (assignments): 91 * 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.0003496/0.4683, allocations: 269.7 kB / 1.241 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.4685, allocations: 86.88 kB / 1.241 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.4709, allocations: 1.097 MB / 1.242 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.4709, allocations: 12 kB / 1.242 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4709, allocations: 4 kB / 1.242 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.4709, allocations: 3.984 kB / 1.242 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.472, allocations: 0.9308 MB / 1.243 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.472, allocations: 3.938 kB / 1.243 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006188/0.4726, allocations: 155.8 kB / 1.243 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00042/0.473, allocations: 72.78 kB / 1.243 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.653e-05/0.4731, allocations: 23.98 kB / 1.243 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/0.475, allocations: 1.67 MB / 1.245 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.475, allocations: 3.938 kB / 1.245 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/0.4777, allocations: 1.371 MB / 1.246 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000341/0.478, allocations: 283.6 kB / 1.246 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.4782, allocations: 20 kB / 1.246 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006106/0.4788, allocations: 63.92 kB / 1.246 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.4789, allocations: 64.91 kB / 1.246 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.019e-05/0.479, allocations: 39.97 kB / 1.246 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005684/0.4796, allocations: 479.1 kB / 1.247 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4796, allocations: 0 / 1.247 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007003/0.4803, allocations: 335.1 kB / 1.247 GB, free: 1.203 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 (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.3674/0.8477, allocations: 2.41 MB / 1.249 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002302/0.85, allocations: 1.032 MB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.85, allocations: 3.406 kB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008628/0.8509, allocations: 0.5304 MB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.8521, allocations: 304.1 kB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008486/0.8606, allocations: 6.763 MB / 1.258 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.8609, allocations: 1.039 MB / 1.259 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006689/0.8616, allocations: 262.7 kB / 1.259 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003992/0.862, allocations: 404.1 kB / 1.26 GB, free: 182 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.862, allocations: 0 / 1.26 GB, free: 182 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.383/6.245, allocations: 22.03 MB / 1.281 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.66/23.91, allocations: 3.25 kB / 1.281 GB, free: 176.1 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)