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.558/1.558, allocations: 249.3 MB / 261.9 MB, free: 6.008 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.001466/0.001466, allocations: 172.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.00103/0.00103, allocations: 86.47 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.612e-05/3.65e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2114, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.656/1.868, allocations: 402.5 MB / 1.285 GB, free: 261.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/1.868, allocations: 93.64 kB / 1.285 GB, free: 261.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.83/12.7, allocations: 2.659 GB / 3.944 GB, free: 47.91 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.204e-06/12.7, allocations: 0 / 3.944 GB, free: 47.91 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001133/12.7, allocations: 171.7 kB / 3.944 GB, free: 47.88 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.02167/12.72, allocations: 5.909 MB / 3.95 GB, free: 44.83 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/12.72, allocations: 11.41 kB / 3.95 GB, free: 44.83 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002223/12.73, allocations: 0.5374 MB / 3.95 GB, free: 44.77 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004583/12.73, allocations: 0.7753 MB / 3.951 GB, free: 44.39 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1232/12.85, allocations: 57.79 MB / 4.007 GB, free: 40.2 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00032/12.86, allocations: 321.7 kB / 4.008 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001135/12.86, allocations: 424 kB / 4.008 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008075/12.86, allocations: 4.155 MB / 4.012 GB, free: 39.34 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.995e-05/12.86, allocations: 15.09 kB / 4.012 GB, free: 39.34 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000474/12.87, allocations: 176.9 kB / 4.012 GB, free: 39.33 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/12.87, allocations: 116.3 kB / 4.012 GB, free: 39.33 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005277/12.87, allocations: 2.787 MB / 4.015 GB, free: 39.23 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.03004/12.9, allocations: 24.01 MB / 4.038 GB, free: 21.77 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002934/12.9, allocations: 2.907 MB / 4.041 GB, free: 19.73 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/12.9, allocations: 1.046 MB / 4.042 GB, free: 19.3 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002679/12.91, allocations: 3.941 MB / 4.046 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.793e-05/12.91, allocations: 64.25 kB / 4.046 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=225): time 6.462e-06/12.91, allocations: 0 / 4.046 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of matching and sorting (n=225): time 0.005835/12.91, allocations: 2.557 MB / 4.049 GB, free: 13.67 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/12.91, allocations: 74.78 kB / 4.049 GB, free: 13.61 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006743/12.92, allocations: 3.595 MB / 4.052 GB, free: 12.29 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000667/12.92, allocations: 72.2 kB / 4.052 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001956/12.92, allocations: 2.771 MB / 4.055 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00107/12.92, allocations: 0.7877 MB / 4.056 GB, free: 9.41 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/12.92, allocations: 54.62 kB / 4.056 GB, free: 9.367 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001427/12.92, allocations: 410.8 kB / 4.056 GB, free: 9.016 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/12.93, allocations: 0.7688 MB / 4.057 GB, free: 8.715 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/12.93, allocations: 1.762 MB / 4.059 GB, free: 7.152 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/12.93, allocations: 1.077 MB / 4.06 GB, free: 6.691 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/12.93, allocations: 7.625 kB / 4.06 GB, free: 6.691 MB / 0.9948 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.006485/12.94, allocations: 3.276 MB / 4.063 GB, free: 4.582 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003584/12.94, allocations: 10.34 MB / 4.073 GB, free: 9.531 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-05/12.94, allocations: 24 kB / 4.073 GB, free: 9.508 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/12.94, allocations: 406.7 kB / 4.074 GB, free: 9.141 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002228/12.94, allocations: 0.5253 MB / 4.074 GB, free: 8.684 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002473/12.94, allocations: 2.679 MB / 4.077 GB, free: 5.961 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006921/12.95, allocations: 0.5645 MB / 4.077 GB, free: 5.496 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000692/12.95, allocations: 135.4 kB / 4.077 GB, free: 5.375 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/12.95, allocations: 6.828 kB / 4.077 GB, free: 5.371 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006547/12.96, allocations: 2.732 MB / 4.08 GB, free: 2.91 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.969e-05/12.96, allocations: 24.94 kB / 4.08 GB, free: 2.887 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/12.96, allocations: 375.1 kB / 4.08 GB, free: 2.574 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002159/12.96, allocations: 0.5207 MB / 4.081 GB, free: 2.117 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/12.97, allocations: 7.7 MB / 4.088 GB, free: 10.21 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00734/12.98, allocations: 0.5163 MB / 4.089 GB, free: 9.793 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009084/12.98, allocations: 130.8 kB / 4.089 GB, free: 9.676 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 () * 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.001584/12.98, allocations: 276.6 kB / 4.089 GB, free: 9.395 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002688/12.99, allocations: 0.5017 MB / 4.09 GB, free: 8.887 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/13, allocations: 3.738 MB / 4.093 GB, free: 5.625 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.829e-05/13, allocations: 35.52 kB / 4.094 GB, free: 5.594 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/13, allocations: 0 / 4.094 GB, free: 5.594 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005995/13, allocations: 2.532 MB / 4.096 GB, free: 3.254 MB / 1.026 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.02534/13.03, allocations: 8.474 MB / 4.104 GB, free: 12.09 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/13.03, allocations: 0 / 4.104 GB, free: 12.09 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/13.03, allocations: 388.3 kB / 4.105 GB, free: 11.76 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008005/13.03, allocations: 308.5 kB / 4.105 GB, free: 11.48 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000193/13.03, allocations: 67.16 kB / 4.105 GB, free: 11.43 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/13.03, allocations: 2.483 MB / 4.107 GB, free: 8.879 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/13.03, allocations: 9.031 kB / 4.107 GB, free: 8.871 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008933/13.04, allocations: 4.645 MB / 4.112 GB, free: 4.441 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004571/13.05, allocations: 0.9723 MB / 4.113 GB, free: 3.605 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001891/13.05, allocations: 48 kB / 4.113 GB, free: 3.559 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005328/13.05, allocations: 438.7 kB / 4.113 GB, free: 3.164 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000326/13.05, allocations: 161.8 kB / 4.114 GB, free: 3.004 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003206/13.05, allocations: 103.7 kB / 4.114 GB, free: 2.906 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.006153/13.06, allocations: 2.729 MB / 4.116 GB, free: 208 kB / 1.042 GB Notification: Performance of sort global known variables: time 7.41e-07/13.06, allocations: 0 / 4.116 GB, free: 208 kB / 1.042 GB Notification: Performance of remove unused functions: time 1.216/14.28, allocations: 3.583 MB / 4.12 GB, free: 94.02 MB / 1.042 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.02045/14.3, allocations: 8.486 MB / 4.128 GB, free: 91.84 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.01158/14.31, allocations: 4.498 MB / 4.132 GB, free: 91.27 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.383e-05/14.31, allocations: 5.406 kB / 4.132 GB, free: 91.27 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.002696/14.31, allocations: 1.294 MB / 4.134 GB, free: 91.25 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01857/14.33, allocations: 2.736 MB / 4.136 GB, free: 91.21 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03652/14.37, allocations: 8.551 MB / 4.145 GB, free: 89.19 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005294/14.37, allocations: 2.997 MB / 4.148 GB, free: 88.39 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.01139/14.38, allocations: 1.497 MB / 4.149 GB, free: 88.34 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004507/14.39, allocations: 2.442 MB / 4.152 GB, free: 88.34 MB / 1.042 GB Notification: Performance of SimCode: time 1.533e-06/14.39, allocations: 0 / 4.152 GB, free: 88.34 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3435/14.73, allocations: 183.3 MB / 4.331 GB, free: 76.84 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/14.73, allocations: 225.8 kB / 4.331 GB, free: 76.57 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/24.82, allocations: 0 / 4.331 GB, free: 76.57 MB / 1.042 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)