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.331/1.331, allocations: 252 MB / 267.3 MB, free: 10.8 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.001039/0.001039, allocations: 181 kB / 327 MB, free: 2.066 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.593/1.593, allocations: 205.4 MB / 0.578 GB, free: 20.08 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.0007664/0.0007664, allocations: 97.72 kB / 0.6826 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003697, allocations: 12.83 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2131, allocations: 106.3 MB / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002244/0.2154, allocations: 1.8 MB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001953/0.2174, allocations: 1.248 MB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.2176, allocations: 3.938 kB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004233/0.2181, allocations: 95.55 kB / 0.904 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.2183, allocations: 39.72 kB / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007602/0.219, allocations: 199.7 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003182/0.2194, allocations: 271.2 kB / 0.9045 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.2196, allocations: 91.05 kB / 0.9046 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.2197, allocations: 75.69 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.2199, allocations: 111.4 kB / 0.9048 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.438e-05/0.2199, allocations: 12 kB / 0.9048 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003559/0.2203, allocations: 195.7 kB / 0.905 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.2204, allocations: 75.75 kB / 0.905 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.2205, allocations: 152.9 kB / 0.9052 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005297/0.2211, allocations: 0.5142 MB / 0.9057 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2211, allocations: 4 kB / 0.9057 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.926e-06/0.2211, allocations: 0 / 0.9057 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.2211, allocations: 4 kB / 0.9057 GB, free: 58.3 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.0009853/0.2221, allocations: 0.7677 MB / 0.9064 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.2222, allocations: 8.031 kB / 0.9064 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.715e-05/0.2222, allocations: 54.67 kB / 0.9065 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.2223, allocations: 40.47 kB / 0.9065 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.2227, allocations: 312.4 kB / 0.9068 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.2227, allocations: 16.66 kB / 0.9068 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.2228, allocations: 16.38 kB / 0.9069 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/0.2233, allocations: 318.8 kB / 0.9072 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.2234, allocations: 0 / 0.9072 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.2234, allocations: 4 kB / 0.9072 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2234, allocations: 4 kB / 0.9072 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005887/0.224, allocations: 307.7 kB / 0.9075 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008846/0.2249, allocations: 0.6794 MB / 0.9081 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005012/0.2254, allocations: 242.6 kB / 0.9084 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003494/0.2258, allocations: 208.7 kB / 0.9086 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.2258, allocations: 3.984 kB / 0.9086 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.2258, allocations: 38.56 kB / 0.9086 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.2258, allocations: 4 kB / 0.9086 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.001205/0.227, allocations: 0.72 MB / 0.9093 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.2271, allocations: 136.5 kB / 0.9094 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.2274, allocations: 380.5 kB / 0.9098 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.2275, allocations: 33.7 kB / 0.9098 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.141e-05/0.2276, allocations: 168.2 kB / 0.91 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.2276, allocations: 47.38 kB / 0.91 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.356e-05/0.2276, allocations: 4 kB / 0.91 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.2277, allocations: 346.8 kB / 0.9104 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003789/0.2281, allocations: 255.8 kB / 0.9106 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/0.2284, allocations: 249.3 kB / 0.9109 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007485/0.2292, allocations: 0.7187 MB / 0.9116 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2292, allocations: 0 / 0.9116 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008857/0.2301, allocations: 0.7608 MB / 0.9123 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.212e-05/0.2302, allocations: 186.2 kB / 0.9125 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2302, allocations: 8 kB / 0.9125 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.2302, allocations: 0 / 0.9125 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.2304, allocations: 39.91 kB / 0.9125 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.2305, allocations: 0 / 0.9125 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.2307, allocations: 59.72 kB / 0.9126 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.2307, allocations: 8 kB / 0.9126 GB, free: 50.8 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.2309, allocations: 258.8 kB / 0.9128 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.2309, allocations: 27.72 kB / 0.9129 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.498e-05/0.231, allocations: 26.94 kB / 0.9129 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.231, allocations: 4 kB / 0.9129 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.231, allocations: 4 kB / 0.9129 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.231, allocations: 0 / 0.9129 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.2313, allocations: 353.2 kB / 0.9132 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2313, allocations: 0 / 0.9132 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.2315, allocations: 43.91 kB / 0.9133 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2315, allocations: 0 / 0.9133 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.2315, allocations: 4 kB / 0.9133 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2315, allocations: 3.938 kB / 0.9133 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2315, allocations: 8 kB / 0.9133 GB, free: 50 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008178/0.2323, allocations: 0.6484 MB / 0.9139 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.2324, allocations: 104.8 kB / 0.914 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.2325, allocations: 8 kB / 0.914 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.2327, allocations: 39.95 kB / 0.9141 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.2328, allocations: 27.97 kB / 0.9141 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.2328, allocations: 4 kB / 0.9141 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002297/0.2331, allocations: 271 kB / 0.9144 GB, free: 48.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2331, allocations: 4 kB / 0.9144 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003917/0.2335, allocations: 111.8 kB / 0.9145 GB, free: 48.74 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.001208/0.2347, allocations: 1.249 MB / 0.9157 GB, free: 47.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009344/0.2356, allocations: 0.875 MB / 0.9165 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2356, allocations: 0 / 0.9165 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004047/0.2361, allocations: 390.1 kB / 0.9169 GB, free: 46.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.2365, allocations: 69.33 kB / 0.917 GB, free: 46.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004993/0.2415, allocations: 4.584 MB / 0.9215 GB, free: 41.31 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.2417, allocations: 0.7792 MB / 0.9222 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.932e-05/0.2419, allocations: 17.95 kB / 0.9222 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.242, allocations: 103.3 kB / 0.9223 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of SimCode: time 1.213e-06/0.242, allocations: 3.938 kB / 0.9223 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.2615, allocations: 7.951 MB / 0.9301 GB, free: 32.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/0.2617, allocations: 255.4 kB / 0.9303 GB, free: 32.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/2.612, allocations: 0 / 0.9303 GB, free: 32.45 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)