Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",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.259/2.259, 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.001503/0.001502, allocations: 183.3 kB / 315.4 MB, free: 3.992 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.064/2.064, allocations: 205.3 MB / 0.5662 GB, free: 0.543 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.001127/0.001127, allocations: 93.09 kB / 0.6704 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.042e-05/3.054e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2556, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.172/7.428, allocations: 2.208 GB / 3.092 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/7.428, allocations: 88.5 kB / 3.092 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.122/12.55, allocations: 0.9572 GB / 4.049 GB, free: 146.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.104e-06/12.55, allocations: 0 / 4.049 GB, free: 146.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001554/12.55, allocations: 31.55 kB / 4.049 GB, free: 146.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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.008621/12.56, allocations: 1.736 MB / 4.051 GB, free: 146 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/12.56, allocations: 9.938 kB / 4.051 GB, free: 146 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005345/12.56, allocations: 0.5434 MB / 4.051 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004035/12.57, allocations: 1.052 MB / 4.052 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001103/12.57, allocations: 163.9 kB / 4.052 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004014/12.57, allocations: 59.22 kB / 4.052 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002749/12.57, allocations: 1.029 MB / 4.053 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0026/12.58, allocations: 1.019 MB / 4.054 GB, free: 145.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/12.58, allocations: 3.656 kB / 4.054 GB, free: 145.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/12.58, allocations: 3.812 kB / 4.054 GB, free: 145.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.969e-05/12.58, allocations: 46.55 kB / 4.054 GB, free: 145.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.01124/12.59, allocations: 4.006 MB / 4.058 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/12.59, allocations: 0.7251 MB / 4.059 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/12.59, allocations: 0.4891 MB / 4.06 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001394/12.59, allocations: 0.6142 MB / 4.06 GB, free: 143.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/12.59, allocations: 42.03 kB / 4.06 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 2.896e-06/12.59, allocations: 2.781 kB / 4.06 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.004105/12.6, allocations: 1.128 MB / 4.061 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/12.6, allocations: 59.69 kB / 4.061 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/12.6, allocations: 0.5644 MB / 4.062 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002049/12.6, allocations: 25.7 kB / 4.062 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003702/12.6, allocations: 457 kB / 4.062 GB, free: 142.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/12.6, allocations: 254.6 kB / 4.063 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.236e-05/12.6, allocations: 0 / 4.063 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.613e-05/12.6, allocations: 332.3 kB / 4.063 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000941/12.6, allocations: 401.5 kB / 4.063 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/12.6, allocations: 0.5181 MB / 4.064 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/12.6, allocations: 0.5824 MB / 4.064 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/12.6, allocations: 0 / 4.064 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00376/12.61, allocations: 1.176 MB / 4.066 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001749/12.61, allocations: 483.1 kB / 4.066 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/12.61, allocations: 0 / 4.066 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.903e-05/12.61, allocations: 7.406 kB / 4.066 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003135/12.61, allocations: 278.1 kB / 4.066 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008408/12.61, allocations: 1.209 MB / 4.067 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/12.61, allocations: 170.5 kB / 4.068 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/12.61, allocations: 41.66 kB / 4.068 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/12.61, allocations: 3.594 kB / 4.068 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003433/12.62, allocations: 1.064 MB / 4.069 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/12.62, allocations: 0 / 4.069 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/12.62, allocations: 6.906 kB / 4.069 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002436/12.62, allocations: 268.8 kB / 4.069 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/12.62, allocations: 3.562 kB / 4.069 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002397/12.62, allocations: 169.6 kB / 4.069 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002002/12.62, allocations: 42.47 kB / 4.069 GB, free: 140.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005422/12.62, allocations: 121.4 kB / 4.069 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003785/12.63, allocations: 1.075 MB / 4.07 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003162/12.63, allocations: 91.62 kB / 4.07 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003619/12.63, allocations: 1.197 MB / 4.072 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/12.63, allocations: 7.531 kB / 4.072 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/12.63, allocations: 7.219 kB / 4.072 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/12.63, allocations: 3.891 kB / 4.072 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007923/12.64, allocations: 2.588 MB / 4.074 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/12.64, allocations: 7.5 kB / 4.074 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002502/12.64, allocations: 258 kB / 4.074 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.727e-05/12.64, allocations: 7.031 kB / 4.074 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/12.64, allocations: 17.8 kB / 4.074 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00057/12.64, allocations: 1.197 MB / 4.076 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/12.64, allocations: 3.906 kB / 4.076 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003523/12.64, allocations: 1.486 MB / 4.077 GB, free: 138 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008533/12.65, allocations: 310 kB / 4.077 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/12.65, allocations: 7.484 kB / 4.077 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002375/12.65, allocations: 161.2 kB / 4.077 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/12.65, allocations: 55.62 kB / 4.078 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/12.65, allocations: 44.3 kB / 4.078 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007723/12.65, allocations: 445 kB / 4.078 GB, free: 137.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.11e-07/12.65, allocations: 0 / 4.078 GB, free: 137.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002974/12.65, allocations: 0.6734 MB / 4.079 GB, free: 137.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007991/12.66, allocations: 5.583 MB / 4.084 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004373/12.66, allocations: 1.62 MB / 4.086 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/12.66, allocations: 0 / 4.086 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001408/12.67, allocations: 0.5222 MB / 4.086 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003749/12.67, allocations: 423.8 kB / 4.087 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02699/12.7, allocations: 2.509 MB / 4.089 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000714/12.7, allocations: 1.121 MB / 4.09 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003362/12.7, allocations: 448.9 kB / 4.091 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009491/12.7, allocations: 377.7 kB / 4.091 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.403e-06/12.7, allocations: 0 / 4.091 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.121/12.82, allocations: 43.51 MB / 4.133 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/12.82, allocations: 180.8 kB / 4.134 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.495/17.32, allocations: 0 / 4.134 GB, free: 107.4 MB / 0.8855 GB