Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HexElementLatent,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",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.727/1.727, allocations: 288.2 MB / 303.2 MB, free: 8.242 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.001189/0.001189, allocations: 192.1 kB / 371.8 MB, free: 10.28 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.916/1.916, allocations: 205.4 MB / 0.6305 GB, free: 9.93 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000942/0.0009424, allocations: 91.42 kB / 0.7439 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004095/0.0004093, allocations: 13.28 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2502, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.446/6.696, allocations: 2.342 GB / 3.322 GB, free: 272.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/6.696, allocations: 103.3 kB / 3.322 GB, free: 272.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.613/11.31, allocations: 1.114 GB / 4.436 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.605e-06/11.31, allocations: 6.844 kB / 4.436 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000332/11.31, allocations: 56.89 kB / 4.436 GB, free: 126.4 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.008869/11.32, allocations: 2.423 MB / 4.438 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/11.32, allocations: 7.875 kB / 4.438 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007851/11.32, allocations: 206.5 kB / 4.439 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002629/11.32, allocations: 372.6 kB / 4.439 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005119/11.33, allocations: 1.642 MB / 4.44 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/11.33, allocations: 109.1 kB / 4.441 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000478/11.33, allocations: 145.3 kB / 4.441 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00364/11.33, allocations: 1.47 MB / 4.442 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.269e-05/11.33, allocations: 2.25 kB / 4.442 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/11.33, allocations: 61.34 kB / 4.442 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.369e-05/11.33, allocations: 57.77 kB / 4.442 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002602/11.33, allocations: 1.12 MB / 4.443 GB, free: 124.7 MB / 0.9636 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.01133/11.35, allocations: 7.157 MB / 4.45 GB, free: 120.9 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/11.35, allocations: 0.8817 MB / 4.451 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007881/11.35, allocations: 0.7121 MB / 4.452 GB, free: 120 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/11.35, allocations: 46.72 kB / 4.452 GB, free: 120 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=75): time 2.986e-06/11.35, allocations: 0 / 4.452 GB, free: 120 MB / 0.9636 GB Notification: Performance of matching and sorting (n=75): time 0.00747/11.36, allocations: 2.215 MB / 4.454 GB, free: 119.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/11.36, allocations: 60.16 kB / 4.454 GB, free: 119.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003015/11.36, allocations: 1.137 MB / 4.455 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001866/11.36, allocations: 49.92 kB / 4.455 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009502/11.36, allocations: 0.7968 MB / 4.456 GB, free: 119 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004135/11.36, allocations: 263.1 kB / 4.456 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/11.36, allocations: 15.03 kB / 4.456 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001347/11.36, allocations: 336.1 kB / 4.457 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006967/11.36, allocations: 320.7 kB / 4.457 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009636/11.36, allocations: 0.6023 MB / 4.458 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007927/11.36, allocations: 404.3 kB / 4.458 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.517e-06/11.36, allocations: 0 / 4.458 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00306/11.37, allocations: 1.199 MB / 4.459 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000832/11.37, allocations: 1.796 MB / 4.461 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/11.37, allocations: 5.312 kB / 4.461 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/11.37, allocations: 394.9 kB / 4.461 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006289/11.37, allocations: 148.5 kB / 4.461 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/11.37, allocations: 2.082 MB / 4.463 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/11.37, allocations: 178.8 kB / 4.464 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/11.37, allocations: 37.84 kB / 4.464 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/11.37, allocations: 5.719 kB / 4.464 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002063/11.38, allocations: 1.026 MB / 4.465 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/11.38, allocations: 3.844 kB / 4.465 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001638/11.38, allocations: 379.5 kB / 4.465 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/11.38, allocations: 151.4 kB / 4.465 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003633/11.38, allocations: 3.884 MB / 4.469 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/11.38, allocations: 171.9 kB / 4.469 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/11.39, allocations: 39.94 kB / 4.469 GB, free: 111.2 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 22,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0016/11.39, allocations: 470.2 kB / 4.47 GB, free: 111 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007663/11.39, allocations: 153.2 kB / 4.47 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002704/11.39, allocations: 1.183 MB / 4.471 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/11.39, allocations: 13.88 kB / 4.471 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/11.39, allocations: 1.875 kB / 4.471 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001641/11.39, allocations: 1.255 MB / 4.472 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006183/11.4, allocations: 2.733 MB / 4.475 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/11.4, allocations: 2.625 kB / 4.475 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000472/11.4, allocations: 105.8 kB / 4.475 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001521/11.4, allocations: 389.2 kB / 4.475 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.205e-05/11.4, allocations: 22.3 kB / 4.475 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/11.4, allocations: 2.076 MB / 4.477 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/11.4, allocations: 10.44 kB / 4.477 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/11.4, allocations: 1.387 MB / 4.479 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/11.4, allocations: 346.5 kB / 4.479 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004613/11.41, allocations: 18.09 kB / 4.479 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/11.41, allocations: 125.4 kB / 4.479 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/11.41, allocations: 53.48 kB / 4.479 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.52e-05/11.41, allocations: 29.03 kB / 4.479 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001717/11.41, allocations: 0.8866 MB / 4.48 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.3e-07/11.41, allocations: 0 / 4.48 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004725/11.41, allocations: 1.105 MB / 4.481 GB, free: 107.3 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 22,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007432/11.42, allocations: 4.707 MB / 4.486 GB, free: 105 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00368/11.42, allocations: 1.626 MB / 4.487 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/11.42, allocations: 1.781 kB / 4.487 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/11.43, allocations: 497.3 kB / 4.488 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004448/11.43, allocations: 0.7958 MB / 4.489 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/11.45, allocations: 11.82 MB / 4.5 GB, free: 98.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/11.45, allocations: 1.384 MB / 4.502 GB, free: 97.78 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001859/11.45, allocations: 324.8 kB / 4.502 GB, free: 97.76 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/11.45, allocations: 0.6379 MB / 4.502 GB, free: 97.75 MB / 0.9636 GB Notification: Performance of SimCode: time 2.915e-06/11.45, allocations: 0 / 4.502 GB, free: 97.75 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1392/11.59, allocations: 75.56 MB / 4.576 GB, free: 90.79 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/11.59, allocations: 276 kB / 4.577 GB, free: 90.44 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.049/16.64, allocations: 0 / 4.577 GB, free: 90.44 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)