Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SpaceCooling.System1,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1",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.00114/0.00114, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.00118/0.00118, allocations: 192.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.212/1.212, allocations: 205.1 MB / 222.1 MB, free: 4.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.541/1.541, allocations: 292.3 MB / 0.5486 GB, free: 13.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 67.36 kB / 0.6711 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1788, allocations: 114.6 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.4955/0.6743, allocations: 160.2 MB / 0.9394 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003055/0.6774, allocations: 2.88 MB / 0.9422 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002324/0.6776, allocations: 14.62 kB / 0.9422 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005393/0.6782, allocations: 188.1 kB / 0.9424 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.6795, allocations: 0.7091 MB / 0.9431 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/0.68, allocations: 312.6 kB / 0.9434 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008434/0.6809, allocations: 0.9209 MB / 0.9443 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003077/0.6812, allocations: 255.5 kB / 0.9445 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004045/0.6816, allocations: 338.1 kB / 0.9448 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006831/0.6823, allocations: 304.5 kB / 0.9451 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.577e-05/0.6824, allocations: 31.66 kB / 0.9452 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007678/0.6831, allocations: 0.6853 MB / 0.9458 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.6833, allocations: 127.5 kB / 0.946 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.6835, allocations: 211.3 kB / 0.9462 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008662/0.6843, allocations: 0.7872 MB / 0.9469 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.6843, allocations: 0 / 0.9469 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6843, allocations: 0 / 0.9469 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.6844, allocations: 0 / 0.9469 GB, free: 5.875 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001068/0.6854, allocations: 0.7143 MB / 0.9476 GB, free: 21.36 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.6855, allocations: 10.36 kB / 0.9476 GB, free: 21.36 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.914e-05/0.6855, allocations: 62.28 kB / 0.9477 GB, free: 21.32 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009377/0.6865, allocations: 135.1 kB / 0.9478 GB, free: 21.3 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004611/0.687, allocations: 398.4 kB / 0.9482 GB, free: 21.06 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.687, allocations: 17.09 kB / 0.9482 GB, free: 21.06 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.687, allocations: 23.06 kB / 0.9482 GB, free: 21.06 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/0.6874, allocations: 284.2 kB / 0.9485 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.6875, allocations: 1.203 kB / 0.9485 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.6875, allocations: 10.34 kB / 0.9485 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.6875, allocations: 9.156 kB / 0.9485 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.6878, allocations: 198.9 kB / 0.9487 GB, free: 21 MB / 0.7481 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.001491/0.6893, allocations: 1.309 MB / 0.95 GB, free: 20.16 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.6897, allocations: 198.1 kB / 0.9502 GB, free: 20.13 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.6898, allocations: 88.06 kB / 0.9503 GB, free: 20.12 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.6899, allocations: 2.219 kB / 0.9503 GB, free: 20.12 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.6899, allocations: 37.36 kB / 0.9503 GB, free: 20.09 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.363e-06/0.6899, allocations: 0 / 0.9503 GB, free: 20.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.0008922/0.6908, allocations: 404 kB / 0.9507 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.6908, allocations: 58.3 kB / 0.9508 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.6912, allocations: 296.9 kB / 0.951 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.6912, allocations: 35.25 kB / 0.9511 GB, free: 19.71 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.6913, allocations: 194 kB / 0.9513 GB, free: 19.59 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.384e-05/0.6914, allocations: 75.64 kB / 0.9513 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.33e-05/0.6914, allocations: 41.88 kB / 0.9514 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.6915, allocations: 337.6 kB / 0.9517 GB, free: 19.22 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.6917, allocations: 62.12 kB / 0.9517 GB, free: 19.22 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.6918, allocations: 131.3 kB / 0.9519 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.692, allocations: 193 kB / 0.9521 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.692, allocations: 0.6562 kB / 0.9521 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003423/0.6924, allocations: 250.8 kB / 0.9523 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.6924, allocations: 5.75 kB / 0.9523 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6924, allocations: 3.156 kB / 0.9523 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.6924, allocations: 4.375 kB / 0.9523 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.6926, allocations: 42.64 kB / 0.9523 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.6927, allocations: 5.062 kB / 0.9524 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.693, allocations: 31.08 kB / 0.9524 GB, free: 19.03 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.693, allocations: 10.12 kB / 0.9524 GB, free: 19.03 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.6931, allocations: 157.7 kB / 0.9525 GB, free: 18.91 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-05/0.6932, allocations: 35.09 kB / 0.9526 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.043e-05/0.6933, allocations: 36.36 kB / 0.9526 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.6933, allocations: 4.281 kB / 0.9526 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.6933, allocations: 5.969 kB / 0.9526 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.6933, allocations: 1.031 kB / 0.9526 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.6938, allocations: 400.8 kB / 0.953 GB, free: 18.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.6938, allocations: 0 / 0.953 GB, free: 18.69 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.694, allocations: 36.28 kB / 0.953 GB, free: 18.69 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00019/0.6942, allocations: 45.95 kB / 0.9531 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.6942, allocations: 5.094 kB / 0.9531 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.6953, allocations: 1.513 MB / 0.9546 GB, free: 17.33 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6953, allocations: 5.266 kB / 0.9546 GB, free: 17.33 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005197/0.6958, allocations: 414 kB / 0.955 GB, free: 17.17 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.6959, allocations: 128.8 kB / 0.9551 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.696, allocations: 9.938 kB / 0.9551 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.6962, allocations: 15.25 kB / 0.9551 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.6963, allocations: 16.08 kB / 0.9551 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.6963, allocations: 6.734 kB / 0.9551 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002097/0.6965, allocations: 213.4 kB / 0.9553 GB, free: 16.97 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8.21e-07/0.6965, allocations: 1.219 kB / 0.9553 GB, free: 16.97 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003767/0.6969, allocations: 103.8 kB / 0.9554 GB, free: 16.96 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000842/0.6977, allocations: 0.9663 MB / 0.9564 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003301/0.6981, allocations: 179.4 kB / 0.9566 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6981, allocations: 0.8125 kB / 0.9566 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.6984, allocations: 199.8 kB / 0.9567 GB, free: 16.15 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009367/0.6993, allocations: 202.3 kB / 0.9569 GB, free: 16.12 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.7028, allocations: 3.024 MB / 0.9599 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.7031, allocations: 0.793 MB / 0.9607 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002323/0.7034, allocations: 61.34 kB / 0.9607 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.7035, allocations: 105.3 kB / 0.9608 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.7035, allocations: 1.062 kB / 0.9608 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5366/1.24, allocations: 8.794 MB / 0.9694 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002639/1.24, allocations: 220.3 kB / 0.9696 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/3.083, allocations: 3.938 kB / 0.9696 GB, free: 12.7 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)