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.161/2.161, 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.001583/0.001582, allocations: 175.3 kB / 325.5 MB, free: 2.891 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.418/2.418, allocations: 205.4 MB / 0.5764 GB, free: 20.85 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.001171/0.001171, allocations: 100.4 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005088/0.0005088, allocations: 11.47 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2281, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.261/7.489, allocations: 2.234 GB / 3.133 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/7.489, allocations: 94.2 kB / 3.133 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.109/11.6, allocations: 0.7828 GB / 3.916 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.615e-06/11.6, allocations: 0 / 3.916 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002711/11.6, allocations: 45.17 kB / 3.916 GB, free: 152.4 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.009503/11.61, allocations: 2.37 MB / 3.918 GB, free: 151.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/11.61, allocations: 13.34 kB / 3.918 GB, free: 151.3 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006626/11.61, allocations: 152.2 kB / 3.918 GB, free: 151.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004548/11.61, allocations: 432.9 kB / 3.919 GB, free: 151.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00726/11.62, allocations: 1.877 MB / 3.92 GB, free: 150.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/11.62, allocations: 87.88 kB / 3.921 GB, free: 150.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004476/11.62, allocations: 106.4 kB / 3.921 GB, free: 150.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003857/11.63, allocations: 1.193 MB / 3.922 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-05/11.63, allocations: 0 / 3.922 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000189/11.63, allocations: 48.19 kB / 3.922 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.446e-05/11.63, allocations: 32.97 kB / 3.922 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003654/11.63, allocations: 0.9143 MB / 3.923 GB, free: 150.6 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.01167/11.64, allocations: 4.96 MB / 3.928 GB, free: 148.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003566/11.64, allocations: 0.9365 MB / 3.929 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002941/11.65, allocations: 103.3 kB / 3.929 GB, free: 148 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001586/11.65, allocations: 483.1 kB / 3.929 GB, free: 147.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001005/11.65, allocations: 100.1 kB / 3.929 GB, free: 147.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=71): time 4.639e-06/11.65, allocations: 0 / 3.929 GB, free: 147.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=71): time 0.005494/11.65, allocations: 1.28 MB / 3.93 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.438e-05/11.65, allocations: 192 kB / 3.931 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00229/11.66, allocations: 1.034 MB / 3.932 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002962/11.66, allocations: 44.86 kB / 3.932 GB, free: 146.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007579/11.66, allocations: 0.6606 MB / 3.932 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003914/11.66, allocations: 245.8 kB / 3.933 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.804e-05/11.66, allocations: 19.41 kB / 3.933 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.956e-05/11.66, allocations: 340.8 kB / 3.933 GB, free: 145.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/11.66, allocations: 339.7 kB / 3.933 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/11.66, allocations: 0.6285 MB / 3.934 GB, free: 145 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/11.66, allocations: 456.4 kB / 3.934 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/11.66, allocations: 3.812 kB / 3.934 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00372/11.67, allocations: 1.148 MB / 3.935 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000543/11.67, allocations: 2.08 MB / 3.937 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.46e-05/11.67, allocations: 11.61 kB / 3.937 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004967/11.67, allocations: 70.91 kB / 3.938 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/11.67, allocations: 202.9 kB / 3.938 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008849/11.67, allocations: 1.204 MB / 3.939 GB, free: 141 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/11.67, allocations: 105.8 kB / 3.939 GB, free: 141 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/11.67, allocations: 51.8 kB / 3.939 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/11.67, allocations: 3.531 kB / 3.939 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003528/11.68, allocations: 1.034 MB / 3.94 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/11.68, allocations: 6.391 kB / 3.94 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007117/11.68, allocations: 110.5 kB / 3.94 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/11.68, allocations: 191.3 kB / 3.94 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006001/11.68, allocations: 2.724 MB / 3.943 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/11.69, allocations: 100.5 kB / 3.943 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/11.69, allocations: 46.52 kB / 3.943 GB, free: 138.4 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 () * Number of clocked 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.001259/11.69, allocations: 489.7 kB / 3.944 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004088/11.69, allocations: 133.2 kB / 3.944 GB, free: 138 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003565/11.69, allocations: 0.9783 MB / 3.945 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/11.69, allocations: 7.406 kB / 3.945 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/11.69, allocations: 3.688 kB / 3.945 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002936/11.69, allocations: 0.8737 MB / 3.946 GB, free: 137.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 postOpt removeSimpleEquations (simulation): time 0.007011/11.7, allocations: 2.314 MB / 3.948 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.916e-06/11.7, allocations: 2.078 kB / 3.948 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/11.7, allocations: 171.9 kB / 3.948 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000456/11.7, allocations: 81.31 kB / 3.948 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001483/11.7, allocations: 26.22 kB / 3.948 GB, free: 136 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007149/11.7, allocations: 1.189 MB / 3.949 GB, free: 134.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/11.7, allocations: 3.688 kB / 3.949 GB, free: 134.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004681/11.71, allocations: 1.515 MB / 3.951 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/11.71, allocations: 290 kB / 3.951 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000473/11.71, allocations: 26.02 kB / 3.951 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/11.71, allocations: 96.45 kB / 3.951 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/11.71, allocations: 55.78 kB / 3.951 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.945e-05/11.71, allocations: 30.23 kB / 3.951 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001762/11.71, allocations: 0.801 MB / 3.952 GB, free: 133.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.21e-07/11.72, allocations: 0 / 3.952 GB, free: 133.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004845/11.72, allocations: 1.113 MB / 3.953 GB, free: 132.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) * Number of clocked states: 0 () * 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.01032/11.73, allocations: 4.976 MB / 3.958 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005475/11.74, allocations: 1.682 MB / 3.96 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.455e-06/11.74, allocations: 11.34 kB / 3.96 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001643/11.74, allocations: 410.9 kB / 3.96 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005295/11.74, allocations: 0.6393 MB / 3.961 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/11.75, allocations: 7.445 MB / 3.968 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/11.75, allocations: 1.316 MB / 3.969 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002477/11.76, allocations: 338.5 kB / 3.97 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001407/11.76, allocations: 0.5657 MB / 3.97 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of SimCode: time 3.056e-06/11.76, allocations: 0 / 3.97 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1592/11.92, allocations: 73.72 MB / 4.042 GB, free: 42.19 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/11.92, allocations: 236.3 kB / 4.042 GB, free: 41.95 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.041/17.96, allocations: 0 / 4.042 GB, free: 41.95 MB / 0.8855 GB