Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.SimpleHouse1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",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.0008553/0.0008553, allocations: 90.52 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.004884/0.004884, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.189/1.189, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.352/2.352, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003053, allocations: 10.27 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2334, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.004957/0.2384, allocations: 4.708 MB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.136/0.3744, allocations: 146.7 MB / 1.207 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00069/0.3751, allocations: 15.94 kB / 1.207 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005613/0.3757, allocations: 150.8 kB / 1.207 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.3772, allocations: 483.2 kB / 1.207 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.3788, allocations: 0.7236 MB / 1.208 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001298/0.3801, allocations: 1.33 MB / 1.209 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007727/0.3809, allocations: 0.5558 MB / 1.21 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005074/0.3814, allocations: 362.3 kB / 1.21 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005006/0.3819, allocations: 401.8 kB / 1.211 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-05/0.382, allocations: 28 kB / 1.211 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006504/0.3827, allocations: 371.6 kB / 1.211 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.3829, allocations: 199.1 kB / 1.211 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004185/0.3833, allocations: 490.7 kB / 1.212 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.3847, allocations: 1.53 MB / 1.213 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3847, allocations: 0 / 1.213 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3847, allocations: 4 kB / 1.213 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.693e-05/0.3847, allocations: 0 / 1.213 GB, free: 6.238 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002132/0.3869, allocations: 1.24 MB / 1.214 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3869, allocations: 15.97 kB / 1.214 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001534/0.3871, allocations: 139.6 kB / 1.214 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008315/0.3879, allocations: 203.3 kB / 1.215 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009188/0.3889, allocations: 0.7583 MB / 1.215 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/0.3889, allocations: 69.94 kB / 1.215 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.389, allocations: 83.94 kB / 1.216 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.3905, allocations: 0.9418 MB / 1.216 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.3905, allocations: 0 / 1.216 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-05/0.3906, allocations: 36 kB / 1.216 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.3906, allocations: 35.98 kB / 1.217 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.3923, allocations: 1.128 MB / 1.218 GB, free: 1.457 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.003561/0.3958, allocations: 2.792 MB / 1.22 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.3972, allocations: 0.8198 MB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005051/0.3977, allocations: 311.7 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.034e-05/0.3978, allocations: 36.59 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007891/0.3986, allocations: 0.4893 MB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 1.873e-06/0.3986, allocations: 0 / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.002934/0.4016, allocations: 1.229 MB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/0.4017, allocations: 188.6 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007005/0.4024, allocations: 0.6488 MB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.299e-05/0.4024, allocations: 45.7 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.4027, allocations: 408.3 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.4029, allocations: 260.2 kB / 1.225 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-05/0.403, allocations: 65.67 kB / 1.225 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4032, allocations: 386.8 kB / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004779/0.4036, allocations: 253.9 kB / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005625/0.4042, allocations: 366.5 kB / 1.226 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.4052, allocations: 0.5994 MB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.4053, allocations: 0 / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00173/0.407, allocations: 0.8215 MB / 1.227 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.407, allocations: 12 kB / 1.227 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.407, allocations: 0 / 1.227 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005803/0.4076, allocations: 88.75 kB / 1.227 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006193/0.4082, allocations: 159.7 kB / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.4101, allocations: 1.528 MB / 1.229 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006237/0.4107, allocations: 97.62 kB / 1.229 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/0.4108, allocations: 31.98 kB / 1.229 GB, free: 5.426 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 (89): * Single equations (assignments): 88 * 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.0003365/0.4111, allocations: 273.5 kB / 1.229 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.4112, allocations: 82.97 kB / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/0.4135, allocations: 1.085 MB / 1.23 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.4135, allocations: 19.92 kB / 1.23 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.4135, allocations: 0 / 1.23 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.4135, allocations: 3.984 kB / 1.23 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009142/0.4145, allocations: 0.9113 MB / 1.231 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4145, allocations: 0 / 1.231 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005945/0.4151, allocations: 159.7 kB / 1.231 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004956/0.4156, allocations: 80.78 kB / 1.231 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.335e-05/0.4156, allocations: 31.97 kB / 1.231 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/0.4173, allocations: 1.544 MB / 1.233 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4173, allocations: 0 / 1.233 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/0.4197, allocations: 1.351 MB / 1.234 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/0.4201, allocations: 287.7 kB / 1.235 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.4202, allocations: 19.98 kB / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006458/0.4208, allocations: 80 kB / 1.235 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.421, allocations: 76.89 kB / 1.235 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-05/0.4211, allocations: 31.98 kB / 1.235 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005123/0.4216, allocations: 471 kB / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4216, allocations: 0 / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006987/0.4223, allocations: 319.3 kB / 1.236 GB, free: 14.39 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 (93): * Single equations (assignments): 87 * 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.003849/0.4261, allocations: 2.407 MB / 1.238 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.4276, allocations: 0.8156 MB / 1.239 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.4276, allocations: 0 / 1.239 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008566/0.4285, allocations: 0.5276 MB / 1.239 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.4296, allocations: 286.1 kB / 1.239 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.4399, allocations: 7.063 MB / 1.246 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/0.4404, allocations: 1.028 MB / 1.247 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007172/0.4412, allocations: 262.8 kB / 1.248 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004921/0.4417, allocations: 399.3 kB / 1.248 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.4417, allocations: 0 / 1.248 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5308/0.9725, allocations: 20.59 MB / 1.268 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001391/0.9726, allocations: 283.7 kB / 1.268 GB, free: 185 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/3.392, allocations: 0 / 1.268 GB, free: 185 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)