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.539/1.539, allocations: 252 MB / 267 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 179.3 kB / 326.6 MB, free: 2.219 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.946/1.946, allocations: 205.4 MB / 0.5776 GB, free: 20.23 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.0008445/0.0008445, allocations: 82 kB / 0.6822 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003725, allocations: 16.5 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2363, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.8593/1.096, allocations: 227.1 MB / 1.122 GB, free: 3.422 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01768/1.113, allocations: 11.22 MB / 1.133 GB, free: 3.133 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003624/1.117, allocations: 67.44 kB / 1.133 GB, free: 3.129 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002987/1.12, allocations: 0.7017 MB / 1.134 GB, free: 3.117 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009555/1.13, allocations: 2.404 MB / 1.136 GB, free: 3.004 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004248/1.134, allocations: 1.163 MB / 1.137 GB, free: 2.973 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008118/1.142, allocations: 5.45 MB / 1.143 GB, free: 2.961 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002378/1.145, allocations: 1.122 MB / 1.144 GB, free: 2.801 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00475/1.149, allocations: 1.686 MB / 1.145 GB, free: 2.793 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003319/1.153, allocations: 1.235 MB / 1.147 GB, free: 2.785 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000405/1.153, allocations: 61.25 kB / 1.147 GB, free: 2.785 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005088/1.158, allocations: 1.318 MB / 1.148 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008109/1.159, allocations: 435.2 kB / 1.148 GB, free: 2.555 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001416/1.16, allocations: 399 kB / 1.149 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004527/1.165, allocations: 2.316 MB / 1.151 GB, free: 17.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/1.165, allocations: 0 / 1.151 GB, free: 17.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.374e-06/1.165, allocations: 7.594 kB / 1.151 GB, free: 17.33 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.988e-05/1.165, allocations: 0 / 1.151 GB, free: 17.33 MB / 0.7136 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.006779/1.172, allocations: 1.932 MB / 1.153 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.139e-05/1.172, allocations: 8.281 kB / 1.153 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005107/1.173, allocations: 175.2 kB / 1.153 GB, free: 16.01 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002662/1.175, allocations: 351.9 kB / 1.153 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004137/1.179, allocations: 1.29 MB / 1.155 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/1.179, allocations: 91.45 kB / 1.155 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002574/1.18, allocations: 114.1 kB / 1.155 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003617/1.183, allocations: 1.223 MB / 1.156 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.032e-05/1.183, allocations: 0 / 1.156 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/1.184, allocations: 45.69 kB / 1.156 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.362e-05/1.184, allocations: 46.64 kB / 1.156 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003142/1.187, allocations: 0.9712 MB / 1.157 GB, free: 14.71 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0122/1.199, allocations: 5.55 MB / 1.162 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/1.201, allocations: 0.8624 MB / 1.163 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/1.203, allocations: 414.3 kB / 1.164 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009932/1.204, allocations: 0.5977 MB / 1.164 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.555e-05/1.204, allocations: 46.06 kB / 1.164 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 6.161e-06/1.204, allocations: 0 / 1.164 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.006404/1.21, allocations: 1.458 MB / 1.166 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/1.21, allocations: 60.38 kB / 1.166 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002816/1.213, allocations: 1.186 MB / 1.167 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002348/1.213, allocations: 46.11 kB / 1.167 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008861/1.214, allocations: 0.6864 MB / 1.168 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004471/1.215, allocations: 249.5 kB / 1.168 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/1.215, allocations: 14.44 kB / 1.168 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002182/1.215, allocations: 346.1 kB / 1.168 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/1.216, allocations: 295.7 kB / 1.169 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/1.217, allocations: 0.531 MB / 1.169 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/1.218, allocations: 374 kB / 1.169 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/1.218, allocations: 0 / 1.169 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003708/1.222, allocations: 1.058 MB / 1.17 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001716/1.222, allocations: 172.9 kB / 1.171 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/1.222, allocations: 7.078 kB / 1.171 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/1.224, allocations: 155 kB / 1.171 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/1.225, allocations: 180.2 kB / 1.171 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/1.227, allocations: 1.761 MB / 1.173 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/1.23, allocations: 174.8 kB / 1.173 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/1.23, allocations: 28.78 kB / 1.173 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/1.23, allocations: 3.438 kB / 1.173 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002909/1.233, allocations: 0.8585 MB / 1.174 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.233, allocations: 3.281 kB / 1.174 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004616/1.233, allocations: 96.52 kB / 1.174 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/1.234, allocations: 167.6 kB / 1.174 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004506/1.239, allocations: 3.135 MB / 1.177 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/1.242, allocations: 167.2 kB / 1.177 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/1.242, allocations: 27.94 kB / 1.177 GB, free: 2.418 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 83 * Array equations: 1 * 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.001324/1.243, allocations: 455 kB / 1.178 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005985/1.244, allocations: 141 kB / 1.178 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003057/1.247, allocations: 0.9538 MB / 1.179 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/1.247, allocations: 5.781 kB / 1.179 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.247, allocations: 0 / 1.179 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002422/1.25, allocations: 1.086 MB / 1.18 GB, free: 1.289 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00712/1.257, allocations: 2.464 MB / 1.182 GB, free: 304 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/1.257, allocations: 7.469 kB / 1.182 GB, free: 300 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/1.258, allocations: 164.2 kB / 1.182 GB, free: 272 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003843/1.258, allocations: 93.61 kB / 1.182 GB, free: 236 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.929e-05/1.258, allocations: 19.23 kB / 1.182 GB, free: 232 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/1.26, allocations: 1.743 MB / 1.184 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/1.26, allocations: 9.859 kB / 1.184 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004235/1.264, allocations: 1.443 MB / 1.186 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/1.266, allocations: 325.6 kB / 1.186 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/1.266, allocations: 17.73 kB / 1.186 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/1.268, allocations: 128 kB / 1.186 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/1.268, allocations: 49.31 kB / 1.186 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/1.268, allocations: 29.73 kB / 1.186 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001886/1.27, allocations: 0.8095 MB / 1.187 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.4e-07/1.27, allocations: 4 kB / 1.187 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003566/1.274, allocations: 0.8113 MB / 1.188 GB, free: 12.15 MB / 0.7292 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 () * Number of clocked 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.005023/1.279, allocations: 2.234 MB / 1.19 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004872/1.284, allocations: 1.453 MB / 1.191 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.284, allocations: 0 / 1.191 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001432/1.285, allocations: 419.3 kB / 1.192 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006111/1.291, allocations: 0.7891 MB / 1.192 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02497/1.316, allocations: 8.421 MB / 1.201 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/1.317, allocations: 1.286 MB / 1.202 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001837/1.319, allocations: 342 kB / 1.202 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000731/1.32, allocations: 0.5754 MB / 1.203 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of SimCode: time 1.663e-06/1.32, allocations: 0 / 1.203 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07482/1.395, allocations: 40.82 MB / 1.243 GB, free: 6.711 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/1.395, allocations: 294.9 kB / 1.243 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.506/4.901, allocations: 2.625 kB / 1.243 GB, free: 6.348 MB / 0.7761 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)