Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",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.138/2.138, allocations: 251 MB / 265.9 MB, free: 11.68 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.001579/0.001579, allocations: 174.1 kB / 325.5 MB, free: 2.898 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.392/2.392, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.001174/0.001173, allocations: 95.48 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006529/0.0006531, allocations: 16.56 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2239, allocations: 106.3 MB / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.228/1.452, allocations: 405 MB / 1.294 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003825/1.453, allocations: 113.9 kB / 1.294 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.739/3.191, allocations: 352.4 MB / 1.639 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.184e-06/3.191, allocations: 0 / 1.639 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001343/3.192, allocations: 27.94 kB / 1.639 GB, free: 115.1 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.004359/3.196, allocations: 1.647 MB / 1.64 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/3.196, allocations: 11.97 kB / 1.64 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003466/3.196, allocations: 118.4 kB / 1.64 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005064/3.197, allocations: 126.5 kB / 1.64 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003587/3.2, allocations: 1.171 MB / 1.642 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.789e-05/3.201, allocations: 49.31 kB / 1.642 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/3.201, allocations: 75.89 kB / 1.642 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/3.203, allocations: 0.798 MB / 1.642 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/3.203, allocations: 0 / 1.642 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.565e-05/3.203, allocations: 31.95 kB / 1.642 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/3.203, allocations: 16 kB / 1.642 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/3.205, allocations: 0.6142 MB / 1.643 GB, free: 110.2 MB / 0.8855 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.00605/3.211, allocations: 3.105 MB / 1.646 GB, free: 107 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/3.212, allocations: 471.3 kB / 1.647 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008497/3.213, allocations: 0.7638 MB / 1.647 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/3.213, allocations: 38.84 kB / 1.647 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=37): time 4.489e-06/3.213, allocations: 3.984 kB / 1.647 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37): time 0.002718/3.216, allocations: 1.239 MB / 1.649 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/3.216, allocations: 148.7 kB / 1.649 GB, free: 104 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/3.218, allocations: 0.9761 MB / 1.65 GB, free: 103 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001699/3.218, allocations: 37.7 kB / 1.65 GB, free: 103 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004431/3.218, allocations: 480.5 kB / 1.65 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/3.219, allocations: 122.2 kB / 1.65 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/3.219, allocations: 8 kB / 1.65 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.586e-05/3.219, allocations: 330 kB / 1.651 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007959/3.22, allocations: 336.8 kB / 1.651 GB, free: 101.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000833/3.22, allocations: 450.2 kB / 1.651 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009041/3.221, allocations: 0.5297 MB / 1.652 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/3.221, allocations: 0 / 1.652 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002333/3.224, allocations: 1.088 MB / 1.653 GB, free: 99.57 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002571/3.224, allocations: 0.8757 MB / 1.654 GB, free: 98.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/3.224, allocations: 0 / 1.654 GB, free: 98.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/3.224, allocations: 4 kB / 1.654 GB, free: 98.61 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/3.225, allocations: 87.89 kB / 1.654 GB, free: 98.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/3.225, allocations: 4 kB / 1.654 GB, free: 98.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/3.226, allocations: 107.2 kB / 1.654 GB, free: 98.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/3.226, allocations: 31.98 kB / 1.654 GB, free: 98.38 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/3.226, allocations: 9.516 kB / 1.654 GB, free: 98.37 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002182/3.228, allocations: 1.072 MB / 1.655 GB, free: 97.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/3.228, allocations: 0 / 1.655 GB, free: 97.26 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/3.229, allocations: 7.938 kB / 1.655 GB, free: 97.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/3.229, allocations: 100 kB / 1.655 GB, free: 97.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/3.229, allocations: 4 kB / 1.655 GB, free: 97.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/3.23, allocations: 99.27 kB / 1.655 GB, free: 97.05 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/3.231, allocations: 27.98 kB / 1.655 GB, free: 97.02 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008451/3.231, allocations: 474.1 kB / 1.656 GB, free: 96.53 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003377/3.232, allocations: 102.7 kB / 1.656 GB, free: 96.43 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/3.234, allocations: 0.9054 MB / 1.657 GB, free: 95.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/3.234, allocations: 7.984 kB / 1.657 GB, free: 95.49 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/3.234, allocations: 0 / 1.657 GB, free: 95.49 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001584/3.236, allocations: 0.9951 MB / 1.658 GB, free: 94.41 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004643/3.24, allocations: 2.1 MB / 1.66 GB, free: 92.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/3.24, allocations: 4 kB / 1.66 GB, free: 92.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000527/3.241, allocations: 67.89 kB / 1.66 GB, free: 92.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.719e-06/3.241, allocations: 4 kB / 1.66 GB, free: 92.11 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.619e-05/3.241, allocations: 16 kB / 1.66 GB, free: 92.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.635e-06/3.241, allocations: 4 kB / 1.66 GB, free: 92.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/3.241, allocations: 7.938 kB / 1.66 GB, free: 92.09 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003036/3.244, allocations: 1.531 MB / 1.661 GB, free: 90.46 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009271/3.245, allocations: 291.5 kB / 1.662 GB, free: 90.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002726/3.245, allocations: 16 kB / 1.662 GB, free: 90.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009358/3.246, allocations: 51.97 kB / 1.662 GB, free: 90.09 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/3.247, allocations: 39.95 kB / 1.662 GB, free: 90.05 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.988e-05/3.247, allocations: 20 kB / 1.662 GB, free: 90.03 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001615/3.248, allocations: 0.7923 MB / 1.663 GB, free: 89.23 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.32e-07/3.248, allocations: 0 / 1.663 GB, free: 89.23 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002536/3.251, allocations: 0.5887 MB / 1.663 GB, free: 88.64 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.watFlo_mod.i,con.mod.temDif_mod.i,con.mod.airFlo_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004927/3.256, allocations: 3.249 MB / 1.666 GB, free: 85.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003269/3.259, allocations: 1.908 MB / 1.668 GB, free: 83.25 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/3.259, allocations: 0 / 1.668 GB, free: 83.25 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/3.26, allocations: 0.5525 MB / 1.669 GB, free: 82.66 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004151/3.264, allocations: 0.5036 MB / 1.669 GB, free: 82.16 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006584/3.271, allocations: 3.982 MB / 1.673 GB, free: 78.07 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006722/3.272, allocations: 1.095 MB / 1.674 GB, free: 76.94 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001371/3.273, allocations: 208 kB / 1.674 GB, free: 76.73 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000732/3.274, allocations: 375.3 kB / 1.675 GB, free: 76.37 MB / 0.8855 GB Notification: Performance of SimCode: time 1.012e-06/3.274, allocations: 0 / 1.675 GB, free: 76.37 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1057/3.38, allocations: 36.33 MB / 1.71 GB, free: 40.45 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/3.38, allocations: 242.3 kB / 1.71 GB, free: 40.18 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.942/7.322, allocations: 6.094 kB / 1.71 GB, free: 40.17 MB / 0.8855 GB