Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.SimpleHouse3,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",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.007395/0.007395, allocations: 99.72 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.002161/0.002161, allocations: 193.3 kB / 16.68 MB, free: 6.363 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.229/1.229, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.39/2.39, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 63.89 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2448, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.6052/0.85, allocations: 166.1 MB / 1.382 GB, free: 3.543 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00997/0.86, allocations: 7.815 MB / 1.39 GB, free: 13.41 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005259/0.8605, allocations: 35.06 kB / 1.39 GB, free: 13.39 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0008566/0.8614, allocations: 396 kB / 1.39 GB, free: 13.06 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002418/0.8638, allocations: 1.312 MB / 1.392 GB, free: 12.05 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.8659, allocations: 1.171 MB / 1.393 GB, free: 11.15 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00205/0.8679, allocations: 2.372 MB / 1.395 GB, free: 9.711 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.8691, allocations: 1.18 MB / 1.396 GB, free: 8.926 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008538/0.87, allocations: 0.8101 MB / 1.397 GB, free: 8.438 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.8712, allocations: 0.7945 MB / 1.398 GB, free: 7.902 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001803/0.8714, allocations: 155.2 kB / 1.398 GB, free: 7.898 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.8729, allocations: 1.12 MB / 1.399 GB, free: 7.363 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003464/0.8733, allocations: 423.8 kB / 1.4 GB, free: 7.043 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006533/0.874, allocations: 0.7883 MB / 1.4 GB, free: 6.48 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.8764, allocations: 2.412 MB / 1.403 GB, free: 4.801 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.8764, allocations: 4 kB / 1.403 GB, free: 4.797 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8764, allocations: 0 / 1.403 GB, free: 4.797 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.8764, allocations: 1.125 kB / 1.403 GB, free: 4.797 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.002777/0.8792, allocations: 1.928 MB / 1.405 GB, free: 3.316 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.8792, allocations: 10.22 kB / 1.405 GB, free: 3.316 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001797/0.8794, allocations: 173.7 kB / 1.405 GB, free: 3.176 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.881, allocations: 335.5 kB / 1.405 GB, free: 3.016 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.8823, allocations: 1.032 MB / 1.406 GB, free: 2.199 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.585e-05/0.8824, allocations: 83.92 kB / 1.406 GB, free: 2.16 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.8825, allocations: 111.7 kB / 1.406 GB, free: 2.121 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.8843, allocations: 1.171 MB / 1.407 GB, free: 1.359 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.8843, allocations: 5.219 kB / 1.407 GB, free: 1.355 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.816e-05/0.8844, allocations: 46.84 kB / 1.407 GB, free: 1.32 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.963e-05/0.8844, allocations: 46.53 kB / 1.407 GB, free: 1.309 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.8863, allocations: 1.305 MB / 1.409 GB, free: 0.6797 MB / 1.092 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.004518/0.8908, allocations: 3.823 MB / 1.412 GB, free: 13.54 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.8924, allocations: 0.9935 MB / 1.413 GB, free: 13.04 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005888/0.893, allocations: 398.7 kB / 1.414 GB, free: 12.84 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.128e-05/0.893, allocations: 39.42 kB / 1.414 GB, free: 12.82 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008485/0.8939, allocations: 0.5787 MB / 1.414 GB, free: 12.45 MB / 1.107 GB Notification: Performance of pre-optimization done (n=102): time 1.834e-06/0.8939, allocations: 7.938 kB / 1.414 GB, free: 12.45 MB / 1.107 GB Notification: Performance of matching and sorting (n=102): time 0.003033/0.8969, allocations: 1.451 MB / 1.416 GB, free: 11.68 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.8971, allocations: 191 kB / 1.416 GB, free: 11.46 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008453/0.8979, allocations: 0.8314 MB / 1.417 GB, free: 10.98 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.427e-05/0.898, allocations: 49.55 kB / 1.417 GB, free: 10.93 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003769/0.8984, allocations: 0.5296 MB / 1.417 GB, free: 10.46 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/0.8986, allocations: 360 kB / 1.418 GB, free: 10.14 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.8989, allocations: 178.9 kB / 1.418 GB, free: 10.04 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.899, allocations: 348.2 kB / 1.418 GB, free: 9.699 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005221/0.8995, allocations: 315.4 kB / 1.419 GB, free: 9.547 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006458/0.9002, allocations: 474 kB / 1.419 GB, free: 9.23 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.9014, allocations: 0.7744 MB / 1.42 GB, free: 8.633 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.9014, allocations: 0 / 1.42 GB, free: 8.633 MB / 1.107 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002002/0.9034, allocations: 1.036 MB / 1.421 GB, free: 7.586 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.9034, allocations: 8 kB / 1.421 GB, free: 7.578 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.9034, allocations: 0 / 1.421 GB, free: 7.578 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005286/0.904, allocations: 85.69 kB / 1.421 GB, free: 7.492 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007243/0.9047, allocations: 207.7 kB / 1.421 GB, free: 7.289 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.9066, allocations: 1.644 MB / 1.423 GB, free: 5.5 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007631/0.9074, allocations: 107.4 kB / 1.423 GB, free: 5.395 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/0.9074, allocations: 40.8 kB / 1.423 GB, free: 5.355 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (116): * Single equations (assignments): 115 * 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.0003993/0.9079, allocations: 325.6 kB / 1.423 GB, free: 5.027 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.908, allocations: 119.2 kB / 1.423 GB, free: 4.91 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.9104, allocations: 1.234 MB / 1.424 GB, free: 3.664 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.9105, allocations: 15.94 kB / 1.424 GB, free: 3.648 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.9105, allocations: 0 / 1.424 GB, free: 3.648 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.9105, allocations: 7.969 kB / 1.424 GB, free: 3.641 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.9118, allocations: 1.173 MB / 1.426 GB, free: 2.414 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.9118, allocations: 0 / 1.426 GB, free: 2.414 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007816/0.9126, allocations: 207.8 kB / 1.426 GB, free: 2.211 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003875/0.913, allocations: 80.72 kB / 1.426 GB, free: 2.129 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.403e-05/0.913, allocations: 27.92 kB / 1.426 GB, free: 2.102 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.9148, allocations: 1.658 MB / 1.428 GB, free: 308 kB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9148, allocations: 3.938 kB / 1.428 GB, free: 304 kB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/0.9175, allocations: 1.575 MB / 1.429 GB, free: 14.7 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003885/0.9179, allocations: 335.9 kB / 1.429 GB, free: 14.35 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.9181, allocations: 24 kB / 1.429 GB, free: 14.33 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007061/0.9188, allocations: 70.19 kB / 1.429 GB, free: 14.26 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.919, allocations: 80.88 kB / 1.43 GB, free: 14.18 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.557e-05/0.919, allocations: 43.97 kB / 1.43 GB, free: 14.14 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006673/0.9197, allocations: 0.5821 MB / 1.43 GB, free: 13.55 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9197, allocations: 0 / 1.43 GB, free: 13.55 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007922/0.9205, allocations: 439 kB / 1.431 GB, free: 13.12 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.004615/0.9251, allocations: 2.661 MB / 1.433 GB, free: 10.61 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00165/0.9268, allocations: 0.9721 MB / 1.434 GB, free: 9.625 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.9268, allocations: 0 / 1.434 GB, free: 9.625 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009634/0.9278, allocations: 0.5939 MB / 1.435 GB, free: 9.02 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.9294, allocations: 486.4 kB / 1.435 GB, free: 8.566 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.9408, allocations: 8.264 MB / 1.443 GB, free: 120 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007094/0.9415, allocations: 1.15 MB / 1.444 GB, free: 14.94 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007885/0.9423, allocations: 321.2 kB / 1.445 GB, free: 14.62 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006537/0.943, allocations: 0.5149 MB / 1.445 GB, free: 14.11 MB / 1.139 GB Notification: Performance of SimCode: time 2.1e-07/0.943, allocations: 0 / 1.445 GB, free: 14.11 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.45/10.39, allocations: 29.61 MB / 1.474 GB, free: 0.8672 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.91/28.3, allocations: 7.625 kB / 1.474 GB, free: 0.8633 MB / 1.154 GB (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)