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.693/1.693, allocations: 285.4 MB / 298 MB, free: 5.938 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.001052/0.001052, allocations: 172.8 kB / 366.4 MB, free: 2.078 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.727/1.727, allocations: 205.1 MB / 0.6248 GB, free: 7.715 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.0008901/0.0008899, allocations: 101.8 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.849e-05/3.85e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8223/0.8224, allocations: 115.3 MB / 0.971 GB, free: 77.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.931/6.753, allocations: 2.342 GB / 3.313 GB, free: 109.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/6.753, allocations: 92.83 kB / 3.313 GB, free: 109 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.399/11.15, allocations: 1.112 GB / 4.425 GB, free: 72.74 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.813e-06/11.15, allocations: 0 / 4.425 GB, free: 72.74 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001496/11.15, allocations: 51.97 kB / 4.426 GB, free: 72.69 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.004736/11.16, allocations: 2.104 MB / 4.428 GB, free: 70.54 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/11.16, allocations: 8.031 kB / 4.428 GB, free: 70.53 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002411/11.16, allocations: 202.8 kB / 4.428 GB, free: 70.32 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/11.16, allocations: 369.2 kB / 4.428 GB, free: 69.96 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003125/11.16, allocations: 1.631 MB / 4.43 GB, free: 68.28 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.546e-05/11.16, allocations: 106.7 kB / 4.43 GB, free: 68.18 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/11.16, allocations: 144 kB / 4.43 GB, free: 68.04 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/11.16, allocations: 1.417 MB / 4.431 GB, free: 66.55 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/11.16, allocations: 352 / 4.431 GB, free: 66.55 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/11.17, allocations: 63.95 kB / 4.431 GB, free: 66.49 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-05/11.17, allocations: 54.62 kB / 4.431 GB, free: 66.43 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/11.17, allocations: 1.029 MB / 4.432 GB, free: 65.4 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.00741/11.17, allocations: 7.157 MB / 4.439 GB, free: 57.71 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/11.18, allocations: 0.8336 MB / 4.44 GB, free: 56.85 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004761/11.18, allocations: 404.4 kB / 4.441 GB, free: 56.45 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007465/11.18, allocations: 0.7163 MB / 4.441 GB, free: 55.58 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/11.18, allocations: 43.34 kB / 4.441 GB, free: 55.53 MB / 0.948 GB Notification: Performance of pre-optimization done (n=75): time 3.277e-06/11.18, allocations: 0 / 4.441 GB, free: 55.53 MB / 0.948 GB Notification: Performance of matching and sorting (n=75): time 0.002694/11.18, allocations: 1.121 MB / 4.442 GB, free: 54.39 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/11.18, allocations: 64.12 kB / 4.443 GB, free: 54.31 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/11.18, allocations: 1.121 MB / 4.444 GB, free: 53.18 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.94e-05/11.18, allocations: 45.7 kB / 4.444 GB, free: 53.13 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004575/11.18, allocations: 0.7982 MB / 4.444 GB, free: 52.32 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/11.18, allocations: 260.2 kB / 4.445 GB, free: 52.07 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/11.18, allocations: 16 kB / 4.445 GB, free: 52.05 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.576e-05/11.18, allocations: 341.9 kB / 4.445 GB, free: 51.71 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/11.18, allocations: 277.9 kB / 4.445 GB, free: 51.44 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005266/11.18, allocations: 0.5609 MB / 4.446 GB, free: 50.76 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004887/11.18, allocations: 376 kB / 4.446 GB, free: 50.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/11.18, allocations: 0 / 4.446 GB, free: 50.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002263/11.19, allocations: 1.239 MB / 4.447 GB, free: 49.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003971/11.19, allocations: 1.798 MB / 4.449 GB, free: 47.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/11.19, allocations: 8 kB / 4.449 GB, free: 47.17 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/11.19, allocations: 392.6 kB / 4.45 GB, free: 46.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005511/11.19, allocations: 147.8 kB / 4.45 GB, free: 46.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/11.19, allocations: 2.079 MB / 4.452 GB, free: 44.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/11.19, allocations: 182.9 kB / 4.452 GB, free: 44.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.481e-05/11.19, allocations: 36 kB / 4.452 GB, free: 44.26 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/11.19, allocations: 4 kB / 4.452 GB, free: 44.26 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002092/11.19, allocations: 1.063 MB / 4.453 GB, free: 43.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/11.19, allocations: 8 kB / 4.453 GB, free: 43.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/11.19, allocations: 382.5 kB / 4.453 GB, free: 42.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/11.19, allocations: 147.7 kB / 4.453 GB, free: 42.65 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/11.2, allocations: 3.865 MB / 4.457 GB, free: 38.49 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/11.2, allocations: 171.1 kB / 4.457 GB, free: 38.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.943e-05/11.2, allocations: 39.98 kB / 4.457 GB, free: 38.29 MB / 0.948 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 () * 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.00029/11.2, allocations: 162.8 kB / 4.458 GB, free: 38.12 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/11.2, allocations: 154.1 kB / 4.458 GB, free: 37.97 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/11.2, allocations: 1.228 MB / 4.459 GB, free: 36.71 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/11.2, allocations: 12 kB / 4.459 GB, free: 36.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/11.2, allocations: 0 / 4.459 GB, free: 36.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002035/11.2, allocations: 1.313 MB / 4.46 GB, free: 35.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004169/11.21, allocations: 2.668 MB / 4.463 GB, free: 32.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/11.21, allocations: 4 kB / 4.463 GB, free: 32.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004324/11.21, allocations: 100.2 kB / 4.463 GB, free: 32.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001374/11.21, allocations: 378.3 kB / 4.463 GB, free: 32.05 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/11.21, allocations: 19.94 kB / 4.463 GB, free: 32.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/11.21, allocations: 2.072 MB / 4.465 GB, free: 29.88 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/11.21, allocations: 4 kB / 4.465 GB, free: 29.88 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/11.21, allocations: 1.323 MB / 4.467 GB, free: 28.43 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007305/11.21, allocations: 346.9 kB / 4.467 GB, free: 28.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/11.21, allocations: 15.94 kB / 4.467 GB, free: 28.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009991/11.22, allocations: 123.7 kB / 4.467 GB, free: 27.94 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/11.22, allocations: 60.45 kB / 4.467 GB, free: 27.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.834e-05/11.22, allocations: 27.98 kB / 4.467 GB, free: 27.85 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001089/11.22, allocations: 0.8728 MB / 4.468 GB, free: 26.98 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.322e-06/11.22, allocations: 0 / 4.468 GB, free: 26.98 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003346/11.22, allocations: 1.106 MB / 4.469 GB, free: 25.88 MB / 0.948 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 () * 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.004996/11.23, allocations: 4.633 MB / 4.474 GB, free: 21.02 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002682/11.23, allocations: 1.562 MB / 4.475 GB, free: 19.43 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/11.23, allocations: 0 / 4.475 GB, free: 19.43 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007841/11.23, allocations: 458.7 kB / 4.476 GB, free: 18.99 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003962/11.23, allocations: 0.8053 MB / 4.476 GB, free: 18.19 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/11.24, allocations: 2.352 MB / 4.479 GB, free: 15.76 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007046/11.24, allocations: 1.386 MB / 4.48 GB, free: 14.35 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001792/11.24, allocations: 447.8 kB / 4.481 GB, free: 13.91 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005832/11.24, allocations: 0.6086 MB / 4.481 GB, free: 13.3 MB / 0.948 GB Notification: Performance of SimCode: time 8.52e-07/11.24, allocations: 0 / 4.481 GB, free: 13.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8718/12.11, allocations: 82.96 MB / 4.562 GB, free: 150.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/12.11, allocations: 257.5 kB / 4.562 GB, free: 149.9 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.103/17.22, allocations: 7.625 kB / 4.562 GB, free: 149.9 MB / 0.9792 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)