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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001709/0.001709, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001748/0.001748, allocations: 191 kB / 16.25 MB, free: 6.629 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.51/1.51, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.465/2.465, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.09 kB / 0.8987 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2561, allocations: 157.4 MB / 1.052 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1679/0.424, allocations: 163.8 MB / 1.212 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01108/0.4352, allocations: 7.703 MB / 1.22 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.4365, allocations: 35.81 kB / 1.22 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.4378, allocations: 333.9 kB / 1.22 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003385/0.4412, allocations: 1.208 MB / 1.221 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002543/0.4438, allocations: 1.049 MB / 1.222 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002678/0.4465, allocations: 2.348 MB / 1.225 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.4481, allocations: 1.191 MB / 1.226 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001245/0.4494, allocations: 0.8095 MB / 1.227 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.4508, allocations: 0.803 MB / 1.227 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003229/0.4512, allocations: 152 kB / 1.228 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.4531, allocations: 1.135 MB / 1.229 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004516/0.4535, allocations: 430.6 kB / 1.229 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008836/0.4544, allocations: 0.7891 MB / 1.23 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002909/0.4573, allocations: 2.407 MB / 1.232 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4574, allocations: 4 kB / 1.232 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4574, allocations: 0 / 1.232 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.047e-05/0.4574, allocations: 0 / 1.232 GB, free: 15.84 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.003691/0.4611, allocations: 1.871 MB / 1.234 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4612, allocations: 8.625 kB / 1.234 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002264/0.4614, allocations: 172.9 kB / 1.234 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/0.4633, allocations: 337.7 kB / 1.235 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.4647, allocations: 0.9718 MB / 1.236 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.069e-05/0.4648, allocations: 90.17 kB / 1.236 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.465, allocations: 115.9 kB / 1.236 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.4669, allocations: 1.18 MB / 1.237 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.467, allocations: 0 / 1.237 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.4671, allocations: 48 kB / 1.237 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-05/0.4671, allocations: 46 kB / 1.237 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.4691, allocations: 1.308 MB / 1.238 GB, free: 9.516 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.005153/0.4743, allocations: 3.838 MB / 1.242 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.4759, allocations: 0.9928 MB / 1.243 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006125/0.4766, allocations: 397 kB / 1.243 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.26e-05/0.4767, allocations: 37.02 kB / 1.243 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009281/0.4776, allocations: 0.594 MB / 1.244 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 2.384e-06/0.4776, allocations: 0 / 1.244 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.003392/0.481, allocations: 1.438 MB / 1.245 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.549e-05/0.4811, allocations: 188.9 kB / 1.246 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009674/0.4821, allocations: 0.838 MB / 1.246 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.693e-05/0.4822, allocations: 45.7 kB / 1.246 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003637/0.4825, allocations: 0.5275 MB / 1.247 GB, free: 296 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.4635/0.9461, allocations: 332.2 kB / 1.247 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003783/0.9465, allocations: 182.9 kB / 1.247 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.406e-05/0.9466, allocations: 344 kB / 1.248 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006719/0.9472, allocations: 314.9 kB / 1.248 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007571/0.948, allocations: 473.4 kB / 1.248 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.9493, allocations: 0.773 MB / 1.249 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.9493, allocations: 0.875 kB / 1.249 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002394/0.9517, allocations: 1.033 MB / 1.25 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.9518, allocations: 8.969 kB / 1.25 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.9518, allocations: 3.281 kB / 1.25 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/0.9524, allocations: 85.41 kB / 1.25 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008135/0.9532, allocations: 208.7 kB / 1.251 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.9549, allocations: 1.636 MB / 1.252 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.956, allocations: 113.2 kB / 1.252 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-05/0.9561, allocations: 43.42 kB / 1.252 GB, free: 191.8 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.0005016/0.9566, allocations: 321.1 kB / 1.253 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.9568, allocations: 113.9 kB / 1.253 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/0.959, allocations: 1.248 MB / 1.254 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.505e-06/0.9591, allocations: 12.44 kB / 1.254 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.9591, allocations: 0.5 kB / 1.254 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.9591, allocations: 6.562 kB / 1.254 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.9603, allocations: 1.164 MB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.9603, allocations: 2.406 kB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008274/0.9612, allocations: 211.8 kB / 1.255 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004333/0.9616, allocations: 73.52 kB / 1.255 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.446e-05/0.9617, allocations: 34.12 kB / 1.255 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.9631, allocations: 1.663 MB / 1.257 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9632, allocations: 0 / 1.257 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00268/0.9658, allocations: 1.563 MB / 1.259 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004411/0.9663, allocations: 334.2 kB / 1.259 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.9664, allocations: 24.12 kB / 1.259 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008066/0.9673, allocations: 93.47 kB / 1.259 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.9674, allocations: 80.27 kB / 1.259 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-05/0.9675, allocations: 47.11 kB / 1.259 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006924/0.9682, allocations: 0.5857 MB / 1.26 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9682, allocations: 0 / 1.26 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009474/0.9692, allocations: 422.4 kB / 1.26 GB, free: 189.4 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.004131/0.9733, allocations: 2.632 MB / 1.263 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003263/0.9766, allocations: 1.236 MB / 1.264 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.9766, allocations: 6.797 kB / 1.264 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.9779, allocations: 0.5991 MB / 1.264 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/0.9802, allocations: 490.5 kB / 1.265 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0179/0.9982, allocations: 9.158 MB / 1.274 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008754/0.9991, allocations: 1.15 MB / 1.275 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001346/1, allocations: 333.3 kB / 1.275 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007175/1.001, allocations: 0.5102 MB / 1.276 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.833e-06/1.001, allocations: 0 / 1.276 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.759/2.76, allocations: 29.1 MB / 1.304 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/2.76, allocations: 290.1 kB / 1.304 GB, free: 167 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.594/6.354, allocations: 0 / 1.304 GB, free: 167 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)