Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",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.543/1.543, allocations: 249.3 MB / 261.8 MB, free: 5.887 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.001412/0.001412, allocations: 180.5 kB / 321.3 MB, free: 14.64 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.799/1.799, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.001047/0.001046, allocations: 94.41 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.759e-05/5.802e-05, allocations: 8 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.244, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.295/7.539, allocations: 2.451 GB / 3.343 GB, free: 262.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/7.54, allocations: 91.95 kB / 3.343 GB, free: 262.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.868/11.41, allocations: 0.9766 GB / 4.32 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.054e-06/11.41, allocations: 0 / 4.32 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001665/11.41, allocations: 48.53 kB / 4.32 GB, free: 120.2 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.005452/11.41, allocations: 1.882 MB / 4.321 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.708e-05/11.41, allocations: 9.469 kB / 4.321 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003059/11.41, allocations: 164.1 kB / 4.322 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/11.42, allocations: 352.6 kB / 4.322 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003557/11.42, allocations: 1.593 MB / 4.323 GB, free: 119 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.482e-05/11.42, allocations: 86.27 kB / 4.324 GB, free: 119 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/11.42, allocations: 120.9 kB / 4.324 GB, free: 119 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/11.42, allocations: 1.137 MB / 4.325 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/11.42, allocations: 0 / 4.325 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/11.42, allocations: 44.91 kB / 4.325 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.457e-05/11.42, allocations: 51.83 kB / 4.325 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/11.42, allocations: 0.848 MB / 4.326 GB, free: 118.8 MB / 0.8855 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.007794/11.43, allocations: 5.52 MB / 4.331 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/11.43, allocations: 0.8322 MB / 4.332 GB, free: 116 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004957/11.43, allocations: 373.2 kB / 4.332 GB, free: 116 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006081/11.43, allocations: 0.6045 MB / 4.333 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/11.43, allocations: 41.81 kB / 4.333 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 3.126e-06/11.43, allocations: 3.094 kB / 4.333 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.001968/11.44, allocations: 0.8149 MB / 4.334 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/11.44, allocations: 61.81 kB / 4.334 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/11.44, allocations: 1.04 MB / 4.335 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/11.44, allocations: 42.58 kB / 4.335 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004757/11.44, allocations: 0.6888 MB / 4.335 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/11.44, allocations: 242.7 kB / 4.336 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/11.44, allocations: 12.06 kB / 4.336 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.786e-05/11.44, allocations: 339.4 kB / 4.336 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/11.44, allocations: 236.7 kB / 4.336 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005578/11.44, allocations: 484.9 kB / 4.337 GB, free: 114 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/11.44, allocations: 321.8 kB / 4.337 GB, free: 114 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/11.44, allocations: 3.5 kB / 4.337 GB, free: 114 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001459/11.44, allocations: 0.9027 MB / 4.338 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002652/11.44, allocations: 0.9101 MB / 4.339 GB, free: 113 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/11.44, allocations: 0 / 4.339 GB, free: 113 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003231/11.44, allocations: 96.8 kB / 4.339 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/11.44, allocations: 164.7 kB / 4.339 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008966/11.44, allocations: 1.761 MB / 4.341 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/11.44, allocations: 161.3 kB / 4.341 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.053e-05/11.45, allocations: 31.72 kB / 4.341 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/11.45, allocations: 3.781 kB / 4.341 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001216/11.45, allocations: 0.7239 MB / 4.342 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/11.45, allocations: 6.594 kB / 4.342 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002409/11.45, allocations: 100.4 kB / 4.342 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000592/11.45, allocations: 148 kB / 4.342 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/11.45, allocations: 3.12 MB / 4.345 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/11.45, allocations: 162.6 kB / 4.345 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-05/11.45, allocations: 29.23 kB / 4.345 GB, free: 108.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002976/11.45, allocations: 154.7 kB / 4.345 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/11.45, allocations: 145.8 kB / 4.345 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/11.45, allocations: 0.8966 MB / 4.346 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/11.45, allocations: 7.188 kB / 4.346 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/11.45, allocations: 3.562 kB / 4.346 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/11.45, allocations: 1.012 MB / 4.347 GB, free: 107.7 MB / 0.8855 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.003785/11.46, allocations: 2.372 MB / 4.35 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/11.46, allocations: 3.406 kB / 4.35 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007282/11.46, allocations: 162.4 kB / 4.35 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000222/11.46, allocations: 96.33 kB / 4.35 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/11.46, allocations: 14.97 kB / 4.35 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007465/11.46, allocations: 1.746 MB / 4.352 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/11.46, allocations: 3.375 kB / 4.352 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/11.46, allocations: 1.501 MB / 4.353 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007475/11.46, allocations: 329.2 kB / 4.353 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/11.46, allocations: 16.81 kB / 4.353 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/11.46, allocations: 123.2 kB / 4.354 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/11.46, allocations: 52.83 kB / 4.354 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.164e-05/11.46, allocations: 28.98 kB / 4.354 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001182/11.47, allocations: 0.8172 MB / 4.354 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/11.47, allocations: 0 / 4.354 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003489/11.47, allocations: 0.9837 MB / 4.355 GB, free: 104.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.005445/11.47, allocations: 4.541 MB / 4.36 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00234/11.48, allocations: 1.316 MB / 4.361 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/11.48, allocations: 1.562 kB / 4.361 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006055/11.48, allocations: 382.1 kB / 4.361 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004224/11.48, allocations: 0.804 MB / 4.362 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005168/11.49, allocations: 2.456 MB / 4.365 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/11.49, allocations: 1.319 MB / 4.366 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002131/11.49, allocations: 460.7 kB / 4.366 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007737/11.49, allocations: 0.5567 MB / 4.367 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of SimCode: time 2.815e-06/11.49, allocations: 3.656 kB / 4.367 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1461/11.64, allocations: 74.33 MB / 4.439 GB, free: 97.35 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/11.64, allocations: 247.6 kB / 4.44 GB, free: 97.02 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.235/16.87, allocations: 0 / 4.44 GB, free: 97.02 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)