Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.629/1.629, allocations: 288.2 MB / 303.2 MB, free: 8.094 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 185 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.4 MB / 0.6305 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 94.81 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004023, allocations: 16.25 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2134, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.02768/0.2411, allocations: 35.25 MB / 1.014 GB, free: 8.266 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01109/0.2522, allocations: 7.68 MB / 1.021 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.2535, allocations: 35.75 kB / 1.021 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.2551, allocations: 0.5053 MB / 1.022 GB, free: 28 kB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003463/0.2586, allocations: 1.161 MB / 1.023 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.262, allocations: 1.172 MB / 1.024 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002474/0.2644, allocations: 1.487 MB / 1.026 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009237/0.2654, allocations: 0.6495 MB / 1.026 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.2667, allocations: 0.7278 MB / 1.027 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005701/0.2673, allocations: 481.8 kB / 1.027 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 8.866e-05/0.2674, allocations: 36 kB / 1.028 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.269, allocations: 0.7372 MB / 1.028 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002039/0.2692, allocations: 223.1 kB / 1.028 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.2695, allocations: 253.1 kB / 1.029 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.2712, allocations: 1.66 MB / 1.03 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2712, allocations: 0 / 1.03 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2712, allocations: 0 / 1.03 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.2712, allocations: 0 / 1.03 GB, free: 7.445 MB / 0.6511 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.002375/0.2736, allocations: 1.507 MB / 1.032 GB, free: 5.844 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.2737, allocations: 16.03 kB / 1.032 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/0.2738, allocations: 102.5 kB / 1.032 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.2741, allocations: 134.4 kB / 1.032 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/0.2758, allocations: 1.128 MB / 1.033 GB, free: 4.41 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/0.2759, allocations: 53.25 kB / 1.033 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.276, allocations: 68 kB / 1.033 GB, free: 4.293 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.2774, allocations: 0.8019 MB / 1.034 GB, free: 3.469 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.2774, allocations: 0 / 1.034 GB, free: 3.469 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.617e-05/0.2775, allocations: 28 kB / 1.034 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.2775, allocations: 16 kB / 1.034 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.2786, allocations: 0.6219 MB / 1.035 GB, free: 2.805 MB / 0.6511 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.003866/0.2824, allocations: 3.131 MB / 1.038 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007373/0.2832, allocations: 461.3 kB / 1.038 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000775/0.284, allocations: 0.7791 MB / 1.039 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.284, allocations: 42.56 kB / 1.039 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=38): time 1.844e-06/0.284, allocations: 0 / 1.039 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of matching and sorting (n=38): time 0.001719/0.2858, allocations: 1.243 MB / 1.04 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.2858, allocations: 140.4 kB / 1.04 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.2871, allocations: 1.004 MB / 1.041 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/0.2871, allocations: 33.7 kB / 1.041 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003801/0.2875, allocations: 468.4 kB / 1.042 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.2876, allocations: 134.1 kB / 1.042 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.2877, allocations: 8 kB / 1.042 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2878, allocations: 326 kB / 1.042 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005027/0.2883, allocations: 328.8 kB / 1.043 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005957/0.2889, allocations: 443.5 kB / 1.043 GB, free: 9.781 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006442/0.2896, allocations: 0.5235 MB / 1.043 GB, free: 9.223 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2896, allocations: 0 / 1.043 GB, free: 9.223 MB / 0.6667 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001463/0.291, allocations: 1.072 MB / 1.045 GB, free: 8.109 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004141/0.2915, allocations: 0.9665 MB / 1.045 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.2915, allocations: 4 kB / 1.045 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.2915, allocations: 4 kB / 1.045 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/0.2919, allocations: 91.89 kB / 1.046 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.2919, allocations: 8 kB / 1.046 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007127/0.2926, allocations: 117 kB / 1.046 GB, free: 6.828 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.2927, allocations: 27.98 kB / 1.046 GB, free: 6.801 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.2927, allocations: 5.406 kB / 1.046 GB, free: 6.797 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001453/0.2942, allocations: 1.074 MB / 1.047 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.2942, allocations: 0 / 1.047 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.2942, allocations: 8.203 kB / 1.047 GB, free: 5.676 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.2946, allocations: 99.88 kB / 1.047 GB, free: 5.578 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.2946, allocations: 4 kB / 1.047 GB, free: 5.574 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00061/0.2952, allocations: 103.4 kB / 1.047 GB, free: 5.473 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/0.2953, allocations: 24 kB / 1.047 GB, free: 5.449 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (54): * Single equations (assignments): 48 * 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.000572/0.2958, allocations: 486.8 kB / 1.047 GB, free: 4.945 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.296, allocations: 98.78 kB / 1.048 GB, free: 4.848 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.2974, allocations: 0.9192 MB / 1.048 GB, free: 3.906 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.2974, allocations: 8 kB / 1.048 GB, free: 3.898 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2974, allocations: 0 / 1.048 GB, free: 3.898 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001035/0.2984, allocations: 0.9878 MB / 1.049 GB, free: 2.824 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002875/0.3013, allocations: 2.082 MB / 1.051 GB, free: 0.6211 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.3013, allocations: 4 kB / 1.051 GB, free: 0.6172 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.3016, allocations: 72.19 kB / 1.052 GB, free: 0.5469 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.3016, allocations: 4 kB / 1.052 GB, free: 0.543 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.3017, allocations: 23.98 kB / 1.052 GB, free: 0.5195 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.3017, allocations: 7.938 kB / 1.052 GB, free: 0.5117 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3017, allocations: 0 / 1.052 GB, free: 0.5117 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.3036, allocations: 1.527 MB / 1.053 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004038/0.304, allocations: 291.6 kB / 1.053 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.3041, allocations: 19.95 kB / 1.053 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/0.3047, allocations: 56 kB / 1.053 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.3048, allocations: 43.94 kB / 1.053 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/0.3049, allocations: 23.98 kB / 1.053 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009255/0.3058, allocations: 0.718 MB / 1.054 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3058, allocations: 0 / 1.054 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001366/0.3072, allocations: 0.5148 MB / 1.055 GB, free: 13.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_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.003061/0.3103, allocations: 2.951 MB / 1.058 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002205/0.3125, allocations: 1.919 MB / 1.059 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3125, allocations: 0 / 1.059 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006599/0.3132, allocations: 0.5453 MB / 1.06 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/0.3154, allocations: 0.5082 MB / 1.06 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004398/0.3198, allocations: 4.127 MB / 1.064 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006611/0.3205, allocations: 1.083 MB / 1.066 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008342/0.3213, allocations: 217.3 kB / 1.066 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004703/0.3218, allocations: 387.2 kB / 1.066 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of SimCode: time 6.71e-07/0.3218, allocations: 0 / 1.066 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4663/0.7881, allocations: 31.57 MB / 1.097 GB, free: 79.21 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/0.7884, allocations: 257.4 kB / 1.097 GB, free: 78.87 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.868/3.657, allocations: 0.875 kB / 1.097 GB, free: 78.87 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)