Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_11_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.001275/0.001275, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.635/2.635, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 65.5 kB / 0.9086 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2535, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007252/0.2608, allocations: 5.12 MB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1688/0.4296, allocations: 150.6 MB / 1.216 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007492/0.4304, allocations: 19.88 kB / 1.216 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007115/0.4312, allocations: 194.2 kB / 1.216 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.4331, allocations: 0.5592 MB / 1.217 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.4351, allocations: 0.8345 MB / 1.218 GB, free: 224 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001747/0.4369, allocations: 1.412 MB / 1.219 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000995/0.4379, allocations: 0.5874 MB / 1.22 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000744/0.4387, allocations: 0.4944 MB / 1.22 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007713/0.4394, allocations: 0.5134 MB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000239/0.4397, allocations: 116 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009275/0.4406, allocations: 459.6 kB / 1.221 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003159/0.4409, allocations: 307 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000586/0.4415, allocations: 0.5713 MB / 1.222 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.4434, allocations: 1.624 MB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4434, allocations: 7.938 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.213e-06/0.4434, allocations: 4 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.4434, allocations: 0 / 1.224 GB, free: 10.1 MB / 0.9825 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.002453/0.4459, allocations: 1.45 MB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.4459, allocations: 12.03 kB / 1.225 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001587/0.4461, allocations: 139.6 kB / 1.225 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008798/0.4469, allocations: 191.3 kB / 1.225 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.448, allocations: 0.7545 MB / 1.226 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.839e-05/0.4481, allocations: 66 kB / 1.226 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.4482, allocations: 84 kB / 1.226 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.4497, allocations: 0.9378 MB / 1.227 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.4498, allocations: 15.84 kB / 1.227 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.303e-05/0.4499, allocations: 36 kB / 1.227 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.4499, allocations: 23.94 kB / 1.227 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.4517, allocations: 1.124 MB / 1.228 GB, free: 5.133 MB / 0.9825 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.003965/0.4557, allocations: 2.763 MB / 1.231 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.4572, allocations: 0.8121 MB / 1.232 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005488/0.4577, allocations: 309.7 kB / 1.232 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.856e-05/0.4578, allocations: 36.59 kB / 1.232 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00089/0.4587, allocations: 493.1 kB / 1.233 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.365e-06/0.4587, allocations: 0 / 1.233 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003186/0.4619, allocations: 1.213 MB / 1.234 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.4621, allocations: 188.6 kB / 1.234 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007925/0.4629, allocations: 0.6488 MB / 1.235 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.4629, allocations: 41.7 kB / 1.235 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.4633, allocations: 412.3 kB / 1.235 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.4635, allocations: 264.2 kB / 1.235 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.4637, allocations: 150.5 kB / 1.236 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.4639, allocations: 386.8 kB / 1.236 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/0.4644, allocations: 249.9 kB / 1.236 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/0.4651, allocations: 370.5 kB / 1.236 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.4662, allocations: 0.5838 MB / 1.237 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4662, allocations: 4 kB / 1.237 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001854/0.4681, allocations: 0.8097 MB / 1.238 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.4681, allocations: 7.984 kB / 1.238 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4681, allocations: 0 / 1.238 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005842/0.4687, allocations: 80.88 kB / 1.238 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/0.4693, allocations: 171.6 kB / 1.238 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.4715, allocations: 1.632 MB / 1.24 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006134/0.4721, allocations: 89.27 kB / 1.24 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/0.4722, allocations: 40.03 kB / 1.24 GB, free: 9 MB / 0.9981 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.0003864/0.4726, allocations: 265.6 kB / 1.24 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.4727, allocations: 86.91 kB / 1.24 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/0.4751, allocations: 1.077 MB / 1.241 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.4751, allocations: 8 kB / 1.241 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.4751, allocations: 4 kB / 1.241 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.4751, allocations: 7.969 kB / 1.241 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.4762, allocations: 0.8997 MB / 1.242 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4762, allocations: 0 / 1.242 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006011/0.4768, allocations: 151.8 kB / 1.242 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004295/0.4773, allocations: 80.66 kB / 1.242 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/0.4773, allocations: 23.98 kB / 1.242 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.4793, allocations: 1.674 MB / 1.244 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4793, allocations: 0 / 1.244 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002617/0.4819, allocations: 1.332 MB / 1.245 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003439/0.4823, allocations: 275.7 kB / 1.246 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.4824, allocations: 23.84 kB / 1.246 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005956/0.483, allocations: 67.98 kB / 1.246 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.4832, allocations: 72.89 kB / 1.246 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.336e-05/0.4832, allocations: 31.98 kB / 1.246 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005618/0.4838, allocations: 471 kB / 1.246 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4838, allocations: 0 / 1.246 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007367/0.4845, allocations: 327.2 kB / 1.246 GB, free: 1.898 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.3763/0.8609, allocations: 2.367 MB / 1.249 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002418/0.8633, allocations: 1.008 MB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.8633, allocations: 6.906 kB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008734/0.8642, allocations: 0.5173 MB / 1.25 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.8654, allocations: 312.8 kB / 1.251 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008684/0.8741, allocations: 6.594 MB / 1.257 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.8745, allocations: 1.03 MB / 1.258 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007656/0.8753, allocations: 265.1 kB / 1.258 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/0.8757, allocations: 398.3 kB / 1.259 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.8757, allocations: 0 / 1.259 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.103/6.979, allocations: 21.68 MB / 1.28 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.37/28.35, allocations: 10.94 kB / 1.28 GB, free: 177.6 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)