Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.328/1.328, allocations: 251.9 MB / 266.8 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 180.6 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008717/0.0008718, allocations: 89.62 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003651, allocations: 8.562 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2187, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8933/1.112, allocations: 402.6 MB / 1.293 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/1.112, allocations: 101.1 kB / 1.293 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 11.89/13, allocations: 2.667 GB / 3.961 GB, free: 54.3 MB / 1.01 GB Notification: Performance of FrontEnd: time 4.208e-06/13, allocations: 0 / 3.961 GB, free: 54.3 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0012/13, allocations: 172.3 kB / 3.961 GB, free: 54.28 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02777/13.03, allocations: 7.143 MB / 3.968 GB, free: 51.08 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/13.03, allocations: 10.66 kB / 3.968 GB, free: 51.08 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002924/13.03, allocations: 0.5336 MB / 3.968 GB, free: 51.02 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005156/13.04, allocations: 0.7788 MB / 3.969 GB, free: 50.66 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1374/13.17, allocations: 58.09 MB / 4.026 GB, free: 47.57 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006251/13.17, allocations: 318.7 kB / 4.026 GB, free: 47.55 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002235/13.18, allocations: 433 kB / 4.026 GB, free: 47.55 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01809/13.19, allocations: 4.235 MB / 4.031 GB, free: 46.77 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002862/13.2, allocations: 10.59 kB / 4.031 GB, free: 46.77 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001441/13.2, allocations: 175 kB / 4.031 GB, free: 46.77 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001854/13.2, allocations: 119.1 kB / 4.031 GB, free: 46.77 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009533/13.21, allocations: 2.901 MB / 4.034 GB, free: 46.74 MB / 1.01 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.04119/13.25, allocations: 24.01 MB / 4.057 GB, free: 32.51 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003976/13.25, allocations: 2.952 MB / 4.06 GB, free: 31.32 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003029/13.25, allocations: 3.941 MB / 4.064 GB, free: 26.92 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001074/13.25, allocations: 68.3 kB / 4.064 GB, free: 26.88 MB / 1.01 GB Notification: Performance of pre-optimization done (n=225): time 8.646e-06/13.25, allocations: 0 / 4.064 GB, free: 26.88 MB / 1.01 GB Notification: Performance of matching and sorting (n=225): time 0.01195/13.27, allocations: 4.102 MB / 4.068 GB, free: 26.09 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/13.27, allocations: 79.56 kB / 4.068 GB, free: 26.02 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009759/13.28, allocations: 3.67 MB / 4.072 GB, free: 25.71 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0009304/13.28, allocations: 73.83 kB / 4.072 GB, free: 25.68 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002958/13.28, allocations: 2.775 MB / 4.074 GB, free: 24.81 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.00154/13.28, allocations: 0.7807 MB / 4.075 GB, free: 24.31 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/13.28, allocations: 53.75 kB / 4.075 GB, free: 24.31 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002236/13.28, allocations: 410.3 kB / 4.076 GB, free: 24 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/13.28, allocations: 0.7989 MB / 4.076 GB, free: 23.99 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/13.29, allocations: 1.811 MB / 4.078 GB, free: 22.84 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/13.29, allocations: 1.097 MB / 4.079 GB, free: 22.81 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/13.29, allocations: 3.531 kB / 4.079 GB, free: 22.81 MB / 1.01 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.008289/13.3, allocations: 3.361 MB / 4.082 GB, free: 22.43 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.004122/13.3, allocations: 10.34 MB / 4.093 GB, free: 27.66 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.64e-05/13.3, allocations: 19.69 kB / 4.093 GB, free: 27.66 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/13.3, allocations: 402.3 kB / 4.093 GB, free: 27.62 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/13.31, allocations: 0.5307 MB / 4.094 GB, free: 27.62 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/13.31, allocations: 2.692 MB / 4.096 GB, free: 25.53 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007552/13.32, allocations: 0.5677 MB / 4.097 GB, free: 25.38 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008521/13.32, allocations: 132.8 kB / 4.097 GB, free: 25.38 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/13.32, allocations: 2.625 kB / 4.097 GB, free: 25.38 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006462/13.32, allocations: 2.816 MB / 4.1 GB, free: 25.28 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.877e-05/13.32, allocations: 21.16 kB / 4.1 GB, free: 25.28 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009928/13.32, allocations: 375.5 kB / 4.1 GB, free: 25.25 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002163/13.33, allocations: 0.5235 MB / 4.1 GB, free: 25.25 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/13.34, allocations: 7.809 MB / 4.108 GB, free: 19.6 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007192/13.34, allocations: 0.5187 MB / 4.109 GB, free: 19.49 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007824/13.34, allocations: 127.2 kB / 4.109 GB, free: 19.49 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (299): * Single equations (assignments): 295 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.004165/13.35, allocations: 0.9982 MB / 4.11 GB, free: 19.28 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002247/13.35, allocations: 0.5088 MB / 4.11 GB, free: 19.02 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008231/13.36, allocations: 3.787 MB / 4.114 GB, free: 18.65 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-05/13.36, allocations: 40.48 kB / 4.114 GB, free: 18.65 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/13.36, allocations: 0 / 4.114 GB, free: 18.65 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004355/13.36, allocations: 2.606 MB / 4.116 GB, free: 18.39 MB / 1.026 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 postOpt removeSimpleEquations (simulation): time 0.02317/13.39, allocations: 8.54 MB / 4.125 GB, free: 16.79 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/13.39, allocations: 0 / 4.125 GB, free: 16.79 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/13.39, allocations: 383.7 kB / 4.125 GB, free: 16.77 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007014/13.39, allocations: 306 kB / 4.125 GB, free: 16.71 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002339/13.39, allocations: 68.86 kB / 4.126 GB, free: 16.71 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/13.39, allocations: 2.5 MB / 4.128 GB, free: 14.61 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/13.39, allocations: 3.469 kB / 4.128 GB, free: 14.61 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009427/13.4, allocations: 4.75 MB / 4.133 GB, free: 13.79 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004848/13.41, allocations: 0.9797 MB / 4.134 GB, free: 13.38 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002178/13.41, allocations: 49.69 kB / 4.134 GB, free: 13.38 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006165/13.41, allocations: 437 kB / 4.134 GB, free: 13.35 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007976/13.41, allocations: 156.3 kB / 4.134 GB, free: 13.35 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000465/13.42, allocations: 100.8 kB / 4.134 GB, free: 13.35 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.009885/13.43, allocations: 2.803 MB / 4.137 GB, free: 13.17 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.104e-06/13.43, allocations: 192 / 4.137 GB, free: 13.17 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0215/13.45, allocations: 3.586 MB / 4.141 GB, free: 12.64 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * 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 (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01728/13.46, allocations: 8.622 MB / 4.149 GB, free: 9.734 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.009248/13.47, allocations: 4.44 MB / 4.153 GB, free: 8.992 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/13.47, allocations: 0 / 4.153 GB, free: 8.992 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.002561/13.48, allocations: 1.327 MB / 4.155 GB, free: 8.922 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01589/13.49, allocations: 2.738 MB / 4.157 GB, free: 8.742 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0904/13.58, allocations: 50.64 MB / 4.207 GB, free: 5.98 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003682/13.59, allocations: 2.989 MB / 4.21 GB, free: 5.113 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.007553/13.59, allocations: 1.193 MB / 4.211 GB, free: 4.844 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005517/13.6, allocations: 2.536 MB / 4.213 GB, free: 4.832 MB / 1.057 GB Notification: Performance of SimCode: time 1.322e-06/13.6, allocations: 3.906 kB / 4.213 GB, free: 4.832 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.273/14.87, allocations: 172.7 MB / 4.382 GB, free: 102.8 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/14.87, allocations: 254.8 kB / 4.382 GB, free: 102.4 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.401/23.27, allocations: 0 / 4.382 GB, free: 102.4 MB / 1.073 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)