Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.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.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Movers_Examples_ClosedLoop_y",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.189/2.189, allocations: 248.5 MB / 261.1 MB, free: 5.945 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.001498/0.001498, allocations: 184 kB / 320.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.915/1.915, allocations: 205.1 MB / 0.571 GB, free: 11.84 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.001145/0.001145, allocations: 92.72 kB / 0.6754 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.244e-05/4.256e-05, allocations: 4 kB / 0.7869 GB, free: 97.83 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.188, allocations: 106.2 MB / 0.8907 GB, free: 7.492 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.141/7.329, allocations: 2.234 GB / 3.125 GB, free: 99.54 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/7.33, allocations: 92.27 kB / 3.125 GB, free: 99.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.737/12.07, allocations: 0.7819 GB / 3.907 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.816e-06/12.07, allocations: 0 / 3.907 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003492/12.07, allocations: 44.36 kB / 3.907 GB, free: 144.6 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.008361/12.08, allocations: 1.881 MB / 3.909 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/12.08, allocations: 12.5 kB / 3.909 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007506/12.08, allocations: 152 kB / 3.909 GB, free: 144 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005195/12.08, allocations: 430.1 kB / 3.909 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009098/12.09, allocations: 1.851 MB / 3.911 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002035/12.09, allocations: 82.94 kB / 3.911 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005957/12.09, allocations: 107.6 kB / 3.911 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00403/12.1, allocations: 1.137 MB / 3.912 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.468e-05/12.1, allocations: 3.719 kB / 3.912 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002128/12.1, allocations: 51.69 kB / 3.912 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.229e-05/12.1, allocations: 33.62 kB / 3.912 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003557/12.1, allocations: 0.8142 MB / 3.913 GB, free: 143.4 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.01486/12.11, allocations: 4.96 MB / 3.918 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/12.12, allocations: 0.8346 MB / 3.919 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/12.12, allocations: 358.6 kB / 3.919 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003173/12.12, allocations: 105.8 kB / 3.919 GB, free: 141 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001291/12.12, allocations: 435.9 kB / 3.92 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001209/12.12, allocations: 90.78 kB / 3.92 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=71): time 8.617e-06/12.12, allocations: 0.9375 kB / 3.92 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=71): time 0.003366/12.13, allocations: 0.7886 MB / 3.921 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.702e-05/12.13, allocations: 188.9 kB / 3.921 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002892/12.13, allocations: 1.02 MB / 3.922 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003883/12.13, allocations: 47.48 kB / 3.922 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009351/12.13, allocations: 0.6568 MB / 3.922 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005188/12.13, allocations: 253.3 kB / 3.923 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.948e-05/12.13, allocations: 18.12 kB / 3.923 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000132/12.13, allocations: 342.6 kB / 3.923 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009087/12.13, allocations: 293 kB / 3.923 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/12.13, allocations: 0.5811 MB / 3.924 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/12.13, allocations: 402.5 kB / 3.924 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.484e-05/12.13, allocations: 1.375 kB / 3.924 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003893/12.14, allocations: 1.049 MB / 3.925 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005356/12.14, allocations: 2.075 MB / 3.927 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-05/12.14, allocations: 6.312 kB / 3.927 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005895/12.14, allocations: 76.33 kB / 3.927 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/12.14, allocations: 202.6 kB / 3.928 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/12.14, allocations: 1.206 MB / 3.929 GB, free: 136 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/12.15, allocations: 98.98 kB / 3.929 GB, free: 136 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003812/12.15, allocations: 57.11 kB / 3.929 GB, free: 136 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/12.15, allocations: 4.812 kB / 3.929 GB, free: 136 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003463/12.15, allocations: 0.9487 MB / 3.93 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.847e-05/12.15, allocations: 10.48 kB / 3.93 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007587/12.15, allocations: 112.1 kB / 3.93 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/12.15, allocations: 187.3 kB / 3.93 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006727/12.16, allocations: 2.668 MB / 3.933 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/12.16, allocations: 106.7 kB / 3.933 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003088/12.16, allocations: 44.61 kB / 3.933 GB, free: 134.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 94 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004602/12.16, allocations: 160.7 kB / 3.933 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005572/12.16, allocations: 138.8 kB / 3.933 GB, free: 134 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003207/12.17, allocations: 0.8969 MB / 3.934 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/12.17, allocations: 7.781 kB / 3.934 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/12.17, allocations: 0 / 3.934 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002329/12.17, allocations: 0.7845 MB / 3.935 GB, free: 133.8 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 postOpt removeSimpleEquations (simulation): time 0.007542/12.18, allocations: 2.227 MB / 3.937 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/12.18, allocations: 1.469 kB / 3.937 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/12.18, allocations: 167.7 kB / 3.937 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005394/12.18, allocations: 80.03 kB / 3.937 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002008/12.18, allocations: 22.8 kB / 3.937 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008054/12.18, allocations: 1.191 MB / 3.938 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/12.18, allocations: 1.969 kB / 3.938 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004094/12.18, allocations: 1.39 MB / 3.94 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/12.18, allocations: 283 kB / 3.94 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004804/12.19, allocations: 19.59 kB / 3.94 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/12.19, allocations: 105.8 kB / 3.94 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003145/12.19, allocations: 50.42 kB / 3.94 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/12.19, allocations: 28.66 kB / 3.94 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002207/12.19, allocations: 0.7959 MB / 3.941 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.52e-07/12.19, allocations: 2.906 kB / 3.941 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005666/12.2, allocations: 1.107 MB / 3.942 GB, free: 131.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01121/12.21, allocations: 4.833 MB / 3.947 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004758/12.21, allocations: 1.588 MB / 3.948 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/12.21, allocations: 3.75 kB / 3.948 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/12.21, allocations: 365.1 kB / 3.949 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005698/12.22, allocations: 0.6539 MB / 3.949 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008677/12.23, allocations: 2.486 MB / 3.952 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/12.23, allocations: 1.33 MB / 3.953 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003807/12.23, allocations: 485.1 kB / 3.953 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/12.23, allocations: 0.5423 MB / 3.954 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.653e-06/12.23, allocations: 1.062 kB / 3.954 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1904/12.42, allocations: 82.11 MB / 4.034 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002653/12.42, allocations: 212.2 kB / 4.034 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.541/18.97, allocations: 0 / 4.034 GB, free: 124.8 MB / 0.8855 GB