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.248/2.248, allocations: 248.7 MB / 256.2 MB, free: 7.09 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.001502/0.001502, allocations: 183.7 kB / 315.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.115/2.115, allocations: 205.2 MB / 0.5662 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 91.61 kB / 0.6704 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.083e-05/3.085e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2139, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.161/8.375, allocations: 2.459 GB / 3.343 GB, free: 220 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003608/8.376, allocations: 95.86 kB / 3.343 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.599/13.97, allocations: 1.071 GB / 4.415 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.766e-06/13.97, allocations: 1.781 kB / 4.415 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003999/13.97, allocations: 58.86 kB / 4.415 GB, free: 122.8 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.01058/13.99, allocations: 2.11 MB / 4.417 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.506e-05/13.99, allocations: 10.95 kB / 4.417 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004698/13.99, allocations: 367.2 kB / 4.417 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008623/14, allocations: 1.646 MB / 4.419 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/14, allocations: 43.56 kB / 4.419 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005778/14, allocations: 85.25 kB / 4.419 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004994/14, allocations: 0.9361 MB / 4.42 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006162/14.01, allocations: 1.225 MB / 4.421 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.786e-05/14.01, allocations: 0 / 4.421 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002847/14.01, allocations: 6.047 kB / 4.421 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/14.01, allocations: 56.88 kB / 4.421 GB, free: 119.6 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.01933/14.03, allocations: 6.886 MB / 4.428 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002995/14.03, allocations: 0.793 MB / 4.428 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/14.04, allocations: 378.6 kB / 4.429 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001508/14.04, allocations: 0.7192 MB / 4.429 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/14.04, allocations: 43.19 kB / 4.43 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=75): time 4.859e-06/14.04, allocations: 0 / 4.43 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=75): time 0.007688/14.04, allocations: 1.156 MB / 4.431 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/14.04, allocations: 59.5 kB / 4.431 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002978/14.05, allocations: 0.9345 MB / 4.432 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003087/14.05, allocations: 29.27 kB / 4.432 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001026/14.05, allocations: 0.8089 MB / 4.432 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005125/14.05, allocations: 247.9 kB / 4.433 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.591e-05/14.05, allocations: 0 / 4.433 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000155/14.05, allocations: 347 kB / 4.433 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009451/14.05, allocations: 258.7 kB / 4.433 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/14.05, allocations: 0.5503 MB / 4.434 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002239/14.05, allocations: 429.1 kB / 4.434 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/14.05, allocations: 3.625 kB / 4.434 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.008389/14.06, allocations: 1.243 MB / 4.435 GB, free: 110 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005979/14.06, allocations: 1.955 MB / 4.437 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/14.06, allocations: 7.875 kB / 4.437 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003954/14.07, allocations: 369 kB / 4.438 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/14.07, allocations: 145.6 kB / 4.438 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003249/14.07, allocations: 2.111 MB / 4.44 GB, free: 106 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002976/14.08, allocations: 153.9 kB / 4.44 GB, free: 106 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002938/14.08, allocations: 40.5 kB / 4.44 GB, free: 106 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/14.08, allocations: 4.75 kB / 4.44 GB, free: 106 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004148/14.08, allocations: 1.024 MB / 4.441 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/14.08, allocations: 5.781 kB / 4.441 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002524/14.08, allocations: 374.2 kB / 4.441 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/14.08, allocations: 150.5 kB / 4.442 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004218/14.09, allocations: 3.778 MB / 4.445 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/14.09, allocations: 144.4 kB / 4.445 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/14.09, allocations: 35.61 kB / 4.445 GB, free: 102.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 {3 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003151/14.09, allocations: 130 kB / 4.446 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004285/14.1, allocations: 1.09 MB / 4.447 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005609/14.1, allocations: 141.3 kB / 4.447 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004623/14.1, allocations: 1.203 MB / 4.448 GB, free: 101 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/14.1, allocations: 13.89 kB / 4.448 GB, free: 101 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/14.1, allocations: 0 / 4.448 GB, free: 101 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003937/14.1, allocations: 1.317 MB / 4.449 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007111/14.11, allocations: 2.497 MB / 4.452 GB, free: 99.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/14.11, allocations: 0 / 4.452 GB, free: 99.03 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008668/14.11, allocations: 109.7 kB / 4.452 GB, free: 99.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0024/14.12, allocations: 349.6 kB / 4.452 GB, free: 98.94 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/14.12, allocations: 7 kB / 4.452 GB, free: 98.94 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/14.12, allocations: 2.1 MB / 4.454 GB, free: 97.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/14.12, allocations: 6.656 kB / 4.454 GB, free: 97.14 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003129/14.12, allocations: 1.313 MB / 4.455 GB, free: 96.34 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/14.12, allocations: 333.6 kB / 4.456 GB, free: 96.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002637/14.12, allocations: 7.453 kB / 4.456 GB, free: 96.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001941/14.12, allocations: 110.1 kB / 4.456 GB, free: 96.09 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/14.12, allocations: 55.52 kB / 4.456 GB, free: 96.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/14.12, allocations: 30.45 kB / 4.456 GB, free: 96.07 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001475/14.13, allocations: 0.7166 MB / 4.457 GB, free: 95.75 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.21e-07/14.13, allocations: 0 / 4.457 GB, free: 95.75 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005314/14.13, allocations: 1.051 MB / 4.458 GB, free: 95.46 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 {3 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007762/14.14, allocations: 4.845 MB / 4.462 GB, free: 92.67 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003958/14.14, allocations: 1.447 MB / 4.464 GB, free: 92.02 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/14.14, allocations: 8.125 kB / 4.464 GB, free: 92.02 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/14.14, allocations: 417 kB / 4.464 GB, free: 91.83 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006644/14.15, allocations: 0.7152 MB / 4.465 GB, free: 91.32 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007278/14.16, allocations: 2.272 MB / 4.467 GB, free: 89.15 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/14.16, allocations: 1.39 MB / 4.469 GB, free: 87.73 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003126/14.16, allocations: 409.7 kB / 4.469 GB, free: 87.36 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/14.16, allocations: 0.5852 MB / 4.469 GB, free: 86.77 MB / 0.8855 GB Notification: Performance of SimCode: time 1.453e-06/14.16, allocations: 0 / 4.469 GB, free: 86.77 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1678/14.33, allocations: 58.08 MB / 4.526 GB, free: 29.46 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/14.33, allocations: 197.4 kB / 4.526 GB, free: 29.26 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.327/19.66, allocations: 0 / 4.526 GB, free: 29.26 MB / 0.8855 GB