Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.364/1.364, allocations: 252 MB / 267 MB, free: 10.97 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.0009597/0.0009596, allocations: 189 kB / 326.6 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205.4 MB / 0.5777 GB, free: 20.58 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.0008624/0.0008626, allocations: 89.95 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003505, allocations: 12.22 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1923, allocations: 106.3 MB / 0.9003 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00204/0.1944, allocations: 1.743 MB / 0.902 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1959, allocations: 1.14 MB / 0.9031 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.196, allocations: 4 kB / 0.9031 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.1964, allocations: 91.55 kB / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.307e-05/0.1965, allocations: 35.7 kB / 0.9033 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005716/0.1971, allocations: 187.1 kB / 0.9034 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.1973, allocations: 247.3 kB / 0.9037 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.1974, allocations: 77.8 kB / 0.9038 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.03e-05/0.1975, allocations: 83.62 kB / 0.9038 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.1977, allocations: 103.5 kB / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.1977, allocations: 12 kB / 0.9039 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.198, allocations: 183.8 kB / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.339e-05/0.1981, allocations: 71.8 kB / 0.9042 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.623e-05/0.1981, allocations: 73.52 kB / 0.9043 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.1985, allocations: 419.3 kB / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1985, allocations: 4 kB / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.214e-06/0.1985, allocations: 0 / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.1985, allocations: 0 / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009078/0.1994, allocations: 0.7698 MB / 0.9054 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1995, allocations: 8.031 kB / 0.9054 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.07e-05/0.1995, allocations: 50.55 kB / 0.9055 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.1996, allocations: 35.53 kB / 0.9055 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.1999, allocations: 311.3 kB / 0.9058 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.1999, allocations: 12.28 kB / 0.9058 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.1999, allocations: 16 kB / 0.9058 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005261/0.2005, allocations: 310.8 kB / 0.9061 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2005, allocations: 3.938 kB / 0.9061 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.2005, allocations: 11.95 kB / 0.9061 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2005, allocations: 8 kB / 0.9061 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006051/0.2011, allocations: 303.7 kB / 0.9064 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007694/0.2019, allocations: 0.6794 MB / 0.9071 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/0.2024, allocations: 242.6 kB / 0.9073 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.2027, allocations: 208.7 kB / 0.9075 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.2028, allocations: 0 / 0.9075 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.2028, allocations: 42.45 kB / 0.9076 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.2028, allocations: 0 / 0.9076 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.001185/0.204, allocations: 0.7171 MB / 0.9083 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.204, allocations: 136.5 kB / 0.9084 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.2044, allocations: 376.4 kB / 0.9088 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.2044, allocations: 29.7 kB / 0.9088 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.95e-05/0.2045, allocations: 168.3 kB / 0.9089 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.2045, allocations: 51.3 kB / 0.909 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.347e-05/0.2045, allocations: 4 kB / 0.909 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.2046, allocations: 338.9 kB / 0.9093 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/0.205, allocations: 259.8 kB / 0.9096 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.2054, allocations: 253.9 kB / 0.9098 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.2058, allocations: 422.1 kB / 0.9102 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2058, allocations: 3.938 kB / 0.9102 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009006/0.2067, allocations: 0.7565 MB / 0.911 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.74e-05/0.2068, allocations: 184.9 kB / 0.9111 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2068, allocations: 3.953 kB / 0.9111 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.2068, allocations: 0 / 0.9111 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.207, allocations: 39.97 kB / 0.9112 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.207, allocations: 3.984 kB / 0.9112 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.2073, allocations: 59.72 kB / 0.9112 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.2073, allocations: 8 kB / 0.9112 GB, free: 52.55 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * 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.0001633/0.2075, allocations: 262.8 kB / 0.9115 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.966e-05/0.2075, allocations: 31.62 kB / 0.9115 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/0.2076, allocations: 30.92 kB / 0.9116 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2076, allocations: 7.953 kB / 0.9116 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2076, allocations: 0 / 0.9116 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2076, allocations: 0 / 0.9116 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.2078, allocations: 345.3 kB / 0.9119 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2078, allocations: 0 / 0.9119 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.208, allocations: 39.97 kB / 0.9119 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.208, allocations: 0 / 0.9119 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.208, allocations: 8 kB / 0.9119 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.208, allocations: 0 / 0.9119 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2081, allocations: 11.89 kB / 0.9119 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008142/0.2089, allocations: 0.6445 MB / 0.9126 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.2089, allocations: 112.7 kB / 0.9127 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.209, allocations: 4 kB / 0.9127 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.2092, allocations: 47.91 kB / 0.9127 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.2093, allocations: 23.92 kB / 0.9128 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.2094, allocations: 12 kB / 0.9128 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002114/0.2096, allocations: 271 kB / 0.913 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2096, allocations: 0 / 0.913 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003824/0.21, allocations: 107.8 kB / 0.9131 GB, free: 50.48 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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 Backend phase and start with SimCode phase: time 0.001122/0.2111, allocations: 1.245 MB / 0.9143 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009251/0.212, allocations: 0.8642 MB / 0.9152 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2121, allocations: 4 kB / 0.9152 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000404/0.2125, allocations: 394 kB / 0.9156 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.2129, allocations: 61.39 kB / 0.9156 GB, free: 47.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.2163, allocations: 2.843 MB / 0.9184 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.2165, allocations: 0.787 MB / 0.9192 GB, free: 44.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.821e-05/0.2166, allocations: 25.94 kB / 0.9192 GB, free: 44.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.2167, allocations: 84.53 kB / 0.9193 GB, free: 43.96 MB / 0.6042 GB Notification: Performance of SimCode: time 3.6e-07/0.2167, allocations: 0 / 0.9193 GB, free: 43.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01742/0.2341, allocations: 8.174 MB / 0.9273 GB, free: 36.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000149/0.2343, allocations: 237.5 kB / 0.9275 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/2.226, allocations: 4 kB / 0.9275 GB, free: 35.81 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)