Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.286/2.286, allocations: 248.5 MB / 261.1 MB, free: 6.059 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001619/0.001619, allocations: 182.1 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001291/0.001291, allocations: 113.1 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.504e-05/4.537e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2231, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.25/8.473, allocations: 2.459 GB / 3.349 GB, free: 198 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003904/8.474, allocations: 98.88 kB / 3.349 GB, free: 198 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.619/14.09, allocations: 1.081 GB / 4.431 GB, free: 105 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.104e-06/14.09, allocations: 0 / 4.431 GB, free: 105 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002807/14.09, allocations: 54.61 kB / 4.431 GB, free: 105 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.007881/14.1, allocations: 2.11 MB / 4.433 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/14.1, allocations: 10.78 kB / 4.433 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006773/14.1, allocations: 206.5 kB / 4.433 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002848/14.1, allocations: 371 kB / 4.433 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005908/14.11, allocations: 1.635 MB / 4.435 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/14.11, allocations: 106.7 kB / 4.435 GB, free: 101.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003079/14.11, allocations: 144 kB / 4.435 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003732/14.12, allocations: 1.425 MB / 4.437 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.476e-05/14.12, allocations: 7.844 kB / 4.437 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002002/14.12, allocations: 60 kB / 4.437 GB, free: 100 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.507e-05/14.12, allocations: 54.66 kB / 4.437 GB, free: 99.96 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002921/14.12, allocations: 1.033 MB / 4.438 GB, free: 98.92 MB / 0.8855 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.01355/14.13, allocations: 7.157 MB / 4.445 GB, free: 91.23 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/14.13, allocations: 0.8218 MB / 4.446 GB, free: 90.38 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008667/14.14, allocations: 400.4 kB / 4.446 GB, free: 89.99 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/14.14, allocations: 0.7202 MB / 4.447 GB, free: 89.12 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/14.14, allocations: 43.3 kB / 4.447 GB, free: 89.07 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=75): time 3.767e-06/14.14, allocations: 0 / 4.447 GB, free: 89.07 MB / 0.8855 GB Notification: Performance of matching and sorting (n=75): time 0.004767/14.14, allocations: 1.121 MB / 4.448 GB, free: 87.93 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/14.14, allocations: 68.14 kB / 4.448 GB, free: 87.85 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002547/14.14, allocations: 1.125 MB / 4.449 GB, free: 86.72 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002736/14.14, allocations: 45.7 kB / 4.449 GB, free: 86.67 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007107/14.14, allocations: 0.7982 MB / 4.45 GB, free: 85.86 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003439/14.15, allocations: 268.2 kB / 4.45 GB, free: 85.59 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.45e-05/14.15, allocations: 16 kB / 4.45 GB, free: 85.58 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001138/14.15, allocations: 334 kB / 4.45 GB, free: 85.25 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007166/14.15, allocations: 277.9 kB / 4.451 GB, free: 84.97 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009107/14.15, allocations: 0.5528 MB / 4.451 GB, free: 84.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008417/14.15, allocations: 374.8 kB / 4.452 GB, free: 83.94 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/14.15, allocations: 8 kB / 4.452 GB, free: 83.93 MB / 0.8855 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004473/14.15, allocations: 1.227 MB / 4.453 GB, free: 82.68 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004296/14.15, allocations: 1.798 MB / 4.455 GB, free: 80.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/14.15, allocations: 4 kB / 4.455 GB, free: 80.71 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002826/14.16, allocations: 402 kB / 4.455 GB, free: 80.31 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/14.16, allocations: 143.8 kB / 4.455 GB, free: 80.17 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/14.16, allocations: 2.076 MB / 4.457 GB, free: 78.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/14.16, allocations: 183.1 kB / 4.457 GB, free: 77.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/14.16, allocations: 35.98 kB / 4.457 GB, free: 77.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/14.16, allocations: 4 kB / 4.457 GB, free: 77.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003914/14.17, allocations: 1.055 MB / 4.458 GB, free: 76.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/14.17, allocations: 4 kB / 4.458 GB, free: 76.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002683/14.17, allocations: 387.5 kB / 4.459 GB, free: 76.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/14.17, allocations: 147.8 kB / 4.459 GB, free: 76.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00423/14.17, allocations: 3.852 MB / 4.463 GB, free: 72.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/14.18, allocations: 175.1 kB / 4.463 GB, free: 71.89 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002223/14.18, allocations: 40 kB / 4.463 GB, free: 71.85 MB / 0.8855 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.0003768/14.18, allocations: 164.6 kB / 4.463 GB, free: 71.69 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005872/14.18, allocations: 154.1 kB / 4.463 GB, free: 71.54 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004613/14.18, allocations: 1.213 MB / 4.464 GB, free: 70.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.646e-05/14.18, allocations: 8 kB / 4.464 GB, free: 70.29 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/14.18, allocations: 0 / 4.464 GB, free: 70.29 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003878/14.19, allocations: 1.313 MB / 4.466 GB, free: 68.88 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007554/14.19, allocations: 2.679 MB / 4.468 GB, free: 66.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/14.19, allocations: 4 kB / 4.468 GB, free: 66.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009253/14.2, allocations: 107.8 kB / 4.468 GB, free: 66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002721/14.2, allocations: 383 kB / 4.469 GB, free: 65.61 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001674/14.2, allocations: 19.98 kB / 4.469 GB, free: 65.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/14.2, allocations: 2.066 MB / 4.471 GB, free: 63.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/14.2, allocations: 4 kB / 4.471 GB, free: 63.45 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003026/14.2, allocations: 1.327 MB / 4.472 GB, free: 62.01 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/14.21, allocations: 350.9 kB / 4.472 GB, free: 61.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000372/14.21, allocations: 16 kB / 4.472 GB, free: 61.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002361/14.21, allocations: 127.7 kB / 4.472 GB, free: 61.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/14.21, allocations: 48.45 kB / 4.473 GB, free: 61.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/14.21, allocations: 31.98 kB / 4.473 GB, free: 61.42 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001985/14.21, allocations: 0.8731 MB / 4.473 GB, free: 60.55 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.423e-06/14.21, allocations: 0 / 4.473 GB, free: 60.55 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005667/14.22, allocations: 1.111 MB / 4.474 GB, free: 59.44 MB / 0.8855 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.007685/14.22, allocations: 4.644 MB / 4.479 GB, free: 54.65 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004723/14.23, allocations: 1.554 MB / 4.481 GB, free: 53.07 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/14.23, allocations: 384 / 4.481 GB, free: 53.07 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001531/14.23, allocations: 453.8 kB / 4.481 GB, free: 52.62 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007328/14.24, allocations: 0.7975 MB / 4.482 GB, free: 51.84 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007803/14.25, allocations: 2.356 MB / 4.484 GB, free: 49.41 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/14.25, allocations: 1.39 MB / 4.485 GB, free: 47.99 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003226/14.25, allocations: 446.6 kB / 4.486 GB, free: 47.57 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/14.25, allocations: 0.6086 MB / 4.486 GB, free: 46.96 MB / 0.8855 GB Notification: Performance of SimCode: time 1.593e-06/14.25, allocations: 0 / 4.486 GB, free: 46.96 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9277/15.18, allocations: 83.02 MB / 4.568 GB, free: 126.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002918/15.18, allocations: 240.9 kB / 4.568 GB, free: 126.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.285/21.46, allocations: 2.344 kB / 4.568 GB, free: 126.6 MB / 0.9011 GB