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.446/1.446, allocations: 249.5 MB / 257 MB, free: 6.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 180.8 kB / 316.3 MB, free: 3.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.811/1.811, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0009154/0.0009154, allocations: 97.75 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.394e-05/2.396e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2757, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.7/1.976, allocations: 402.8 MB / 1.279 GB, free: 327 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/1.976, allocations: 92.08 kB / 1.279 GB, free: 327 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 9.675/11.65, allocations: 2.647 GB / 3.926 GB, free: 52.16 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.176e-06/11.65, allocations: 0 / 3.926 GB, free: 52.16 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001052/11.65, allocations: 170.5 kB / 3.926 GB, free: 52.13 MB / 0.9948 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.02266/11.68, allocations: 5.908 MB / 3.931 GB, free: 49.15 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 7.065e-05/11.68, allocations: 10.06 kB / 3.931 GB, free: 49.15 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005101/11.68, allocations: 0.7793 MB / 3.932 GB, free: 48.78 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1188/11.8, allocations: 57.65 MB / 3.989 GB, free: 44.76 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/11.8, allocations: 131.4 kB / 3.989 GB, free: 44.76 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008007/11.8, allocations: 247.6 kB / 3.989 GB, free: 44.76 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005595/11.81, allocations: 2.522 MB / 3.991 GB, free: 44.73 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006106/11.81, allocations: 3.576 MB / 3.995 GB, free: 43.92 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.832e-05/11.81, allocations: 18.62 kB / 3.995 GB, free: 43.91 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003262/11.81, allocations: 10.38 kB / 3.995 GB, free: 43.91 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/11.81, allocations: 116.9 kB / 3.995 GB, free: 43.91 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or 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.02871/11.84, allocations: 23.33 MB / 4.018 GB, free: 29.44 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002733/11.84, allocations: 2.845 MB / 4.021 GB, free: 28.26 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/11.85, allocations: 0.9915 MB / 4.022 GB, free: 28.25 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002742/11.85, allocations: 3.94 MB / 4.025 GB, free: 23.83 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.387e-05/11.85, allocations: 58.12 kB / 4.025 GB, free: 23.79 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=225): time 5.44e-06/11.85, allocations: 3.688 kB / 4.025 GB, free: 23.79 MB / 0.9948 GB Notification: Performance of matching and sorting (n=225): time 0.008992/11.86, allocations: 2.881 MB / 4.028 GB, free: 23.32 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/11.86, allocations: 74.44 kB / 4.028 GB, free: 23.26 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006874/11.86, allocations: 3.281 MB / 4.032 GB, free: 22.95 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006396/11.86, allocations: 32.55 kB / 4.032 GB, free: 22.92 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002122/11.87, allocations: 2.783 MB / 4.034 GB, free: 20.76 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001088/11.87, allocations: 0.7468 MB / 4.035 GB, free: 20.16 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/11.87, allocations: 0 / 4.035 GB, free: 20.16 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001465/11.87, allocations: 414.7 kB / 4.035 GB, free: 19.81 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/11.87, allocations: 0.7374 MB / 4.036 GB, free: 19.5 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/11.87, allocations: 1.693 MB / 4.038 GB, free: 17.94 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003631/11.87, allocations: 1.371 MB / 4.039 GB, free: 17.43 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/11.87, allocations: 7.312 kB / 4.039 GB, free: 17.43 MB / 0.9948 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009538/11.88, allocations: 3.476 MB / 4.043 GB, free: 16.13 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002712/11.89, allocations: 10.3 MB / 4.053 GB, free: 5.129 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-05/11.89, allocations: 21.31 kB / 4.053 GB, free: 5.129 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008403/11.89, allocations: 338.4 kB / 4.053 GB, free: 5.016 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/11.89, allocations: 0.5282 MB / 4.053 GB, free: 4.957 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/11.89, allocations: 2.759 MB / 4.056 GB, free: 2.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006719/11.9, allocations: 0.4923 MB / 4.057 GB, free: 2.41 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005612/11.9, allocations: 133.3 kB / 4.057 GB, free: 2.387 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/11.9, allocations: 4.469 kB / 4.057 GB, free: 2.387 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007127/11.91, allocations: 2.748 MB / 4.059 GB, free: 1.457 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.699e-05/11.91, allocations: 25.19 kB / 4.059 GB, free: 1.453 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008793/11.91, allocations: 357.3 kB / 4.06 GB, free: 1.352 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/11.91, allocations: 0.5249 MB / 4.06 GB, free: 1.293 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008372/11.92, allocations: 7.403 MB / 4.068 GB, free: 10.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006942/11.92, allocations: 472.9 kB / 4.068 GB, free: 10.75 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009308/11.93, allocations: 122 kB / 4.068 GB, free: 10.73 MB / 1.01 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 () * 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.001235/11.93, allocations: 186 kB / 4.068 GB, free: 10.56 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009367/11.94, allocations: 2.749 MB / 4.071 GB, free: 9.484 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002021/11.94, allocations: 0.5008 MB / 4.071 GB, free: 9.219 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009048/11.95, allocations: 3.75 MB / 4.075 GB, free: 7.398 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.719e-05/11.95, allocations: 38.56 kB / 4.075 GB, free: 7.367 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/11.95, allocations: 1.531 kB / 4.075 GB, free: 7.367 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005799/11.95, allocations: 2.633 MB / 4.078 GB, free: 5.031 MB / 1.01 GB Warning: The model contains alias variables with conflicting start and/or 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.02379/11.98, allocations: 8.137 MB / 4.086 GB, free: 14.59 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/11.98, allocations: 0 / 4.086 GB, free: 14.59 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001669/11.98, allocations: 385 kB / 4.086 GB, free: 14.27 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000504/11.98, allocations: 225 kB / 4.086 GB, free: 14.06 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002942/11.98, allocations: 34.45 kB / 4.086 GB, free: 14.04 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/11.98, allocations: 2.509 MB / 4.089 GB, free: 11.48 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/11.98, allocations: 3.75 kB / 4.089 GB, free: 11.48 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/11.99, allocations: 4.705 MB / 4.093 GB, free: 7.105 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004605/12, allocations: 0.9729 MB / 4.094 GB, free: 6.27 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002266/12, allocations: 8 kB / 4.094 GB, free: 6.262 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00597/12.01, allocations: 400.4 kB / 4.095 GB, free: 5.984 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003783/12.01, allocations: 152.2 kB / 4.095 GB, free: 5.891 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000439/12.01, allocations: 105.9 kB / 4.095 GB, free: 5.805 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.007642/12.01, allocations: 2.425 MB / 4.097 GB, free: 3.637 MB / 1.026 GB Notification: Performance of sort global known variables: time 4.31e-07/12.01, allocations: 4 kB / 4.097 GB, free: 3.633 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.01988/12.03, allocations: 3.446 MB / 4.101 GB, free: 240 kB / 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 () * 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.9769/13.01, allocations: 8.539 MB / 4.109 GB, free: 81.33 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.008407/13.02, allocations: 4.242 MB / 4.113 GB, free: 80.8 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/13.02, allocations: 3.312 kB / 4.113 GB, free: 80.8 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.00229/13.02, allocations: 1.236 MB / 4.114 GB, free: 80.79 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01597/13.04, allocations: 2.638 MB / 4.117 GB, free: 80.77 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02605/13.06, allocations: 8.313 MB / 4.125 GB, free: 78.75 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003732/13.07, allocations: 2.998 MB / 4.128 GB, free: 77.95 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.008313/13.08, allocations: 1.481 MB / 4.129 GB, free: 77.91 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003432/13.08, allocations: 2.435 MB / 4.132 GB, free: 77.91 MB / 1.026 GB Notification: Performance of SimCode: time 1.233e-06/13.08, allocations: 0 / 4.132 GB, free: 77.91 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2821/13.36, allocations: 160.6 MB / 4.289 GB, free: 67.25 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/13.36, allocations: 171.2 kB / 4.289 GB, free: 67.06 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.747/22.11, allocations: 0 / 4.289 GB, free: 67.06 MB / 1.026 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)