Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_8_0_0_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_0_0_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 8.0.0/package.mo): time 2.669/2.669, allocations: 287.3 MB / 302.3 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001598/0.001597, allocations: 189.4 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.316/2.316, allocations: 205.4 MB / 0.6295 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 89.45 kB / 0.7428 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004938, allocations: 11.36 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2498, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002521/0.2524, allocations: 1.744 MB / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.2546, allocations: 1.132 MB / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.2548, allocations: 4 kB / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004315/0.2553, allocations: 91.53 kB / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.2554, allocations: 47.86 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008377/0.2563, allocations: 177.5 kB / 0.9814 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.2566, allocations: 167.7 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.2568, allocations: 78.08 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.562e-05/0.2569, allocations: 75.69 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.257, allocations: 99.58 kB / 0.9818 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.2571, allocations: 16 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.2575, allocations: 171.8 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.265e-05/0.2576, allocations: 79.72 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.45e-05/0.2577, allocations: 69.58 kB / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005046/0.2582, allocations: 415 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.2582, allocations: 3.938 kB / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2582, allocations: 0 / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.2582, allocations: 0 / 0.9825 GB, free: 23.9 MB / 0.6198 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.001252/0.2595, allocations: 0.7659 MB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.2595, allocations: 12.03 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.573e-05/0.2596, allocations: 46.55 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.168e-05/0.2597, allocations: 43.58 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.2602, allocations: 311.3 kB / 0.9837 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.2602, allocations: 16.22 kB / 0.9837 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.051e-05/0.2603, allocations: 16 kB / 0.9837 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009001/0.2612, allocations: 306.9 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.2612, allocations: 0 / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.2613, allocations: 8 kB / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.2613, allocations: 4 kB / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.2624, allocations: 311.6 kB / 0.9843 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.2637, allocations: 0.6678 MB / 0.985 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008439/0.2646, allocations: 250.6 kB / 0.9852 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.2647, allocations: 8.047 kB / 0.9852 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.2647, allocations: 34.5 kB / 0.9852 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 3.376e-06/0.2647, allocations: 3.938 kB / 0.9852 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.002163/0.2669, allocations: 0.9568 MB / 0.9862 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.267, allocations: 140.5 kB / 0.9863 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005566/0.2675, allocations: 384.4 kB / 0.9867 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.2676, allocations: 25.7 kB / 0.9867 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.2677, allocations: 168.3 kB / 0.9869 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.2678, allocations: 35.47 kB / 0.9869 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.2678, allocations: 8 kB / 0.9869 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.835e-05/0.2679, allocations: 342.8 kB / 0.9872 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007198/0.2687, allocations: 247.9 kB / 0.9875 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006919/0.2694, allocations: 263.8 kB / 0.9877 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000752/0.2701, allocations: 424.3 kB / 0.9881 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2702, allocations: 0 / 0.9881 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001708/0.2719, allocations: 0.7569 MB / 0.9889 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.272, allocations: 182.2 kB / 0.989 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.272, allocations: 0 / 0.989 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.2721, allocations: 4 kB / 0.989 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.2724, allocations: 31.97 kB / 0.9891 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.2724, allocations: 3.953 kB / 0.9891 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/0.2729, allocations: 71.62 kB / 0.9891 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.2729, allocations: 12 kB / 0.9892 GB, free: 16.66 MB / 0.6198 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.0002752/0.2732, allocations: 254.9 kB / 0.9894 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.043e-05/0.2733, allocations: 27.72 kB / 0.9894 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.2734, allocations: 26.94 kB / 0.9895 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2734, allocations: 4 kB / 0.9895 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.2734, allocations: 4 kB / 0.9895 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.2734, allocations: 11.88 kB / 0.9895 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.2738, allocations: 341.3 kB / 0.9898 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2738, allocations: 0 / 0.9898 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.2741, allocations: 35.97 kB / 0.9898 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.2741, allocations: 0 / 0.9898 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.2742, allocations: 11.98 kB / 0.9898 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.2742, allocations: 8 kB / 0.9898 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2742, allocations: 0 / 0.9898 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.2757, allocations: 0.6484 MB / 0.9905 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.634e-05/0.2758, allocations: 116.7 kB / 0.9906 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.008e-05/0.2759, allocations: 8 kB / 0.9906 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.2763, allocations: 39.97 kB / 0.9906 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.2765, allocations: 27.97 kB / 0.9907 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.2766, allocations: 4 kB / 0.9907 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003969/0.277, allocations: 275 kB / 0.9909 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.277, allocations: 0 / 0.9909 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005548/0.2775, allocations: 99.94 kB / 0.991 GB, free: 14.61 MB / 0.6198 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.001995/0.2796, allocations: 1.257 MB / 0.9923 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001711/0.2813, allocations: 0.8567 MB / 0.9931 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2813, allocations: 0 / 0.9931 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007776/0.2821, allocations: 398 kB / 0.9935 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000605/0.2828, allocations: 57.61 kB / 0.9935 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.2847, allocations: 1.001 MB / 0.9945 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.285, allocations: 0.7987 MB / 0.9953 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001517/0.2852, allocations: 21.89 kB / 0.9953 GB, free: 10 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.2854, allocations: 91.41 kB / 0.9954 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of SimCode: time 1.483e-06/0.2854, allocations: 0 / 0.9954 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04176/0.3272, allocations: 8.038 MB / 1.003 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/0.3275, allocations: 217.6 kB / 1.003 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.736/3.063, allocations: 7.438 kB / 1.003 GB, free: 1.895 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)