Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000867/0.0008669, allocations: 86.56 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009836/0.0009838, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.711/1.711, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.0004799, allocations: 15.28 kB / 0.6738 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2148, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002124/0.217, allocations: 1.751 MB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.2187, allocations: 1.12 MB / 0.7902 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.503e-05/0.2188, allocations: 4 kB / 0.7902 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.2191, allocations: 91.55 kB / 0.7903 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.638e-05/0.2192, allocations: 39.72 kB / 0.7903 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005657/0.2198, allocations: 183.7 kB / 0.7905 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.2201, allocations: 251.2 kB / 0.7908 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.2203, allocations: 82 kB / 0.7908 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.885e-05/0.2204, allocations: 83.69 kB / 0.7909 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.2205, allocations: 103.5 kB / 0.791 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.2205, allocations: 8 kB / 0.791 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002737/0.2208, allocations: 187.7 kB / 0.7912 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.572e-05/0.2209, allocations: 67.75 kB / 0.7913 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.309e-05/0.221, allocations: 81.52 kB / 0.7913 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.2213, allocations: 415 kB / 0.7917 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.2213, allocations: 0 / 0.7917 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2213, allocations: 0 / 0.7917 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2213, allocations: 0 / 0.7917 GB, free: 7.344 MB / 0.6075 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.0009258/0.2223, allocations: 0.7737 MB / 0.7925 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2223, allocations: 8.031 kB / 0.7925 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.91e-05/0.2224, allocations: 54.55 kB / 0.7926 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.2225, allocations: 43.52 kB / 0.7926 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.2228, allocations: 311.3 kB / 0.7929 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.2229, allocations: 16.28 kB / 0.7929 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.2229, allocations: 16 kB / 0.7929 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005711/0.2235, allocations: 302.9 kB / 0.7932 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.2235, allocations: 4 kB / 0.7932 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.2235, allocations: 8 kB / 0.7932 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2235, allocations: 0 / 0.7932 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006237/0.2242, allocations: 303.7 kB / 0.7935 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008691/0.225, allocations: 0.6794 MB / 0.7942 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.2255, allocations: 242.6 kB / 0.7944 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/0.2259, allocations: 212.7 kB / 0.7946 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.2259, allocations: 3.984 kB / 0.7946 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.226, allocations: 38.56 kB / 0.7947 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.226, allocations: 0 / 0.7947 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.001212/0.2272, allocations: 0.7091 MB / 0.7953 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.2273, allocations: 140.5 kB / 0.7955 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.2276, allocations: 380.4 kB / 0.7958 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.2277, allocations: 33.7 kB / 0.7959 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.2278, allocations: 164.3 kB / 0.796 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.2278, allocations: 47.55 kB / 0.7961 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.2278, allocations: 7.938 kB / 0.7961 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.228, allocations: 338.8 kB / 0.7964 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004093/0.2284, allocations: 259.8 kB / 0.7967 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00039/0.2288, allocations: 251.9 kB / 0.7969 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005077/0.2293, allocations: 418.1 kB / 0.7973 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2293, allocations: 4 kB / 0.7973 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001034/0.2303, allocations: 0.7672 MB / 0.7981 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.2305, allocations: 182.2 kB / 0.7982 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2305, allocations: 0 / 0.7982 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2305, allocations: 0 / 0.7982 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.2307, allocations: 43.97 kB / 0.7983 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.2307, allocations: 3.953 kB / 0.7983 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.2309, allocations: 55.66 kB / 0.7983 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.231, allocations: 11.94 kB / 0.7983 GB, free: 180 kB / 0.6075 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.0002582/0.2312, allocations: 258.8 kB / 0.7986 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.2313, allocations: 27.72 kB / 0.7986 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.905e-05/0.2313, allocations: 34.94 kB / 0.7986 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2314, allocations: 0 / 0.7986 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2314, allocations: 0 / 0.7986 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.2314, allocations: 3.953 kB / 0.7986 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003626/0.2317, allocations: 345.3 kB / 0.799 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2318, allocations: 0 / 0.799 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.2319, allocations: 39.97 kB / 0.799 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2319, allocations: 0 / 0.799 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.232, allocations: 4 kB / 0.799 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.232, allocations: 0 / 0.799 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.232, allocations: 0 / 0.799 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009586/0.2329, allocations: 0.6562 MB / 0.7997 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.052e-05/0.233, allocations: 116.6 kB / 0.7998 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.2331, allocations: 8 kB / 0.7998 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.2333, allocations: 39.95 kB / 0.7998 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.2334, allocations: 31.95 kB / 0.7998 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.2335, allocations: 8 kB / 0.7999 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002715/0.2337, allocations: 267 kB / 0.8001 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2337, allocations: 0 / 0.8001 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000407/0.2342, allocations: 108 kB / 0.8002 GB, free: 14.12 MB / 0.6231 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.001402/0.2356, allocations: 1.246 MB / 0.8014 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.2367, allocations: 0.8676 MB / 0.8023 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2367, allocations: 0 / 0.8023 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005149/0.2372, allocations: 398 kB / 0.8027 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.2377, allocations: 71.77 kB / 0.8027 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00415/0.2419, allocations: 2.858 MB / 0.8055 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.2423, allocations: 0.7908 MB / 0.8063 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.2424, allocations: 17.95 kB / 0.8063 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.2425, allocations: 87.41 kB / 0.8064 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of SimCode: time 2.71e-07/0.2425, allocations: 8 kB / 0.8064 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.2616, allocations: 8.143 MB / 0.8143 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/0.2618, allocations: 230.2 kB / 0.8146 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.055, allocations: 0 / 0.8146 GB, free: 15.42 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) Environment - environmentSimulation: