Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.494/1.494, allocations: 288.4 MB / 303.6 MB, free: 8.066 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009285/0.0009282, allocations: 172.6 kB / 372.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.203/1.203, allocations: 205.4 MB / 0.631 GB, free: 9.863 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007099/0.0007102, allocations: 90.86 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003628, allocations: 15 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.175, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.4989/0.674, allocations: 147.4 MB / 1.124 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003345/0.6774, allocations: 2.703 MB / 1.127 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002967/0.6777, allocations: 12.28 kB / 1.127 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004994/0.6782, allocations: 162.6 kB / 1.127 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.6796, allocations: 0.6721 MB / 1.128 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005539/0.6802, allocations: 240.5 kB / 1.128 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0009806/0.6812, allocations: 1.033 MB / 1.129 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.6815, allocations: 206 kB / 1.129 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003982/0.6819, allocations: 287.3 kB / 1.129 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005214/0.6824, allocations: 260.6 kB / 1.13 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.287e-05/0.6825, allocations: 12.12 kB / 1.13 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.6835, allocations: 0.7336 MB / 1.13 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.6836, allocations: 102.9 kB / 1.13 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.6838, allocations: 205.2 kB / 1.131 GB, free: 17.06 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004896/0.6843, allocations: 0.5432 MB / 1.131 GB, free: 17.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6843, allocations: 2.688 kB / 1.131 GB, free: 17.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6843, allocations: 4 kB / 1.131 GB, free: 17.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.6844, allocations: 0 / 1.131 GB, free: 17.02 MB / 0.698 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.0008181/0.6852, allocations: 0.6398 MB / 1.132 GB, free: 16.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.6852, allocations: 13.12 kB / 1.132 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.609e-05/0.6853, allocations: 58.77 kB / 1.132 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008701/0.6862, allocations: 140 kB / 1.132 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/0.6866, allocations: 401 kB / 1.132 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.6867, allocations: 18.59 kB / 1.132 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.872e-05/0.6867, allocations: 23.38 kB / 1.132 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.6871, allocations: 277.1 kB / 1.133 GB, free: 16.15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.6871, allocations: 1.75 kB / 1.133 GB, free: 16.15 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.6872, allocations: 14.94 kB / 1.133 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.6872, allocations: 9.438 kB / 1.133 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.6875, allocations: 202 kB / 1.133 GB, free: 16.13 MB / 0.698 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.001357/0.6888, allocations: 1.309 MB / 1.134 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.6892, allocations: 194.3 kB / 1.134 GB, free: 15.26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.6893, allocations: 90.81 kB / 1.134 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.6893, allocations: 3.938 kB / 1.134 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.6893, allocations: 34.88 kB / 1.134 GB, free: 15.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.223e-06/0.6893, allocations: 0 / 1.134 GB, free: 15.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0007806/0.6901, allocations: 404.9 kB / 1.135 GB, free: 15.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.6902, allocations: 58.12 kB / 1.135 GB, free: 14.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.6904, allocations: 295.5 kB / 1.135 GB, free: 14.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.6904, allocations: 31.64 kB / 1.135 GB, free: 14.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.6905, allocations: 192.4 kB / 1.135 GB, free: 14.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.284e-05/0.6906, allocations: 69.86 kB / 1.135 GB, free: 14.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/0.6906, allocations: 10 kB / 1.135 GB, free: 14.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.6907, allocations: 339.5 kB / 1.136 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.871e-05/0.6908, allocations: 61.55 kB / 1.136 GB, free: 14.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.6909, allocations: 117.8 kB / 1.136 GB, free: 14.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.6912, allocations: 194.7 kB / 1.136 GB, free: 14.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6912, allocations: 2.844 kB / 1.136 GB, free: 14.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003214/0.6915, allocations: 250.4 kB / 1.136 GB, free: 14.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.6915, allocations: 5.219 kB / 1.136 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.6915, allocations: 5.172 kB / 1.136 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.6916, allocations: 3.281 kB / 1.136 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.6917, allocations: 45.56 kB / 1.136 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.6917, allocations: 2.938 kB / 1.136 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.692, allocations: 27.06 kB / 1.136 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.6921, allocations: 12.94 kB / 1.137 GB, free: 14.14 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.6922, allocations: 164.7 kB / 1.137 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.353e-05/0.6923, allocations: 31.78 kB / 1.137 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.67e-05/0.6923, allocations: 36.67 kB / 1.137 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.6923, allocations: 3.062 kB / 1.137 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6923, allocations: 3.359 kB / 1.137 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.6923, allocations: 0 / 1.137 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.6928, allocations: 400.6 kB / 1.137 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.6928, allocations: 0 / 1.137 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.693, allocations: 46.31 kB / 1.137 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000186/0.6932, allocations: 46.42 kB / 1.137 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.6932, allocations: 8.469 kB / 1.137 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.6942, allocations: 1.399 MB / 1.139 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6942, allocations: 3.938 kB / 1.139 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004882/0.6947, allocations: 411.5 kB / 1.139 GB, free: 12.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.6948, allocations: 130.9 kB / 1.139 GB, free: 12.24 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.6949, allocations: 10.72 kB / 1.139 GB, free: 12.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.6951, allocations: 9.219 kB / 1.139 GB, free: 12.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.6952, allocations: 15.12 kB / 1.139 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.6952, allocations: 9.188 kB / 1.139 GB, free: 12.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001648/0.6954, allocations: 212.9 kB / 1.139 GB, free: 12.15 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6954, allocations: 0 / 1.139 GB, free: 12.15 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000355/0.6957, allocations: 104.7 kB / 1.139 GB, free: 12.14 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008037/0.6965, allocations: 0.9709 MB / 1.14 GB, free: 11.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.6968, allocations: 161.2 kB / 1.141 GB, free: 11.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6968, allocations: 0 / 1.141 GB, free: 11.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.6971, allocations: 205.6 kB / 1.141 GB, free: 11.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008884/0.698, allocations: 184.5 kB / 1.141 GB, free: 11.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.7006, allocations: 1.988 MB / 1.143 GB, free: 10.35 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.7011, allocations: 0.8018 MB / 1.144 GB, free: 9.598 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002526/0.7014, allocations: 58.38 kB / 1.144 GB, free: 9.566 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.7015, allocations: 99.91 kB / 1.144 GB, free: 9.551 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.7015, allocations: 3.938 kB / 1.144 GB, free: 9.547 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7862/1.488, allocations: 8.915 MB / 1.153 GB, free: 5.285 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000296/1.488, allocations: 225.4 kB / 1.153 GB, free: 5.035 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/3.48, allocations: 1.188 kB / 1.153 GB, free: 5.035 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)