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.206/2.206, allocations: 251 MB / 265.9 MB, free: 11.71 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001601/0.001601, allocations: 181.1 kB / 325.5 MB, free: 2.895 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.388/2.388, allocations: 205.4 MB / 0.5764 GB, free: 20.81 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.001165/0.001165, allocations: 96.09 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005163/0.0005163, allocations: 12.22 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2151, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.72/7.935, allocations: 2.459 GB / 3.358 GB, free: 61.25 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003798/7.936, allocations: 103.8 kB / 3.358 GB, free: 61.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.569/13.5, allocations: 1.083 GB / 4.441 GB, free: 5.531 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.175e-06/13.5, allocations: 4 kB / 4.441 GB, free: 5.527 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0003023/13.51, allocations: 51.98 kB / 4.441 GB, free: 5.477 MB / 0.9011 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.01019/13.52, allocations: 2.423 MB / 4.443 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/13.52, allocations: 16.02 kB / 4.443 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009662/13.52, allocations: 202.8 kB / 4.443 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003231/13.52, allocations: 373.1 kB / 4.444 GB, free: 2.43 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006685/13.53, allocations: 1.652 MB / 4.445 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/13.53, allocations: 110.7 kB / 4.446 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004951/13.53, allocations: 144 kB / 4.446 GB, free: 488 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7591/14.29, allocations: 1.474 MB / 4.447 GB, free: 110.9 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.753e-05/14.29, allocations: 2.438 kB / 4.447 GB, free: 110.9 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002284/14.29, allocations: 57.03 kB / 4.447 GB, free: 110.9 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.918e-05/14.29, allocations: 52.75 kB / 4.447 GB, free: 110.9 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004355/14.29, allocations: 1.126 MB / 4.448 GB, free: 110.9 MB / 0.9011 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.01551/14.31, allocations: 7.164 MB / 4.455 GB, free: 107.2 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/14.31, allocations: 0.8677 MB / 4.456 GB, free: 107 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/14.31, allocations: 0.714 MB / 4.457 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/14.31, allocations: 42.09 kB / 4.457 GB, free: 106.2 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=75): time 4.268e-06/14.31, allocations: 6.328 kB / 4.457 GB, free: 106.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=75): time 0.01367/14.32, allocations: 2.206 MB / 4.459 GB, free: 105.8 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/14.32, allocations: 60.27 kB / 4.459 GB, free: 105.8 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003406/14.33, allocations: 1.144 MB / 4.46 GB, free: 105.6 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003136/14.33, allocations: 45.3 kB / 4.46 GB, free: 105.6 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000946/14.33, allocations: 0.8021 MB / 4.461 GB, free: 105.3 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005153/14.33, allocations: 258.1 kB / 4.461 GB, free: 105.2 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.903e-05/14.33, allocations: 16.75 kB / 4.461 GB, free: 105.2 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001141/14.33, allocations: 338.2 kB / 4.462 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/14.33, allocations: 317.6 kB / 4.462 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/14.33, allocations: 0.5988 MB / 4.463 GB, free: 104.6 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/14.33, allocations: 409.7 kB / 4.463 GB, free: 104.6 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/14.33, allocations: 1.812 kB / 4.463 GB, free: 104.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004189/14.34, allocations: 1.197 MB / 4.464 GB, free: 104.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.000454/14.34, allocations: 1.793 MB / 4.466 GB, free: 102.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/14.34, allocations: 8.359 kB / 4.466 GB, free: 102.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003031/14.34, allocations: 389 kB / 4.466 GB, free: 102.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/14.34, allocations: 147.3 kB / 4.466 GB, free: 102.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/14.35, allocations: 2.083 MB / 4.468 GB, free: 100.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/14.35, allocations: 182.7 kB / 4.469 GB, free: 100.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002043/14.35, allocations: 38.97 kB / 4.469 GB, free: 100.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/14.35, allocations: 4.406 kB / 4.469 GB, free: 100.9 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003479/14.35, allocations: 1.023 MB / 4.47 GB, free: 100.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/14.35, allocations: 4.188 kB / 4.47 GB, free: 100.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002724/14.35, allocations: 383.9 kB / 4.47 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/14.36, allocations: 149.9 kB / 4.47 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004478/14.36, allocations: 3.879 MB / 4.474 GB, free: 97.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002499/14.36, allocations: 171.6 kB / 4.474 GB, free: 97.64 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/14.36, allocations: 39.3 kB / 4.474 GB, free: 97.64 MB / 0.9011 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.001375/14.36, allocations: 474.6 kB / 4.475 GB, free: 97.45 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005447/14.37, allocations: 156.2 kB / 4.475 GB, free: 97.37 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003621/14.37, allocations: 1.168 MB / 4.476 GB, free: 97.26 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/14.37, allocations: 7.75 kB / 4.476 GB, free: 97.26 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/14.37, allocations: 3.969 kB / 4.476 GB, free: 97.26 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002755/14.37, allocations: 1.252 MB / 4.477 GB, free: 96.78 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008093/14.38, allocations: 2.734 MB / 4.48 GB, free: 96.35 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/14.38, allocations: 7 kB / 4.48 GB, free: 96.35 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009408/14.38, allocations: 110.1 kB / 4.48 GB, free: 96.35 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002762/14.38, allocations: 393.5 kB / 4.48 GB, free: 96.32 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002049/14.38, allocations: 18.12 kB / 4.48 GB, free: 96.32 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/14.39, allocations: 2.078 MB / 4.482 GB, free: 94.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/14.39, allocations: 6.375 kB / 4.482 GB, free: 94.75 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003676/14.39, allocations: 1.39 MB / 4.484 GB, free: 94.23 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001323/14.39, allocations: 350.8 kB / 4.484 GB, free: 94.06 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004792/14.39, allocations: 13.31 kB / 4.484 GB, free: 94.06 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002343/14.39, allocations: 122.6 kB / 4.484 GB, free: 94.06 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002543/14.39, allocations: 48.98 kB / 4.484 GB, free: 94.06 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/14.39, allocations: 34.3 kB / 4.484 GB, free: 94.05 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002377/14.4, allocations: 0.8936 MB / 4.485 GB, free: 93.95 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.182e-06/14.4, allocations: 0 / 4.485 GB, free: 93.95 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00607/14.4, allocations: 1.103 MB / 4.486 GB, free: 93.89 MB / 0.9011 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.008991/14.41, allocations: 4.709 MB / 4.491 GB, free: 91.64 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.005729/14.42, allocations: 1.603 MB / 4.492 GB, free: 91.4 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/14.42, allocations: 2.156 kB / 4.492 GB, free: 91.4 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001906/14.42, allocations: 499.2 kB / 4.493 GB, free: 91.38 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00736/14.43, allocations: 0.8027 MB / 4.494 GB, free: 91.38 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02534/14.45, allocations: 11.83 MB / 4.505 GB, free: 85.18 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/14.45, allocations: 1.379 MB / 4.507 GB, free: 84.46 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002483/14.46, allocations: 333.4 kB / 4.507 GB, free: 84.45 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/14.46, allocations: 0.6379 MB / 4.507 GB, free: 84.44 MB / 0.9011 GB Notification: Performance of SimCode: time 1.443e-06/14.46, allocations: 0 / 4.507 GB, free: 84.44 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1748/14.63, allocations: 75.61 MB / 4.581 GB, free: 82.32 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002633/14.63, allocations: 268 kB / 4.582 GB, free: 81.97 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.767/20.4, allocations: 0 / 4.582 GB, free: 81.97 MB / 0.9011 GB