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.001252/0.001252, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001191/0.001191, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.22/1.22, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.531/2.531, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 58.66 kB / 0.8985 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2702, allocations: 157.4 MB / 1.052 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006071/0.2763, allocations: 5.135 MB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1631/0.4394, allocations: 148.3 MB / 1.202 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.4405, allocations: 19.88 kB / 1.202 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00063/0.4412, allocations: 154.8 kB / 1.202 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.4428, allocations: 488.4 kB / 1.203 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.4446, allocations: 0.725 MB / 1.203 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001242/0.4459, allocations: 1.33 MB / 1.205 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008271/0.4467, allocations: 0.5714 MB / 1.205 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005323/0.4473, allocations: 434.2 kB / 1.206 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004941/0.4478, allocations: 493.7 kB / 1.206 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.4479, allocations: 56 kB / 1.206 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007723/0.4487, allocations: 395.7 kB / 1.207 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002318/0.4489, allocations: 247 kB / 1.207 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004552/0.4494, allocations: 0.5206 MB / 1.207 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.4508, allocations: 1.573 MB / 1.209 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4508, allocations: 0 / 1.209 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.22e-07/0.4508, allocations: 0 / 1.209 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.4509, allocations: 0 / 1.209 GB, free: 7.223 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.00252/0.4534, allocations: 1.462 MB / 1.21 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.4534, allocations: 15.97 kB / 1.21 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.4536, allocations: 135.6 kB / 1.21 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009038/0.4545, allocations: 199.3 kB / 1.211 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009988/0.4555, allocations: 0.7467 MB / 1.211 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.706e-05/0.4556, allocations: 66 kB / 1.211 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.4557, allocations: 87.98 kB / 1.211 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.4572, allocations: 0.934 MB / 1.212 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.4573, allocations: 3.938 kB / 1.212 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.42e-05/0.4574, allocations: 43.98 kB / 1.212 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.4574, allocations: 20 kB / 1.212 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.4591, allocations: 1.12 MB / 1.214 GB, free: 2.258 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.003771/0.4629, allocations: 2.767 MB / 1.216 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.4643, allocations: 0.8082 MB / 1.217 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005171/0.4648, allocations: 314.7 kB / 1.217 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.095e-05/0.4649, allocations: 28.61 kB / 1.217 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008994/0.4658, allocations: 0.4932 MB / 1.218 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.886e-06/0.4658, allocations: 0 / 1.218 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003071/0.4689, allocations: 1.209 MB / 1.219 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.31e-05/0.469, allocations: 192.6 kB / 1.219 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007305/0.4698, allocations: 0.6371 MB / 1.22 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.283e-05/0.4698, allocations: 45.7 kB / 1.22 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/0.4701, allocations: 412.3 kB / 1.22 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.4703, allocations: 268.1 kB / 1.221 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.4706, allocations: 150.5 kB / 1.221 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.4707, allocations: 390.7 kB / 1.221 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004723/0.4712, allocations: 245.9 kB / 1.221 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005816/0.4718, allocations: 362.5 kB / 1.222 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.4729, allocations: 0.5916 MB / 1.222 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4729, allocations: 64 / 1.222 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001801/0.4747, allocations: 0.8175 MB / 1.223 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.4748, allocations: 8 kB / 1.223 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4748, allocations: 0 / 1.223 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006366/0.4754, allocations: 84.86 kB / 1.223 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006201/0.4761, allocations: 159.8 kB / 1.223 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.478, allocations: 1.528 MB / 1.225 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007017/0.4788, allocations: 88.94 kB / 1.225 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.824e-05/0.4788, allocations: 35.92 kB / 1.225 GB, free: 6.227 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.0003729/0.4792, allocations: 274.4 kB / 1.225 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.4794, allocations: 86.97 kB / 1.225 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002262/0.4816, allocations: 1.07 MB / 1.226 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.4817, allocations: 11.94 kB / 1.226 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.4817, allocations: 0 / 1.226 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.4817, allocations: 3.984 kB / 1.226 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009771/0.4827, allocations: 0.9075 MB / 1.227 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4827, allocations: 3.984 kB / 1.227 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005937/0.4833, allocations: 159.8 kB / 1.227 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005004/0.4838, allocations: 80.78 kB / 1.227 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/0.4838, allocations: 23.98 kB / 1.227 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/0.4856, allocations: 1.548 MB / 1.229 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4856, allocations: 0 / 1.229 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002601/0.4883, allocations: 1.336 MB / 1.23 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003571/0.4886, allocations: 275.7 kB / 1.23 GB, free: 216 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.4888, allocations: 16 kB / 1.23 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006231/0.4894, allocations: 75.98 kB / 1.231 GB, free: 124 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.4896, allocations: 68.89 kB / 1.231 GB, free: 56 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.864e-05/0.4896, allocations: 31.98 kB / 1.231 GB, free: 24 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005988/0.4902, allocations: 467.1 kB / 1.231 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4902, allocations: 0 / 1.231 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008076/0.4911, allocations: 331.2 kB / 1.231 GB, free: 15.24 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.004151/0.4952, allocations: 2.388 MB / 1.234 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001569/0.4968, allocations: 0.8 MB / 1.235 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4968, allocations: 0 / 1.235 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009005/0.4977, allocations: 0.5277 MB / 1.235 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.4988, allocations: 284.4 kB / 1.235 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.5101, allocations: 6.986 MB / 1.242 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005659/0.5107, allocations: 1.031 MB / 1.243 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008266/0.5116, allocations: 262.8 kB / 1.243 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005335/0.5121, allocations: 395.3 kB / 1.244 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/0.5121, allocations: 0 / 1.244 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5373/1.049, allocations: 20.89 MB / 1.264 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/1.05, allocations: 291 kB / 1.264 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/3.506, allocations: 0 / 1.264 GB, free: 188.5 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)