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.288/1.288, allocations: 251.5 MB / 266.7 MB, free: 11.01 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.0008673/0.0008673, allocations: 173.6 kB / 325.8 MB, free: 2.672 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.511/1.511, allocations: 205 MB / 0.576 GB, free: 21.01 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.0007215/0.0007215, allocations: 84 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003596, allocations: 12.14 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2022, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002204/0.2044, allocations: 1.829 MB / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.2063, allocations: 1.271 MB / 0.8992 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.2064, allocations: 4 kB / 0.8992 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.2068, allocations: 103.5 kB / 0.8993 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.013e-05/0.2069, allocations: 35.72 kB / 0.8994 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005686/0.2075, allocations: 203.7 kB / 0.8996 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.2077, allocations: 267.2 kB / 0.8998 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.2078, allocations: 93.27 kB / 0.8999 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.31e-05/0.2079, allocations: 79.62 kB / 0.9 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.208, allocations: 99.53 kB / 0.9001 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.2081, allocations: 8 kB / 0.9001 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000256/0.2083, allocations: 199.7 kB / 0.9003 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.543e-05/0.2084, allocations: 79.69 kB / 0.9004 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.918e-05/0.2085, allocations: 131.1 kB / 0.9005 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000373/0.2089, allocations: 0.514 MB / 0.901 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2089, allocations: 0 / 0.901 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2089, allocations: 0 / 0.901 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.2089, allocations: 0 / 0.901 GB, free: 63.14 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.0008916/0.2098, allocations: 0.7661 MB / 0.9017 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.2099, allocations: 12.03 kB / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.465e-05/0.2099, allocations: 50.67 kB / 0.9018 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.21, allocations: 36.47 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.2103, allocations: 332.3 kB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.2103, allocations: 12.66 kB / 0.9022 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.2104, allocations: 20.38 kB / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005048/0.2109, allocations: 310.8 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2109, allocations: 7.938 kB / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.2109, allocations: 8 kB / 0.9025 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.211, allocations: 4 kB / 0.9025 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005592/0.2115, allocations: 307.7 kB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008053/0.2123, allocations: 0.6716 MB / 0.9034 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004694/0.2128, allocations: 246.6 kB / 0.9037 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/0.2132, allocations: 206.5 kB / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.2132, allocations: 4 kB / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.2132, allocations: 34.56 kB / 0.9039 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/0.2132, allocations: 0 / 0.9039 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.001162/0.2144, allocations: 0.7168 MB / 0.9046 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.2144, allocations: 136.5 kB / 0.9047 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.2148, allocations: 380.5 kB / 0.9051 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.2148, allocations: 25.7 kB / 0.9051 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.12e-05/0.2149, allocations: 172.3 kB / 0.9053 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.2149, allocations: 47.33 kB / 0.9053 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.215, allocations: 29.7 kB / 0.9054 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.205e-05/0.215, allocations: 342.8 kB / 0.9057 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.2154, allocations: 259.8 kB / 0.9059 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/0.2158, allocations: 255.8 kB / 0.9062 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007448/0.2165, allocations: 0.7101 MB / 0.9069 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2165, allocations: 3.938 kB / 0.9069 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009074/0.2174, allocations: 0.7647 MB / 0.9076 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.615e-05/0.2176, allocations: 186.2 kB / 0.9078 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.2176, allocations: 0 / 0.9078 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.2176, allocations: 0 / 0.9078 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.2178, allocations: 35.97 kB / 0.9078 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.2178, allocations: 4 kB / 0.9078 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.2181, allocations: 55.72 kB / 0.9079 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.2181, allocations: 8 kB / 0.9079 GB, free: 55.62 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.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002096/0.2183, allocations: 270.8 kB / 0.9082 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/0.2184, allocations: 23.72 kB / 0.9082 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.766e-05/0.2184, allocations: 30.94 kB / 0.9082 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2185, allocations: 0 / 0.9082 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2185, allocations: 0 / 0.9082 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2185, allocations: 0 / 0.9082 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.2187, allocations: 357.2 kB / 0.9086 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2188, allocations: 0 / 0.9086 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.2189, allocations: 43.91 kB / 0.9086 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2189, allocations: 0 / 0.9086 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.2189, allocations: 11.98 kB / 0.9086 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2189, allocations: 0 / 0.9086 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.219, allocations: 0 / 0.9086 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007705/0.2197, allocations: 0.6629 MB / 0.9093 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/0.2198, allocations: 104.8 kB / 0.9094 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.2198, allocations: 4 kB / 0.9094 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.2201, allocations: 43.95 kB / 0.9094 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.2202, allocations: 23.97 kB / 0.9094 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.2202, allocations: 12 kB / 0.9094 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002202/0.2204, allocations: 267 kB / 0.9097 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2204, allocations: 0 / 0.9097 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003823/0.2208, allocations: 111.8 kB / 0.9098 GB, free: 53.55 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001171/0.222, allocations: 1.256 MB / 0.911 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009305/0.223, allocations: 0.8634 MB / 0.9119 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.223, allocations: 0 / 0.9119 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.2234, allocations: 390 kB / 0.9122 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.2238, allocations: 71.17 kB / 0.9123 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004742/0.2286, allocations: 4.571 MB / 0.9168 GB, free: 46.13 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.2288, allocations: 0.7831 MB / 0.9175 GB, free: 45.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.2289, allocations: 29.94 kB / 0.9176 GB, free: 45.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.229, allocations: 83.41 kB / 0.9176 GB, free: 45.21 MB / 0.6042 GB Notification: Performance of SimCode: time 9.72e-07/0.229, allocations: 0 / 0.9176 GB, free: 45.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1624/0.3915, allocations: 7.956 MB / 0.9254 GB, free: 37.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.3917, allocations: 257.9 kB / 0.9257 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/2.752, allocations: 0 / 0.9257 GB, free: 37.27 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)