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.0009326/0.0009326, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.005291/0.005291, allocations: 169 kB / 16.26 MB, free: 6.68 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.274/1.274, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.4/2.4, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.000292, allocations: 8.812 kB / 0.9029 GB, free: 36.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2332, allocations: 159.6 MB / 1.059 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005229/0.2385, allocations: 4.814 MB / 1.063 GB, free: 92 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1383/0.3768, allocations: 146.8 MB / 1.207 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006058/0.3775, allocations: 11.94 kB / 1.207 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005232/0.378, allocations: 162.8 kB / 1.207 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.3795, allocations: 492.9 kB / 1.207 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.3811, allocations: 0.7251 MB / 1.208 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001336/0.3824, allocations: 1.35 MB / 1.209 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008216/0.3832, allocations: 0.5831 MB / 1.21 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005284/0.3838, allocations: 362.3 kB / 1.21 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005104/0.3843, allocations: 417.8 kB / 1.211 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.3844, allocations: 32 kB / 1.211 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006702/0.3851, allocations: 371.6 kB / 1.211 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.3853, allocations: 195.1 kB / 1.211 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004461/0.3858, allocations: 498.7 kB / 1.212 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.3872, allocations: 1.545 MB / 1.213 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.3872, allocations: 0 / 1.213 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3872, allocations: 0 / 1.213 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.705e-05/0.3872, allocations: 0 / 1.213 GB, free: 6.035 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.00222/0.3895, allocations: 1.279 MB / 1.215 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.3895, allocations: 15.97 kB / 1.215 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001745/0.3897, allocations: 143.6 kB / 1.215 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008432/0.3905, allocations: 199.3 kB / 1.215 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009562/0.3915, allocations: 0.7661 MB / 1.216 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.275e-05/0.3916, allocations: 66 kB / 1.216 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.3917, allocations: 88 kB / 1.216 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.3932, allocations: 0.9574 MB / 1.217 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.3932, allocations: 0 / 1.217 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.504e-05/0.3933, allocations: 40 kB / 1.217 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.3934, allocations: 23.98 kB / 1.217 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.3951, allocations: 1.147 MB / 1.218 GB, free: 1.18 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.003805/0.3989, allocations: 2.86 MB / 1.221 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.4004, allocations: 0.8475 MB / 1.222 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005362/0.401, allocations: 326.7 kB / 1.222 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.623e-05/0.4011, allocations: 34.73 kB / 1.222 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000824/0.4019, allocations: 0.5081 MB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 2.084e-06/0.4019, allocations: 4 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.003073/0.405, allocations: 1.259 MB / 1.224 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.233e-05/0.4051, allocations: 192.9 kB / 1.224 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007222/0.4058, allocations: 0.6528 MB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.985e-05/0.4059, allocations: 41.7 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.4062, allocations: 416.3 kB / 1.225 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.4064, allocations: 272.1 kB / 1.225 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.862e-05/0.4065, allocations: 69.69 kB / 1.225 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4066, allocations: 386.7 kB / 1.226 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005044/0.4072, allocations: 265.9 kB / 1.226 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005847/0.4078, allocations: 370.6 kB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.4088, allocations: 0.6164 MB / 1.227 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4088, allocations: 0 / 1.227 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001801/0.4107, allocations: 0.8486 MB / 1.228 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.4107, allocations: 4 kB / 1.228 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4107, allocations: 4 kB / 1.228 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000574/0.4113, allocations: 80.88 kB / 1.228 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006454/0.4119, allocations: 167.8 kB / 1.228 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.4138, allocations: 1.524 MB / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000651/0.4145, allocations: 107.3 kB / 1.229 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.856e-05/0.4145, allocations: 35.98 kB / 1.229 GB, free: 4.895 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.000347/0.4149, allocations: 270.1 kB / 1.23 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.415, allocations: 94.86 kB / 1.23 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.4173, allocations: 1.105 MB / 1.231 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.4174, allocations: 8 kB / 1.231 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.4174, allocations: 3.938 kB / 1.231 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.4174, allocations: 7.969 kB / 1.231 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009669/0.4184, allocations: 0.9269 MB / 1.232 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4184, allocations: 0 / 1.232 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/0.419, allocations: 163.8 kB / 1.232 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005177/0.4195, allocations: 88.77 kB / 1.232 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.162e-05/0.4196, allocations: 27.92 kB / 1.232 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/0.4213, allocations: 1.551 MB / 1.234 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4213, allocations: 0 / 1.234 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/0.4239, allocations: 1.379 MB / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003297/0.4242, allocations: 291.6 kB / 1.235 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.4243, allocations: 24 kB / 1.235 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006734/0.425, allocations: 86.05 kB / 1.235 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.4252, allocations: 64.91 kB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.499e-05/0.4252, allocations: 39.97 kB / 1.235 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005389/0.4258, allocations: 479 kB / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4258, allocations: 0 / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007251/0.4265, allocations: 335.2 kB / 1.236 GB, free: 13.74 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.00397/0.4305, allocations: 2.425 MB / 1.239 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.432, allocations: 0.8352 MB / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.432, allocations: 0 / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009125/0.433, allocations: 0.5354 MB / 1.24 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.4342, allocations: 295.1 kB / 1.24 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.4454, allocations: 7.244 MB / 1.247 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/0.446, allocations: 1.035 MB / 1.248 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007736/0.4467, allocations: 266.9 kB / 1.249 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005318/0.4473, allocations: 407.3 kB / 1.249 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of SimCode: time 1.704e-06/0.4473, allocations: 0 / 1.249 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8415/1.289, allocations: 20.91 MB / 1.269 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/1.289, allocations: 284.3 kB / 1.27 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/3.664, allocations: 0 / 1.27 GB, free: 184.2 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)