Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.SimpleHouse0,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",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.003808/0.003808, allocations: 96.95 kB / 15.73 MB, free: 6.484 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.001102/0.001102, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.653/2.653, allocations: 469.8 MB / 0.7425 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 64.11 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2725, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006415/0.279, allocations: 4.923 MB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6605/0.9395, allocations: 150.6 MB / 1.372 GB, free: 11.27 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000619/0.9402, allocations: 19.53 kB / 1.372 GB, free: 11.27 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005213/0.9407, allocations: 191.4 kB / 1.372 GB, free: 11.14 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.9421, allocations: 0.5468 MB / 1.373 GB, free: 10.82 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.9438, allocations: 0.8202 MB / 1.374 GB, free: 10.41 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001293/0.9451, allocations: 1.384 MB / 1.375 GB, free: 9.688 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007808/0.9459, allocations: 0.5762 MB / 1.375 GB, free: 9.379 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005444/0.9464, allocations: 483.4 kB / 1.376 GB, free: 9.141 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005513/0.947, allocations: 0.4928 MB / 1.376 GB, free: 8.879 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.9471, allocations: 115 kB / 1.376 GB, free: 8.879 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007801/0.9479, allocations: 481.6 kB / 1.377 GB, free: 8.766 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.9482, allocations: 292.8 kB / 1.377 GB, free: 8.582 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000518/0.9487, allocations: 0.5506 MB / 1.378 GB, free: 8.215 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.9504, allocations: 1.637 MB / 1.379 GB, free: 7.336 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.9504, allocations: 0 / 1.379 GB, free: 7.336 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9504, allocations: 1.406 kB / 1.379 GB, free: 7.336 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.9504, allocations: 4 kB / 1.379 GB, free: 7.332 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002441/0.9529, allocations: 1.458 MB / 1.381 GB, free: 6.172 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.9529, allocations: 9.531 kB / 1.381 GB, free: 6.172 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001613/0.9531, allocations: 135.3 kB / 1.381 GB, free: 6.059 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009224/0.954, allocations: 192.3 kB / 1.381 GB, free: 5.965 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.9552, allocations: 0.7666 MB / 1.382 GB, free: 5.336 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.873e-05/0.9553, allocations: 67.78 kB / 1.382 GB, free: 5.301 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.9554, allocations: 80.67 kB / 1.382 GB, free: 5.273 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.957, allocations: 0.9135 MB / 1.383 GB, free: 4.684 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.957, allocations: 0 / 1.383 GB, free: 4.684 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.894e-05/0.9571, allocations: 37.22 kB / 1.383 GB, free: 4.656 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.9571, allocations: 21.19 kB / 1.383 GB, free: 4.656 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.9589, allocations: 1.093 MB / 1.384 GB, free: 4.133 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.003986/0.9629, allocations: 2.755 MB / 1.387 GB, free: 1.898 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.9644, allocations: 0.7806 MB / 1.387 GB, free: 1.512 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005528/0.965, allocations: 300.5 kB / 1.388 GB, free: 1.359 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.033e-05/0.9651, allocations: 34.8 kB / 1.388 GB, free: 1.34 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008566/0.9659, allocations: 483.8 kB / 1.388 GB, free: 1.031 MB / 1.076 GB Notification: Performance of pre-optimization done (n=78): time 2.385e-06/0.9659, allocations: 3.938 kB / 1.388 GB, free: 1.027 MB / 1.076 GB Notification: Performance of matching and sorting (n=78): time 0.003224/0.9692, allocations: 1.183 MB / 1.389 GB, free: 392 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.9693, allocations: 188.8 kB / 1.39 GB, free: 168 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008237/0.9701, allocations: 0.6324 MB / 1.39 GB, free: 15.8 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.762e-05/0.9702, allocations: 43.36 kB / 1.39 GB, free: 15.75 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.9705, allocations: 405 kB / 1.391 GB, free: 15.4 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.9708, allocations: 265.8 kB / 1.391 GB, free: 15.17 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.971, allocations: 146.2 kB / 1.391 GB, free: 15.08 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002002/0.9712, allocations: 393.4 kB / 1.391 GB, free: 14.7 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005059/0.9717, allocations: 243 kB / 1.392 GB, free: 14.58 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00062/0.9724, allocations: 360.9 kB / 1.392 GB, free: 14.35 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.9735, allocations: 0.5798 MB / 1.393 GB, free: 14.03 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9735, allocations: 1.094 kB / 1.393 GB, free: 14.03 MB / 1.092 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001898/0.9754, allocations: 0.7972 MB / 1.393 GB, free: 13.61 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.9754, allocations: 9.797 kB / 1.393 GB, free: 13.61 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.9754, allocations: 1.125 kB / 1.393 GB, free: 13.61 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/0.9761, allocations: 81.06 kB / 1.393 GB, free: 13.57 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000616/0.9767, allocations: 145.7 kB / 1.394 GB, free: 13.54 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.9789, allocations: 1.632 MB / 1.395 GB, free: 11.93 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006628/0.9796, allocations: 91.81 kB / 1.395 GB, free: 11.87 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.599e-05/0.9796, allocations: 31.17 kB / 1.395 GB, free: 11.86 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0003763/0.98, allocations: 276.2 kB / 1.396 GB, free: 11.64 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.9802, allocations: 87.09 kB / 1.396 GB, free: 11.59 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.9826, allocations: 1.046 MB / 1.397 GB, free: 11.01 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.9826, allocations: 8.969 kB / 1.397 GB, free: 11.01 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.9826, allocations: 1.125 kB / 1.397 GB, free: 11.01 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.9826, allocations: 11.91 kB / 1.397 GB, free: 11 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.9836, allocations: 0.8848 MB / 1.398 GB, free: 10.32 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.9837, allocations: 0 / 1.398 GB, free: 10.32 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000541/0.9842, allocations: 139 kB / 1.398 GB, free: 10.29 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004677/0.9847, allocations: 74.81 kB / 1.398 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.852e-05/0.9847, allocations: 23.73 kB / 1.398 GB, free: 10.24 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.9868, allocations: 1.668 MB / 1.399 GB, free: 8.609 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.9868, allocations: 1.812 kB / 1.399 GB, free: 8.609 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.9888, allocations: 0.9197 MB / 1.4 GB, free: 8.117 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.9891, allocations: 276.1 kB / 1.401 GB, free: 7.875 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.9893, allocations: 17.25 kB / 1.401 GB, free: 7.863 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00062/0.9899, allocations: 67.45 kB / 1.401 GB, free: 7.828 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.99, allocations: 64.75 kB / 1.401 GB, free: 7.793 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/0.9901, allocations: 38.81 kB / 1.401 GB, free: 7.777 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005662/0.9907, allocations: 463.2 kB / 1.401 GB, free: 7.512 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9907, allocations: 0 / 1.401 GB, free: 7.512 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007934/0.9915, allocations: 318.9 kB / 1.401 GB, free: 7.418 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.003891/0.9954, allocations: 1.961 MB / 1.403 GB, free: 6.211 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001532/0.9969, allocations: 0.7955 MB / 1.404 GB, free: 5.785 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.997, allocations: 0 / 1.404 GB, free: 5.785 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008746/0.9978, allocations: 0.5032 MB / 1.405 GB, free: 5.5 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.999, allocations: 304.2 kB / 1.405 GB, free: 5.344 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009398/1.008, allocations: 6.18 MB / 1.411 GB, free: 1.449 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000679/1.009, allocations: 1.019 MB / 1.412 GB, free: 416 kB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007723/1.01, allocations: 262.7 kB / 1.412 GB, free: 148 kB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005897/1.01, allocations: 391.4 kB / 1.413 GB, free: 15.76 MB / 1.107 GB Notification: Performance of SimCode: time 4.41e-07/1.01, allocations: 3.938 kB / 1.413 GB, free: 15.75 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.441/3.452, allocations: 21.46 MB / 1.434 GB, free: 10.58 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.48/36.94, allocations: 4 kB / 1.434 GB, free: 10.57 MB / 1.123 GB (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1)