Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.977/2.977, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.001552/0.001552, allocations: 178.8 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001149/0.001149, allocations: 99.17 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004852, allocations: 13.91 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2224, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.778/8.001, allocations: 2.342 GB / 3.32 GB, free: 268.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/8.001, allocations: 105.5 kB / 3.32 GB, free: 268.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.895/13.9, allocations: 1.114 GB / 4.435 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.655e-06/13.9, allocations: 0 / 4.435 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000284/13.9, allocations: 52.09 kB / 4.435 GB, free: 128.8 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.009671/13.91, allocations: 2.424 MB / 4.437 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/13.91, allocations: 10.56 kB / 4.437 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008797/13.91, allocations: 206.6 kB / 4.437 GB, free: 127.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003049/13.91, allocations: 364.3 kB / 4.438 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005937/13.92, allocations: 1.656 MB / 4.439 GB, free: 127.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/13.92, allocations: 107.9 kB / 4.439 GB, free: 127.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003279/13.92, allocations: 138.4 kB / 4.439 GB, free: 127.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004252/13.92, allocations: 1.469 MB / 4.441 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.468e-05/13.92, allocations: 6.688 kB / 4.441 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001987/13.92, allocations: 55.75 kB / 4.441 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.697e-05/13.92, allocations: 59.52 kB / 4.441 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003703/13.93, allocations: 1.124 MB / 4.442 GB, free: 127.1 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.01332/13.94, allocations: 7.163 MB / 4.449 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0024/13.94, allocations: 0.8736 MB / 4.45 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/13.94, allocations: 0.7113 MB / 4.451 GB, free: 122.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/13.94, allocations: 47.31 kB / 4.451 GB, free: 122.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=75): time 3.507e-06/13.94, allocations: 0 / 4.451 GB, free: 122.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=75): time 0.01203/13.95, allocations: 2.21 MB / 4.453 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/13.95, allocations: 65.88 kB / 4.453 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/13.96, allocations: 1.137 MB / 4.454 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002803/13.96, allocations: 48.67 kB / 4.454 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007162/13.96, allocations: 0.7975 MB / 4.455 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003784/13.96, allocations: 258.8 kB / 4.455 GB, free: 121.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.961e-05/13.96, allocations: 15.31 kB / 4.455 GB, free: 121.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.077e-05/13.96, allocations: 336.1 kB / 4.455 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009605/13.96, allocations: 321.8 kB / 4.456 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/13.96, allocations: 0.6028 MB / 4.456 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/13.96, allocations: 405.5 kB / 4.457 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/13.96, allocations: 0 / 4.457 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003519/13.97, allocations: 1.203 MB / 4.458 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004208/13.97, allocations: 1.797 MB / 4.46 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/13.97, allocations: 7.375 kB / 4.46 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002714/13.97, allocations: 390.6 kB / 4.46 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/13.97, allocations: 153.1 kB / 4.46 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/13.97, allocations: 2.075 MB / 4.462 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/13.97, allocations: 179.8 kB / 4.462 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/13.97, allocations: 39.75 kB / 4.462 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/13.97, allocations: 4.531 kB / 4.462 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00291/13.98, allocations: 1.027 MB / 4.463 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/13.98, allocations: 6.625 kB / 4.463 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002556/13.98, allocations: 378.7 kB / 4.464 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/13.98, allocations: 144.9 kB / 4.464 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004184/13.99, allocations: 3.892 MB / 4.468 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/13.99, allocations: 168.2 kB / 4.468 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/13.99, allocations: 40.61 kB / 4.468 GB, free: 113.5 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.001205/13.99, allocations: 464.3 kB / 4.468 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004881/13.99, allocations: 156.9 kB / 4.468 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003371/13.99, allocations: 1.183 MB / 4.47 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/13.99, allocations: 10.72 kB / 4.47 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/13.99, allocations: 0 / 4.47 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002616/14, allocations: 1.253 MB / 4.471 GB, free: 112.6 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007167/14, allocations: 2.744 MB / 4.473 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/14, allocations: 0 / 4.473 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008479/14, allocations: 103.6 kB / 4.474 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002525/14.01, allocations: 380.2 kB / 4.474 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/14.01, allocations: 17.62 kB / 4.474 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001977/14.01, allocations: 2.081 MB / 4.476 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/14.01, allocations: 2.953 kB / 4.476 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003307/14.01, allocations: 1.398 MB / 4.477 GB, free: 110 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/14.01, allocations: 346.3 kB / 4.478 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003043/14.01, allocations: 19.88 kB / 4.478 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001964/14.02, allocations: 121.7 kB / 4.478 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/14.02, allocations: 57.25 kB / 4.478 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.552e-05/14.02, allocations: 30.02 kB / 4.478 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001823/14.02, allocations: 0.8878 MB / 4.479 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.41e-07/14.02, allocations: 0 / 4.479 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005195/14.02, allocations: 1.097 MB / 4.48 GB, free: 109.6 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.007764/14.03, allocations: 4.709 MB / 4.484 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005171/14.04, allocations: 1.619 MB / 4.486 GB, free: 107 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/14.04, allocations: 0 / 4.486 GB, free: 107 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/14.04, allocations: 0.4933 MB / 4.487 GB, free: 107 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006983/14.05, allocations: 0.8007 MB / 4.487 GB, free: 107 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02376/14.07, allocations: 11.81 MB / 4.499 GB, free: 100.8 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/14.07, allocations: 1.376 MB / 4.5 GB, free: 100 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002355/14.07, allocations: 330.8 kB / 4.5 GB, free: 100 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001308/14.07, allocations: 0.6372 MB / 4.501 GB, free: 100 MB / 0.9636 GB Notification: Performance of SimCode: time 1.614e-06/14.07, allocations: 0 / 4.501 GB, free: 100 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1685/14.24, allocations: 75.55 MB / 4.575 GB, free: 88.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/14.24, allocations: 272.4 kB / 4.575 GB, free: 87.74 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.951/20.19, allocations: 0 / 4.575 GB, free: 87.74 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)