Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.688/1.688, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.00139/0.00139, allocations: 172.9 kB / 366.7 MB, free: 1.641 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.931/1.931, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0008872/0.0008872, allocations: 96.78 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.482e-05/2.484e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8479/0.8479, allocations: 116.3 MB / 0.9734 GB, free: 76.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.999/6.847, allocations: 2.334 GB / 3.308 GB, free: 105.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/6.847, allocations: 91.33 kB / 3.308 GB, free: 105.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.8/10.65, allocations: 0.9966 GB / 4.304 GB, free: 144.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.723e-06/10.65, allocations: 0 / 4.304 GB, free: 144.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001491/10.65, allocations: 45.17 kB / 4.305 GB, free: 144.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.004492/10.65, allocations: 1.873 MB / 4.306 GB, free: 143.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/10.65, allocations: 11.19 kB / 4.306 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/10.65, allocations: 343.2 kB / 4.307 GB, free: 143.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002973/10.66, allocations: 1.582 MB / 4.308 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/10.66, allocations: 31.56 kB / 4.308 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/10.66, allocations: 81.83 kB / 4.308 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001361/10.66, allocations: 0.7911 MB / 4.309 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/10.66, allocations: 0.9671 MB / 4.31 GB, free: 143.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/10.66, allocations: 3.906 kB / 4.31 GB, free: 143.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.433e-05/10.66, allocations: 3.75 kB / 4.31 GB, free: 143.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/10.66, allocations: 46.92 kB / 4.31 GB, free: 143.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.005782/10.67, allocations: 5.27 MB / 4.315 GB, free: 140.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/10.67, allocations: 0.8149 MB / 4.316 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004677/10.67, allocations: 362.4 kB / 4.316 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005289/10.67, allocations: 0.6044 MB / 4.317 GB, free: 139.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/10.67, allocations: 41.62 kB / 4.317 GB, free: 139.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 2.916e-06/10.67, allocations: 0 / 4.317 GB, free: 139.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.00179/10.67, allocations: 0.8177 MB / 4.318 GB, free: 139.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/10.67, allocations: 58.19 kB / 4.318 GB, free: 139.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/10.67, allocations: 0.8663 MB / 4.319 GB, free: 139.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.258e-05/10.67, allocations: 31.88 kB / 4.319 GB, free: 139.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004695/10.67, allocations: 0.6974 MB / 4.319 GB, free: 138.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/10.67, allocations: 237.6 kB / 4.32 GB, free: 138.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/10.67, allocations: 0 / 4.32 GB, free: 138.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.683e-05/10.67, allocations: 332.9 kB / 4.32 GB, free: 138.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/10.67, allocations: 230.7 kB / 4.32 GB, free: 138 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004663/10.67, allocations: 481 kB / 4.321 GB, free: 137.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004971/10.67, allocations: 329.6 kB / 4.321 GB, free: 137.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/10.67, allocations: 0 / 4.321 GB, free: 137.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001431/10.67, allocations: 0.8904 MB / 4.322 GB, free: 137.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003356/10.68, allocations: 1.065 MB / 4.323 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/10.68, allocations: 3.938 kB / 4.323 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002599/10.68, allocations: 91.22 kB / 4.323 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007217/10.68, allocations: 155.4 kB / 4.323 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008619/10.68, allocations: 1.779 MB / 4.325 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/10.68, allocations: 138.6 kB / 4.325 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.429e-05/10.68, allocations: 32.98 kB / 4.325 GB, free: 134.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/10.68, allocations: 3.344 kB / 4.325 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001139/10.68, allocations: 0.6735 MB / 4.326 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/10.68, allocations: 3.625 kB / 4.326 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002273/10.68, allocations: 86.02 kB / 4.326 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/10.68, allocations: 150.8 kB / 4.326 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/10.68, allocations: 2.967 MB / 4.329 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/10.68, allocations: 132 kB / 4.329 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/10.68, allocations: 32.88 kB / 4.329 GB, free: 131.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0002186/10.68, allocations: 120.5 kB / 4.329 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0012/10.69, allocations: 0.7456 MB / 4.33 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/10.69, allocations: 132.7 kB / 4.33 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/10.69, allocations: 0.8322 MB / 4.331 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/10.69, allocations: 13.47 kB / 4.331 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/10.69, allocations: 0 / 4.331 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001054/10.69, allocations: 0.9658 MB / 4.332 GB, free: 129.6 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.003508/10.69, allocations: 2.188 MB / 4.334 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/10.69, allocations: 7.844 kB / 4.334 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006867/10.69, allocations: 159.5 kB / 4.334 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001457/10.69, allocations: 73.86 kB / 4.334 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/10.69, allocations: 11.83 kB / 4.334 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006847/10.69, allocations: 1.742 MB / 4.336 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/10.69, allocations: 3.156 kB / 4.336 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/10.7, allocations: 1.434 MB / 4.337 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005612/10.7, allocations: 319.7 kB / 4.337 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/10.7, allocations: 6.438 kB / 4.337 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009815/10.7, allocations: 104.2 kB / 4.338 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/10.7, allocations: 55.75 kB / 4.338 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.064e-05/10.7, allocations: 32.47 kB / 4.338 GB, free: 125.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008616/10.7, allocations: 0.6665 MB / 4.338 GB, free: 125.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/10.7, allocations: 0 / 4.338 GB, free: 125.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00291/10.7, allocations: 0.9212 MB / 4.339 GB, free: 125.2 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.005384/10.71, allocations: 4.672 MB / 4.344 GB, free: 122.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002259/10.71, allocations: 1.266 MB / 4.345 GB, free: 122 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/10.71, allocations: 0 / 4.345 GB, free: 122 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005907/10.71, allocations: 364.2 kB / 4.345 GB, free: 121.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003624/10.71, allocations: 0.7353 MB / 4.346 GB, free: 121.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00459/10.72, allocations: 2.375 MB / 4.348 GB, free: 120.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007491/10.72, allocations: 1.317 MB / 4.35 GB, free: 120.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001739/10.72, allocations: 427.8 kB / 4.35 GB, free: 120.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005945/10.72, allocations: 0.5473 MB / 4.351 GB, free: 119.6 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/10.72, allocations: 0 / 4.351 GB, free: 119.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09182/10.81, allocations: 52.16 MB / 4.402 GB, free: 85.27 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/10.81, allocations: 195.7 kB / 4.402 GB, free: 85.07 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.672/15.48, allocations: 6.25 kB / 4.402 GB, free: 85.06 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)