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.51/1.51, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001199/0.001199, allocations: 175.2 kB / 326.5 MB, free: 2.27 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.623/1.623, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008927/0.0008928, allocations: 90.95 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 13.34 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2143, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002007/0.2164, allocations: 1.74 MB / 0.9019 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.2178, allocations: 1.144 MB / 0.903 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.749e-05/0.2179, allocations: 4 kB / 0.903 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.2182, allocations: 95.53 kB / 0.9031 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.088e-05/0.2183, allocations: 43.86 kB / 0.9031 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004883/0.2188, allocations: 178.6 kB / 0.9033 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.219, allocations: 171.6 kB / 0.9034 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.2192, allocations: 67.94 kB / 0.9035 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.489e-05/0.2193, allocations: 79.67 kB / 0.9036 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.2194, allocations: 103.6 kB / 0.9037 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.2195, allocations: 8 kB / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.2197, allocations: 175.7 kB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.2198, allocations: 75.73 kB / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.763e-05/0.2199, allocations: 73.52 kB / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.2203, allocations: 423.2 kB / 0.9044 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2203, allocations: 0 / 0.9044 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2203, allocations: 0 / 0.9044 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.2203, allocations: 0 / 0.9044 GB, free: 59.49 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.00119/0.2215, allocations: 0.7698 MB / 0.9052 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.2216, allocations: 8.031 kB / 0.9052 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.499e-05/0.2217, allocations: 54.53 kB / 0.9052 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.323e-05/0.2218, allocations: 39.53 kB / 0.9053 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.2222, allocations: 307.3 kB / 0.9055 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.2222, allocations: 16.22 kB / 0.9056 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.2222, allocations: 16 kB / 0.9056 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005924/0.2228, allocations: 306.9 kB / 0.9059 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.2229, allocations: 0 / 0.9059 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.2229, allocations: 11.95 kB / 0.9059 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.2229, allocations: 4 kB / 0.9059 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006197/0.2235, allocations: 307.7 kB / 0.9062 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008865/0.2244, allocations: 0.6755 MB / 0.9068 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.2249, allocations: 242.6 kB / 0.9071 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.225, allocations: 0 / 0.9071 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.225, allocations: 34.5 kB / 0.9071 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.225, allocations: 0 / 0.9071 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.001292/0.2263, allocations: 0.9507 MB / 0.908 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.2263, allocations: 144.4 kB / 0.9082 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.2267, allocations: 376.4 kB / 0.9085 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.2267, allocations: 25.7 kB / 0.9086 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.551e-05/0.2268, allocations: 168.3 kB / 0.9087 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.2268, allocations: 51.3 kB / 0.9088 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/0.2269, allocations: 4 kB / 0.9088 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.385e-05/0.2269, allocations: 342.8 kB / 0.9091 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003804/0.2273, allocations: 252 kB / 0.9093 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.2277, allocations: 266.8 kB / 0.9096 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.2281, allocations: 422.1 kB / 0.91 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2281, allocations: 0 / 0.91 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009104/0.229, allocations: 0.757 MB / 0.9107 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.285e-05/0.2291, allocations: 182.2 kB / 0.9109 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2292, allocations: 0 / 0.9109 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2292, allocations: 7.953 kB / 0.9109 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.2293, allocations: 35.97 kB / 0.9109 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2294, allocations: 4 kB / 0.911 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.2296, allocations: 51.72 kB / 0.911 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.2296, allocations: 11.98 kB / 0.911 GB, free: 52.26 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.0001642/0.2298, allocations: 258.8 kB / 0.9113 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.2298, allocations: 31.62 kB / 0.9113 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/0.2299, allocations: 26.94 kB / 0.9113 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2299, allocations: 11.95 kB / 0.9113 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.2299, allocations: 0 / 0.9113 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2299, allocations: 0 / 0.9113 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.2302, allocations: 353.3 kB / 0.9117 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2302, allocations: 0 / 0.9117 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.2304, allocations: 31.97 kB / 0.9117 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2304, allocations: 4 kB / 0.9117 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.2304, allocations: 8 kB / 0.9117 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.2304, allocations: 3.984 kB / 0.9117 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2304, allocations: 7.938 kB / 0.9117 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008304/0.2313, allocations: 0.6496 MB / 0.9124 GB, free: 50.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.2313, allocations: 116.7 kB / 0.9125 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/0.2314, allocations: 7.984 kB / 0.9125 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.2316, allocations: 35.97 kB / 0.9125 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.2317, allocations: 27.97 kB / 0.9125 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.2317, allocations: 7.953 kB / 0.9125 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002255/0.232, allocations: 271 kB / 0.9128 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.232, allocations: 0 / 0.9128 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004176/0.2324, allocations: 111.8 kB / 0.9129 GB, free: 50.19 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.001187/0.2336, allocations: 1.241 MB / 0.9141 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009418/0.2346, allocations: 0.8634 MB / 0.915 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2346, allocations: 0 / 0.915 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004154/0.235, allocations: 398 kB / 0.9153 GB, free: 47.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.2353, allocations: 68.88 kB / 0.9154 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.2365, allocations: 0.9939 MB / 0.9164 GB, free: 46.44 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.2367, allocations: 0.7948 MB / 0.9172 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.057e-05/0.2368, allocations: 25.94 kB / 0.9172 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.2369, allocations: 87.41 kB / 0.9173 GB, free: 45.51 MB / 0.6042 GB Notification: Performance of SimCode: time 5.72e-07/0.2369, allocations: 0 / 0.9173 GB, free: 45.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.2552, allocations: 8.035 MB / 0.9251 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.2554, allocations: 235.2 kB / 0.9253 GB, free: 37.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/2.22, allocations: 0 / 0.9253 GB, free: 37.5 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)