Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.657/1.657, allocations: 285.4 MB / 298 MB, free: 5.926 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.001201/0.001201, allocations: 184.8 kB / 366.4 MB, free: 2.086 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.801/1.801, allocations: 205.1 MB / 0.6248 GB, free: 7.719 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.0008599/0.0008599, allocations: 102.1 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.724e-05/3.726e-05, allocations: 8 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8094/0.8094, allocations: 115.3 MB / 0.971 GB, free: 78.06 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.158/6.967, allocations: 2.334 GB / 3.305 GB, free: 167.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/6.968, allocations: 95.94 kB / 3.305 GB, free: 167.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.937/10.9, allocations: 1.005 GB / 4.311 GB, free: 137.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.204e-06/10.9, allocations: 0 / 4.311 GB, free: 137.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001549/10.9, allocations: 43.31 kB / 4.311 GB, free: 137.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004876/10.91, allocations: 1.879 MB / 4.313 GB, free: 136.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/10.91, allocations: 11.31 kB / 4.313 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000232/10.91, allocations: 174.7 kB / 4.313 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/10.91, allocations: 337.8 kB / 4.313 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003973/10.92, allocations: 1.583 MB / 4.315 GB, free: 136.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.831e-05/10.92, allocations: 93.47 kB / 4.315 GB, free: 136.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/10.92, allocations: 122.1 kB / 4.315 GB, free: 136.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/10.92, allocations: 1.129 MB / 4.316 GB, free: 136.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/10.92, allocations: 3.906 kB / 4.316 GB, free: 136.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/10.92, allocations: 45.72 kB / 4.316 GB, free: 136.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.703e-05/10.92, allocations: 49.61 kB / 4.316 GB, free: 136.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/10.92, allocations: 0.8453 MB / 4.317 GB, free: 136.1 MB / 0.948 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.006908/10.93, allocations: 5.515 MB / 4.322 GB, free: 133.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/10.93, allocations: 0.8286 MB / 4.323 GB, free: 133.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004953/10.93, allocations: 379.3 kB / 4.323 GB, free: 133.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005382/10.93, allocations: 0.6029 MB / 4.324 GB, free: 132.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/10.93, allocations: 46.94 kB / 4.324 GB, free: 132.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 2.965e-06/10.93, allocations: 0 / 4.324 GB, free: 132.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001814/10.93, allocations: 0.8154 MB / 4.325 GB, free: 132.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/10.93, allocations: 59.25 kB / 4.325 GB, free: 132.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/10.93, allocations: 1.033 MB / 4.326 GB, free: 132.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.645e-05/10.93, allocations: 46.53 kB / 4.326 GB, free: 132.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004523/10.93, allocations: 0.6855 MB / 4.327 GB, free: 131.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/10.93, allocations: 250.6 kB / 4.327 GB, free: 131.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/10.93, allocations: 17.78 kB / 4.327 GB, free: 131.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.333e-05/10.93, allocations: 331.2 kB / 4.327 GB, free: 131.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/10.93, allocations: 240 kB / 4.327 GB, free: 131.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000524/10.93, allocations: 488 kB / 4.328 GB, free: 131.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004404/10.93, allocations: 322.6 kB / 4.328 GB, free: 131.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/10.93, allocations: 3.953 kB / 4.328 GB, free: 131.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00136/10.94, allocations: 0.9085 MB / 4.329 GB, free: 131 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002419/10.94, allocations: 0.9024 MB / 4.33 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/10.94, allocations: 6.781 kB / 4.33 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003208/10.94, allocations: 100.9 kB / 4.33 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007034/10.94, allocations: 161 kB / 4.33 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008573/10.94, allocations: 1.752 MB / 4.332 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/10.94, allocations: 165.1 kB / 4.332 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.937e-05/10.94, allocations: 33.78 kB / 4.332 GB, free: 128.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/10.94, allocations: 5.344 kB / 4.332 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001172/10.94, allocations: 0.7283 MB / 4.333 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/10.94, allocations: 3.781 kB / 4.333 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002358/10.94, allocations: 90.92 kB / 4.333 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/10.94, allocations: 147.7 kB / 4.333 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/10.94, allocations: 3.122 MB / 4.336 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/10.95, allocations: 164.4 kB / 4.336 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.626e-05/10.95, allocations: 35.95 kB / 4.336 GB, free: 125.6 MB / 0.948 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.0002935/10.95, allocations: 156.6 kB / 4.336 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/10.95, allocations: 138.5 kB / 4.337 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/10.95, allocations: 0.8939 MB / 4.337 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/10.95, allocations: 6.562 kB / 4.337 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/10.95, allocations: 2.375 kB / 4.337 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001116/10.95, allocations: 1.019 MB / 4.338 GB, free: 124.8 MB / 0.948 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.003815/10.95, allocations: 2.381 MB / 4.341 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/10.95, allocations: 3.625 kB / 4.341 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007051/10.95, allocations: 154.6 kB / 4.341 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002275/10.95, allocations: 91 kB / 4.341 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.247e-05/10.95, allocations: 17.31 kB / 4.341 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007648/10.95, allocations: 1.745 MB / 4.343 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/10.95, allocations: 3.469 kB / 4.343 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/10.96, allocations: 1.513 MB / 4.344 GB, free: 122.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007567/10.96, allocations: 323.3 kB / 4.345 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/10.96, allocations: 20.67 kB / 4.345 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/10.96, allocations: 127.9 kB / 4.345 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/10.96, allocations: 45.39 kB / 4.345 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/10.96, allocations: 35.78 kB / 4.345 GB, free: 122 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001163/10.96, allocations: 0.8062 MB / 4.346 GB, free: 121.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.3e-07/10.96, allocations: 0 / 4.346 GB, free: 121.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003089/10.96, allocations: 0.9875 MB / 4.346 GB, free: 121.8 MB / 0.948 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.005319/10.97, allocations: 4.538 MB / 4.351 GB, free: 119.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002425/10.97, allocations: 1.332 MB / 4.352 GB, free: 119.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/10.97, allocations: 0 / 4.352 GB, free: 119.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006342/10.97, allocations: 375.4 kB / 4.353 GB, free: 119.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004165/10.98, allocations: 0.8032 MB / 4.353 GB, free: 119.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004639/10.98, allocations: 2.446 MB / 4.356 GB, free: 118.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007594/10.98, allocations: 1.319 MB / 4.357 GB, free: 118 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002021/10.98, allocations: 466.3 kB / 4.357 GB, free: 117.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006364/10.98, allocations: 0.5437 MB / 4.358 GB, free: 117.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.913e-06/10.98, allocations: 0 / 4.358 GB, free: 117.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1348/11.12, allocations: 74.27 MB / 4.431 GB, free: 97.08 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/11.12, allocations: 255.5 kB / 4.431 GB, free: 96.74 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.853/15.97, allocations: 0 / 4.431 GB, free: 96.74 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)