Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.693/1.693, allocations: 285.4 MB / 298 MB, free: 5.934 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.001281/0.001281, allocations: 180.8 kB / 366.4 MB, free: 2.082 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.843/1.843, allocations: 205.1 MB / 0.6248 GB, free: 7.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008681/0.0008682, allocations: 93.2 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.727e-05/3.738e-05, allocations: 4 kB / 0.8584 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7052/0.7053, allocations: 115.3 MB / 0.971 GB, free: 77.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.099/1.805, allocations: 410.1 MB / 1.372 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/1.805, allocations: 90.2 kB / 1.372 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 11.19/12.99, allocations: 2.734 GB / 4.106 GB, free: 49.92 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.387e-06/12.99, allocations: 0 / 4.106 GB, free: 49.92 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.00084/12.99, allocations: 167.7 kB / 4.106 GB, free: 49.89 MB / 1.057 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.01845/13.01, allocations: 5.91 MB / 4.112 GB, free: 46.97 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 6.472e-05/13.01, allocations: 9.719 kB / 4.112 GB, free: 46.97 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00193/13.01, allocations: 0.5385 MB / 4.112 GB, free: 46.91 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004316/13.02, allocations: 0.773 MB / 4.113 GB, free: 46.54 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1297/13.15, allocations: 59.53 MB / 4.171 GB, free: 43.07 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003942/13.15, allocations: 317.2 kB / 4.171 GB, free: 43.05 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001386/13.15, allocations: 427.8 kB / 4.172 GB, free: 43.05 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008821/13.16, allocations: 4.187 MB / 4.176 GB, free: 42.22 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.653e-05/13.16, allocations: 15.03 kB / 4.176 GB, free: 42.21 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004679/13.16, allocations: 171.1 kB / 4.176 GB, free: 42.21 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/13.16, allocations: 121.2 kB / 4.176 GB, free: 42.21 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005342/13.16, allocations: 2.786 MB / 4.179 GB, free: 42.11 MB / 1.057 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.03908/13.2, allocations: 24.07 MB / 4.202 GB, free: 27.55 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004663/13.21, allocations: 2.905 MB / 4.205 GB, free: 26.36 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002125/13.21, allocations: 1.046 MB / 4.206 GB, free: 26.34 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003039/13.21, allocations: 3.932 MB / 4.21 GB, free: 21.93 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.106e-05/13.21, allocations: 65.66 kB / 4.21 GB, free: 21.89 MB / 1.057 GB Notification: Performance of pre-optimization done (n=225): time 5.01e-06/13.21, allocations: 0 / 4.21 GB, free: 21.89 MB / 1.057 GB Notification: Performance of matching and sorting (n=225): time 0.007721/13.22, allocations: 2.568 MB / 4.213 GB, free: 21.44 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/13.22, allocations: 75.53 kB / 4.213 GB, free: 21.38 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0123/13.23, allocations: 3.59 MB / 4.216 GB, free: 21.04 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001056/13.23, allocations: 78.33 kB / 4.216 GB, free: 21.01 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.002838/13.24, allocations: 2.771 MB / 4.219 GB, free: 20.14 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001576/13.24, allocations: 0.7879 MB / 4.22 GB, free: 19.64 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/13.24, allocations: 58.5 kB / 4.22 GB, free: 19.63 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001725/13.24, allocations: 407 kB / 4.22 GB, free: 19.32 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/13.24, allocations: 0.7694 MB / 4.221 GB, free: 19.31 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/13.24, allocations: 1.768 MB / 4.223 GB, free: 18.12 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/13.24, allocations: 1.068 MB / 4.224 GB, free: 18.02 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/13.24, allocations: 5.688 kB / 4.224 GB, free: 18.02 MB / 1.057 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007527/13.25, allocations: 3.276 MB / 4.227 GB, free: 17.44 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.005148/13.26, allocations: 10.35 MB / 4.237 GB, free: 22.59 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.739e-05/13.26, allocations: 20.75 kB / 4.237 GB, free: 22.59 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/13.26, allocations: 399.1 kB / 4.237 GB, free: 22.53 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002768/13.26, allocations: 0.5285 MB / 4.238 GB, free: 22.49 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003649/13.26, allocations: 2.679 MB / 4.24 GB, free: 20.37 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009669/13.27, allocations: 0.5686 MB / 4.241 GB, free: 20.19 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001216/13.27, allocations: 131.6 kB / 4.241 GB, free: 20.19 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/13.27, allocations: 6.219 kB / 4.241 GB, free: 20.19 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007706/13.28, allocations: 2.734 MB / 4.244 GB, free: 19.91 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-05/13.28, allocations: 18.34 kB / 4.244 GB, free: 19.91 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/13.28, allocations: 380.9 kB / 4.244 GB, free: 19.87 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/13.29, allocations: 0.5202 MB / 4.245 GB, free: 19.83 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/13.3, allocations: 7.703 MB / 4.252 GB, free: 14.09 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007643/13.3, allocations: 0.5258 MB / 4.253 GB, free: 13.95 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008625/13.3, allocations: 126.6 kB / 4.253 GB, free: 13.95 MB / 1.073 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.001602/13.31, allocations: 283.5 kB / 4.253 GB, free: 13.79 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002631/13.31, allocations: 0.5069 MB / 4.254 GB, free: 13.52 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009659/13.32, allocations: 3.72 MB / 4.257 GB, free: 13.04 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.91e-05/13.32, allocations: 39.83 kB / 4.257 GB, free: 13.04 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/13.32, allocations: 0 / 4.257 GB, free: 13.04 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004216/13.32, allocations: 2.54 MB / 4.26 GB, free: 12.01 MB / 1.073 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.02146/13.34, allocations: 8.513 MB / 4.268 GB, free: 7.867 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/13.34, allocations: 4.094 kB / 4.268 GB, free: 7.863 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/13.35, allocations: 386.7 kB / 4.268 GB, free: 7.832 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007232/13.35, allocations: 298.9 kB / 4.269 GB, free: 7.715 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000212/13.35, allocations: 64.06 kB / 4.269 GB, free: 7.684 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/13.35, allocations: 2.487 MB / 4.271 GB, free: 5.41 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/13.35, allocations: 0 / 4.271 GB, free: 5.41 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00873/13.36, allocations: 4.661 MB / 4.276 GB, free: 3.184 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004764/13.36, allocations: 0.9931 MB / 4.277 GB, free: 2.559 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002174/13.37, allocations: 49.73 kB / 4.277 GB, free: 2.52 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006255/13.37, allocations: 437.2 kB / 4.277 GB, free: 2.418 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003205/13.37, allocations: 158.7 kB / 4.277 GB, free: 2.395 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003997/13.37, allocations: 116.2 kB / 4.277 GB, free: 2.375 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.00749/13.38, allocations: 2.731 MB / 4.28 GB, free: 1.355 MB / 1.073 GB Notification: Performance of sort global known variables: time 5.11e-07/13.38, allocations: 0 / 4.28 GB, free: 1.355 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.02093/13.4, allocations: 3.592 MB / 4.284 GB, free: 464 kB / 1.073 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.02044/13.42, allocations: 8.504 MB / 4.292 GB, free: 11.43 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.01152/13.43, allocations: 4.5 MB / 4.296 GB, free: 7.105 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.612e-05/13.43, allocations: 0 / 4.296 GB, free: 7.105 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.003123/13.44, allocations: 1.294 MB / 4.298 GB, free: 5.895 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02028/13.46, allocations: 2.734 MB / 4.3 GB, free: 3.922 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0437/13.5, allocations: 8.871 MB / 4.309 GB, free: 12.89 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006751/13.51, allocations: 2.996 MB / 4.312 GB, free: 10.71 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.01429/13.52, allocations: 1.517 MB / 4.313 GB, free: 9.629 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00592/13.53, allocations: 2.442 MB / 4.316 GB, free: 7.387 MB / 1.104 GB Notification: Performance of SimCode: time 2.194e-06/13.53, allocations: 0 / 4.316 GB, free: 7.387 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.502/15.03, allocations: 183.9 MB / 4.495 GB, free: 81.25 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/15.03, allocations: 228.8 kB / 4.496 GB, free: 80.99 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.26/24.29, allocations: 0 / 4.496 GB, free: 80.99 MB / 1.104 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)