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.0012/0.0012, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001423/0.001423, allocations: 177.3 kB / 15.94 MB, free: 228 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.819/1.819, allocations: 205.4 MB / 222.1 MB, free: 5.52 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 2.042/2.042, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0008014/0.0008015, allocations: 14.81 kB / 0.6737 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3104, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002439/0.3129, allocations: 1.74 MB / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002045/0.315, allocations: 1.124 MB / 0.79 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.3151, allocations: 8 kB / 0.79 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.3155, allocations: 91.59 kB / 0.7901 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.3156, allocations: 43.84 kB / 0.7902 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000614/0.3162, allocations: 186.7 kB / 0.7904 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000216/0.3165, allocations: 159.8 kB / 0.7905 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.3166, allocations: 74.09 kB / 0.7906 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.327e-05/0.3167, allocations: 83.61 kB / 0.7907 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.3169, allocations: 99.58 kB / 0.7908 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.3169, allocations: 12 kB / 0.7908 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.3172, allocations: 171.8 kB / 0.7909 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.656e-05/0.3173, allocations: 67.81 kB / 0.791 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.832e-05/0.3174, allocations: 77.5 kB / 0.7911 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.3178, allocations: 422.9 kB / 0.7915 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3178, allocations: 0 / 0.7915 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3178, allocations: 0 / 0.7915 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.3178, allocations: 4 kB / 0.7915 GB, free: 7.508 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.001065/0.3189, allocations: 0.7698 MB / 0.7922 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.319, allocations: 12.03 kB / 0.7922 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.461e-05/0.319, allocations: 46.55 kB / 0.7923 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/0.3191, allocations: 35.58 kB / 0.7923 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004251/0.3195, allocations: 315.3 kB / 0.7926 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.3196, allocations: 12.28 kB / 0.7926 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.3196, allocations: 19.98 kB / 0.7926 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000597/0.3202, allocations: 306.9 kB / 0.7929 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3202, allocations: 3.938 kB / 0.7929 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.3203, allocations: 4 kB / 0.7929 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3203, allocations: 11.94 kB / 0.793 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006408/0.3209, allocations: 311.7 kB / 0.7933 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000967/0.3219, allocations: 0.6639 MB / 0.7939 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005587/0.3225, allocations: 258.5 kB / 0.7942 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.3225, allocations: 4 kB / 0.7942 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.3225, allocations: 34.56 kB / 0.7942 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/0.3225, allocations: 0 / 0.7942 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0016/0.3242, allocations: 0.9466 MB / 0.7951 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.3243, allocations: 144.5 kB / 0.7953 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/0.3247, allocations: 380.4 kB / 0.7956 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.3247, allocations: 29.7 kB / 0.7956 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.3249, allocations: 168.3 kB / 0.7958 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.117e-05/0.325, allocations: 39.45 kB / 0.7958 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/0.325, allocations: 4 kB / 0.7958 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3251, allocations: 342.8 kB / 0.7962 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004484/0.3256, allocations: 251.9 kB / 0.7964 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/0.326, allocations: 259.8 kB / 0.7967 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00052/0.3266, allocations: 418.1 kB / 0.7971 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3266, allocations: 4 kB / 0.7971 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00113/0.3277, allocations: 0.7593 MB / 0.7978 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.3278, allocations: 182.2 kB / 0.798 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3279, allocations: 0 / 0.798 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3279, allocations: 0 / 0.798 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.3281, allocations: 39.97 kB / 0.798 GB, free: 348 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.3281, allocations: 0 / 0.798 GB, free: 348 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.3283, allocations: 63.61 kB / 0.7981 GB, free: 284 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.3283, allocations: 12 kB / 0.7981 GB, free: 272 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.0002716/0.3286, allocations: 254.9 kB / 0.7983 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.3287, allocations: 27.72 kB / 0.7984 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.647e-05/0.3288, allocations: 27.05 kB / 0.7984 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.3288, allocations: 3.938 kB / 0.7984 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3288, allocations: 7.938 kB / 0.7984 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3288, allocations: 0 / 0.7984 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003584/0.3291, allocations: 349.2 kB / 0.7987 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3292, allocations: 0 / 0.7987 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.3293, allocations: 43.97 kB / 0.7988 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3293, allocations: 0 / 0.7988 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.3294, allocations: 4 kB / 0.7988 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3294, allocations: 0 / 0.7988 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3294, allocations: 0 / 0.7988 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009616/0.3304, allocations: 0.6633 MB / 0.7994 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-05/0.3304, allocations: 108.7 kB / 0.7995 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.3305, allocations: 7.938 kB / 0.7995 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.3307, allocations: 47.95 kB / 0.7996 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.3309, allocations: 31.89 kB / 0.7996 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.3309, allocations: 8 kB / 0.7996 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002808/0.3312, allocations: 267 kB / 0.7999 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3312, allocations: 0 / 0.7999 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004529/0.3316, allocations: 99.98 kB / 0.8 GB, free: 14.21 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.001539/0.3332, allocations: 1.252 MB / 0.8012 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001134/0.3343, allocations: 0.8672 MB / 0.802 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3343, allocations: 0 / 0.802 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004958/0.3348, allocations: 394 kB / 0.8024 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.3352, allocations: 57.95 kB / 0.8025 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.3366, allocations: 0.9931 MB / 0.8034 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.337, allocations: 0.8025 MB / 0.8042 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.14e-05/0.3371, allocations: 17.95 kB / 0.8042 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.3372, allocations: 87.41 kB / 0.8043 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.3372, allocations: 0 / 0.8043 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.359, allocations: 8.041 MB / 0.8122 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/0.3593, allocations: 213.4 kB / 0.8124 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.329, allocations: 0 / 0.8124 GB, free: 1.496 MB / 0.6231 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: