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.006646/0.006646, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.00191/0.00191, allocations: 199 kB / 16.68 MB, free: 5.969 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.631/2.631, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 67.89 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2578, allocations: 159.1 MB / 1.22 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006383/0.2642, allocations: 5.126 MB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6224/0.8866, allocations: 150.6 MB / 1.372 GB, free: 10.93 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006059/0.8873, allocations: 16.75 kB / 1.372 GB, free: 10.92 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005018/0.8878, allocations: 193.7 kB / 1.372 GB, free: 10.8 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.8891, allocations: 0.5667 MB / 1.373 GB, free: 10.47 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.8907, allocations: 0.8362 MB / 1.374 GB, free: 10.04 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.8919, allocations: 1.428 MB / 1.375 GB, free: 9.297 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000731/0.8927, allocations: 0.5943 MB / 1.376 GB, free: 8.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004961/0.8932, allocations: 493 kB / 1.376 GB, free: 8.742 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005329/0.8937, allocations: 0.5188 MB / 1.377 GB, free: 8.469 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.8939, allocations: 126.6 kB / 1.377 GB, free: 8.461 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007257/0.8946, allocations: 483.1 kB / 1.377 GB, free: 8.348 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.8949, allocations: 297.2 kB / 1.378 GB, free: 8.16 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004929/0.8954, allocations: 0.5815 MB / 1.378 GB, free: 7.773 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.897, allocations: 1.669 MB / 1.38 GB, free: 6.887 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.897, allocations: 0 / 1.38 GB, free: 6.887 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.042e-06/0.897, allocations: 0 / 1.38 GB, free: 6.887 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.897, allocations: 0 / 1.38 GB, free: 6.887 MB / 1.076 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.002324/0.8993, allocations: 1.505 MB / 1.381 GB, free: 5.699 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.8994, allocations: 11.78 kB / 1.381 GB, free: 5.699 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001535/0.8995, allocations: 137 kB / 1.381 GB, free: 5.586 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008318/0.9004, allocations: 198.8 kB / 1.382 GB, free: 5.488 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.9015, allocations: 0.7854 MB / 1.382 GB, free: 4.844 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.27e-05/0.9015, allocations: 66.44 kB / 1.382 GB, free: 4.812 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.9016, allocations: 84.12 kB / 1.383 GB, free: 4.785 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.9031, allocations: 0.9381 MB / 1.383 GB, free: 4.184 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.9031, allocations: 3.938 kB / 1.383 GB, free: 4.18 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.79e-05/0.9032, allocations: 36.94 kB / 1.384 GB, free: 4.152 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.9032, allocations: 21.22 kB / 1.384 GB, free: 4.152 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.9049, allocations: 1.122 MB / 1.385 GB, free: 3.613 MB / 1.076 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.003712/0.9087, allocations: 2.743 MB / 1.387 GB, free: 1.418 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.9101, allocations: 0.8095 MB / 1.388 GB, free: 1.012 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005349/0.9106, allocations: 316.1 kB / 1.388 GB, free: 0.8477 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.954e-05/0.9107, allocations: 27.77 kB / 1.388 GB, free: 0.8359 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008067/0.9115, allocations: 0.4939 MB / 1.389 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 5.02e-06/0.9115, allocations: 7.75 kB / 1.389 GB, free: 0.5117 MB / 1.076 GB Notification: Performance of matching and sorting (n=82): time 0.002987/0.9145, allocations: 1.212 MB / 1.39 GB, free: 15.85 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.9146, allocations: 197.8 kB / 1.39 GB, free: 15.62 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007215/0.9153, allocations: 0.6363 MB / 1.391 GB, free: 15.26 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.032e-05/0.9154, allocations: 42.98 kB / 1.391 GB, free: 15.21 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.9157, allocations: 414.1 kB / 1.391 GB, free: 14.85 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.916, allocations: 287.4 kB / 1.392 GB, free: 14.61 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.9162, allocations: 144.7 kB / 1.392 GB, free: 14.52 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.9164, allocations: 392.9 kB / 1.392 GB, free: 14.14 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/0.9168, allocations: 247.1 kB / 1.392 GB, free: 14.03 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005767/0.9174, allocations: 361.5 kB / 1.393 GB, free: 13.8 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.9185, allocations: 0.5913 MB / 1.393 GB, free: 13.48 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.9185, allocations: 1.031 kB / 1.393 GB, free: 13.48 MB / 1.092 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001735/0.9202, allocations: 0.8169 MB / 1.394 GB, free: 13.05 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.9202, allocations: 10.03 kB / 1.394 GB, free: 13.05 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.9202, allocations: 0 / 1.394 GB, free: 13.05 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005407/0.9208, allocations: 85.3 kB / 1.394 GB, free: 13.01 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/0.9214, allocations: 159.1 kB / 1.394 GB, free: 12.97 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.9234, allocations: 1.624 MB / 1.396 GB, free: 11.38 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005689/0.9239, allocations: 93.09 kB / 1.396 GB, free: 11.31 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.034e-05/0.924, allocations: 40.31 kB / 1.396 GB, free: 11.29 MB / 1.092 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.0003354/0.9243, allocations: 267.2 kB / 1.396 GB, free: 11.08 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.9245, allocations: 84.14 kB / 1.396 GB, free: 11.04 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.9267, allocations: 1.079 MB / 1.397 GB, free: 10.43 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.9267, allocations: 9.625 kB / 1.397 GB, free: 10.43 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.9267, allocations: 9.375 kB / 1.397 GB, free: 10.43 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.9268, allocations: 3.984 kB / 1.397 GB, free: 10.42 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009734/0.9277, allocations: 0.905 MB / 1.398 GB, free: 9.738 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.9277, allocations: 0 / 1.398 GB, free: 9.738 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.9283, allocations: 153.7 kB / 1.398 GB, free: 9.703 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004058/0.9287, allocations: 72.88 kB / 1.399 GB, free: 9.664 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.439e-05/0.9288, allocations: 29.23 kB / 1.399 GB, free: 9.645 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.9306, allocations: 1.664 MB / 1.4 GB, free: 8.02 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.9306, allocations: 2.875 kB / 1.4 GB, free: 8.02 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.9331, allocations: 1.339 MB / 1.402 GB, free: 7.301 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/0.9334, allocations: 277.2 kB / 1.402 GB, free: 7.059 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.9335, allocations: 26.28 kB / 1.402 GB, free: 7.039 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00057/0.9341, allocations: 70.52 kB / 1.402 GB, free: 7.004 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.9342, allocations: 72.48 kB / 1.402 GB, free: 6.965 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/0.9343, allocations: 31.36 kB / 1.402 GB, free: 6.957 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004838/0.9348, allocations: 465.8 kB / 1.402 GB, free: 6.691 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.9348, allocations: 0 / 1.402 GB, free: 6.691 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006503/0.9354, allocations: 328.9 kB / 1.403 GB, free: 6.598 MB / 1.092 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.004185/0.9396, allocations: 2.402 MB / 1.405 GB, free: 5.145 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001404/0.941, allocations: 0.8089 MB / 1.406 GB, free: 4.723 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9411, allocations: 0 / 1.406 GB, free: 4.723 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008402/0.9419, allocations: 0.5081 MB / 1.406 GB, free: 4.434 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.943, allocations: 315.1 kB / 1.407 GB, free: 4.277 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008995/0.952, allocations: 6.395 MB / 1.413 GB, free: 15.45 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006171/0.9526, allocations: 1.027 MB / 1.414 GB, free: 14.39 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000662/0.9533, allocations: 270.7 kB / 1.414 GB, free: 14.12 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005316/0.9538, allocations: 399.3 kB / 1.415 GB, free: 13.73 MB / 1.107 GB Notification: Performance of SimCode: time 2.51e-07/0.9538, allocations: 0 / 1.415 GB, free: 13.73 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.794/3.748, allocations: 21.91 MB / 1.436 GB, free: 8.109 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.3/34.04, allocations: 4 kB / 1.436 GB, free: 8.105 MB / 1.123 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)