Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_latest_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.001351/0.001351, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001388/0.001388, allocations: 196 kB / 16.14 MB, free: 6.645 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.256/1.256, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.511/2.511, allocations: 461.9 MB / 0.7342 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 66.59 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2986, allocations: 157.4 MB / 1.052 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007174/0.3058, allocations: 5.246 MB / 1.057 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1523/0.4581, allocations: 148.4 MB / 1.202 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009491/0.4591, allocations: 15.94 kB / 1.202 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008347/0.4599, allocations: 166.7 kB / 1.202 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.462, allocations: 484.7 kB / 1.203 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.4639, allocations: 0.7269 MB / 1.204 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001535/0.4655, allocations: 1.354 MB / 1.205 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008299/0.4663, allocations: 0.5793 MB / 1.205 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006457/0.467, allocations: 442.2 kB / 1.206 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004984/0.4675, allocations: 0.4899 MB / 1.206 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.4676, allocations: 60 kB / 1.206 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007545/0.4684, allocations: 403.6 kB / 1.207 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.4686, allocations: 254.9 kB / 1.207 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004533/0.4691, allocations: 0.5244 MB / 1.208 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.4704, allocations: 1.601 MB / 1.209 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4705, allocations: 0 / 1.209 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.745e-06/0.4705, allocations: 3.984 kB / 1.209 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.4705, allocations: 0 / 1.209 GB, free: 6.902 MB / 0.9669 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.002558/0.473, allocations: 1.493 MB / 1.211 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.4731, allocations: 11.97 kB / 1.211 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001583/0.4733, allocations: 143.7 kB / 1.211 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008918/0.4742, allocations: 191.3 kB / 1.211 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009973/0.4752, allocations: 0.766 MB / 1.212 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.249e-05/0.4752, allocations: 66 kB / 1.212 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.4754, allocations: 91.98 kB / 1.212 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.4769, allocations: 0.9457 MB / 1.213 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.4769, allocations: 8 kB / 1.213 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-05/0.477, allocations: 40 kB / 1.213 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.477, allocations: 20 kB / 1.213 GB, free: 3 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.4788, allocations: 1.136 MB / 1.214 GB, free: 1.859 MB / 0.9669 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.003818/0.4826, allocations: 2.817 MB / 1.217 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.4841, allocations: 0.8422 MB / 1.217 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005291/0.4847, allocations: 322.7 kB / 1.218 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.398e-05/0.4848, allocations: 38.73 kB / 1.218 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008792/0.4856, allocations: 0.5041 MB / 1.218 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 2.044e-06/0.4857, allocations: 0 / 1.218 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.00315/0.4888, allocations: 1.243 MB / 1.22 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.4889, allocations: 196.9 kB / 1.22 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007436/0.4897, allocations: 0.6566 MB / 1.22 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.068e-05/0.4898, allocations: 41.7 kB / 1.22 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/0.4901, allocations: 420.3 kB / 1.221 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.4903, allocations: 268.1 kB / 1.221 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.4905, allocations: 150.5 kB / 1.221 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4906, allocations: 394.7 kB / 1.222 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005014/0.4912, allocations: 253.9 kB / 1.222 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005726/0.4917, allocations: 370.6 kB / 1.222 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.4928, allocations: 0.6086 MB / 1.223 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4928, allocations: 0 / 1.223 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001802/0.4946, allocations: 0.8447 MB / 1.224 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.4946, allocations: 7.984 kB / 1.224 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4946, allocations: 0 / 1.224 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005955/0.4952, allocations: 80.88 kB / 1.224 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006556/0.4959, allocations: 163.8 kB / 1.224 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.4978, allocations: 1.522 MB / 1.225 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000618/0.4984, allocations: 91.38 kB / 1.225 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.799e-05/0.4985, allocations: 36.05 kB / 1.225 GB, free: 5.598 MB / 0.9825 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.0003357/0.4988, allocations: 277.7 kB / 1.226 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.499, allocations: 90.95 kB / 1.226 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/0.5013, allocations: 1.093 MB / 1.227 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.5013, allocations: 8 kB / 1.227 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.5013, allocations: 0 / 1.227 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.5013, allocations: 7.969 kB / 1.227 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009895/0.5023, allocations: 0.9308 MB / 1.228 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5024, allocations: 0 / 1.228 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006299/0.503, allocations: 159.8 kB / 1.228 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005088/0.5035, allocations: 80.77 kB / 1.228 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.607e-05/0.5036, allocations: 35.86 kB / 1.228 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/0.5053, allocations: 1.548 MB / 1.23 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.5053, allocations: 4 kB / 1.23 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002571/0.5079, allocations: 1.371 MB / 1.231 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003279/0.5082, allocations: 275.7 kB / 1.231 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.5084, allocations: 23.98 kB / 1.231 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006323/0.509, allocations: 63.84 kB / 1.231 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.5092, allocations: 72.89 kB / 1.231 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.945e-05/0.5092, allocations: 36.03 kB / 1.231 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005803/0.5098, allocations: 483 kB / 1.232 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5098, allocations: 0 / 1.232 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007368/0.5106, allocations: 331.2 kB / 1.232 GB, free: 14.49 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.004093/0.5147, allocations: 2.415 MB / 1.234 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.5163, allocations: 0.8195 MB / 1.235 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5163, allocations: 0 / 1.235 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009132/0.5172, allocations: 0.5278 MB / 1.236 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.5183, allocations: 283.3 kB / 1.236 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.5296, allocations: 7.167 MB / 1.243 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005421/0.5302, allocations: 1.039 MB / 1.244 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008071/0.531, allocations: 270.9 kB / 1.244 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005408/0.5316, allocations: 407.3 kB / 1.245 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of SimCode: time 4.1e-07/0.5316, allocations: 3.938 kB / 1.245 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5341/1.066, allocations: 21.22 MB / 1.265 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/1.066, allocations: 284.7 kB / 1.266 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/3.466, allocations: 0 / 1.266 GB, free: 187.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)