Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IBPSA_latest_IBPSA_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.001093/0.001093, allocations: 101.4 kB / 16.27 MB, free: 6.395 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.001162/0.001162, allocations: 186.7 kB / 17.2 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7129/0.7129, allocations: 122.8 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.91 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2879, allocations: 77.92 MB / 0.5673 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002867/0.2908, allocations: 2.074 MB / 0.5693 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.2923, allocations: 1.172 MB / 0.5705 GB, free: 30.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.07e-05/0.2924, allocations: 3.781 kB / 0.5705 GB, free: 30.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.2927, allocations: 111.6 kB / 0.5706 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.89e-05/0.2928, allocations: 53.61 kB / 0.5706 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006124/0.2934, allocations: 251.6 kB / 0.5709 GB, free: 30.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.2937, allocations: 319.2 kB / 0.5712 GB, free: 30.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.2939, allocations: 98.45 kB / 0.5713 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.294, allocations: 110.4 kB / 0.5714 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.2942, allocations: 128 kB / 0.5715 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/0.2942, allocations: 33.44 kB / 0.5715 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003281/0.2945, allocations: 231.3 kB / 0.5717 GB, free: 30 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.948e-05/0.2946, allocations: 86.45 kB / 0.5718 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.2948, allocations: 152.4 kB / 0.572 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005401/0.2953, allocations: 0.5479 MB / 0.5725 GB, free: 29.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2953, allocations: 1.156 kB / 0.5725 GB, free: 29.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2953, allocations: 0 / 0.5725 GB, free: 29.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.2953, allocations: 1.531 kB / 0.5725 GB, free: 29.66 MB / 446.1 MB 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.0009237/0.2963, allocations: 0.8029 MB / 0.5733 GB, free: 28.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2963, allocations: 9.375 kB / 0.5733 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.2964, allocations: 53.55 kB / 0.5733 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.098e-05/0.2964, allocations: 34.12 kB / 0.5734 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.2967, allocations: 325.5 kB / 0.5737 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.2968, allocations: 14.03 kB / 0.5737 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.2968, allocations: 15.69 kB / 0.5737 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005538/0.2974, allocations: 297.3 kB / 0.574 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.2974, allocations: 0 / 0.574 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.2974, allocations: 8.062 kB / 0.574 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.2974, allocations: 3.625 kB / 0.574 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006556/0.2981, allocations: 271.5 kB / 0.5743 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008715/0.299, allocations: 0.6773 MB / 0.5749 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000527/0.2995, allocations: 233.6 kB / 0.5752 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003942/0.2999, allocations: 190.9 kB / 0.5753 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.2999, allocations: 1.625 kB / 0.5753 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.3, allocations: 35.92 kB / 0.5754 GB, free: 27.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.3, allocations: 1.188 kB / 0.5754 GB, free: 27.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.001302/0.3013, allocations: 0.6701 MB / 0.576 GB, free: 27.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.3013, allocations: 140.2 kB / 0.5762 GB, free: 27.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000388/0.3017, allocations: 380.8 kB / 0.5765 GB, free: 27.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.3018, allocations: 28.77 kB / 0.5766 GB, free: 27.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.3019, allocations: 167.5 kB / 0.5767 GB, free: 26.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.3019, allocations: 41.47 kB / 0.5768 GB, free: 26.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.488e-05/0.302, allocations: 53.19 kB / 0.5768 GB, free: 26.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.884e-05/0.3021, allocations: 347.4 kB / 0.5771 GB, free: 26.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004321/0.3025, allocations: 240.7 kB / 0.5774 GB, free: 26.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/0.3029, allocations: 235.4 kB / 0.5776 GB, free: 26.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007933/0.3037, allocations: 0.6829 MB / 0.5783 GB, free: 26.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3037, allocations: 2.219 kB / 0.5783 GB, free: 26.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009814/0.3047, allocations: 0.728 MB / 0.579 GB, free: 25.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.463e-05/0.3048, allocations: 184 kB / 0.5791 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3048, allocations: 0 / 0.5791 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3048, allocations: 1.984 kB / 0.5791 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.305, allocations: 42.31 kB / 0.5792 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.305, allocations: 2.062 kB / 0.5792 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.3052, allocations: 41.88 kB / 0.5792 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.3053, allocations: 15.58 kB / 0.5792 GB, free: 25.43 MB / 446.1 MB 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.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_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.0001712/0.3055, allocations: 264.5 kB / 0.5795 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/0.3055, allocations: 30.3 kB / 0.5795 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/0.3056, allocations: 28.41 kB / 0.5796 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3056, allocations: 6.938 kB / 0.5796 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3056, allocations: 0 / 0.5796 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3056, allocations: 2.203 kB / 0.5796 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.3059, allocations: 347 kB / 0.5799 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3059, allocations: 0 / 0.5799 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.3061, allocations: 28.7 kB / 0.5799 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3061, allocations: 4.5 kB / 0.5799 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.3061, allocations: 8.562 kB / 0.5799 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.3061, allocations: 2.75 kB / 0.5799 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3061, allocations: 0.7031 kB / 0.5799 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008323/0.307, allocations: 0.6206 MB / 0.5805 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.307, allocations: 113.6 kB / 0.5807 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.3071, allocations: 4 kB / 0.5807 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.3073, allocations: 29.81 kB / 0.5807 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-05/0.3074, allocations: 28.78 kB / 0.5807 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.3074, allocations: 5.062 kB / 0.5807 GB, free: 24.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002199/0.3076, allocations: 273.5 kB / 0.581 GB, free: 24.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3077, allocations: 1.344 kB / 0.581 GB, free: 24.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004336/0.3081, allocations: 100.7 kB / 0.5811 GB, free: 24.18 MB / 446.1 MB 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.00111/0.3092, allocations: 1.223 MB / 0.5823 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009291/0.3101, allocations: 0.8411 MB / 0.5831 GB, free: 22.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3102, allocations: 0 / 0.5831 GB, free: 22.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004159/0.3106, allocations: 375.9 kB / 0.5834 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.311, allocations: 72.69 kB / 0.5835 GB, free: 22.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/0.3157, allocations: 4.423 MB / 0.5878 GB, free: 19.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.3159, allocations: 0.7856 MB / 0.5886 GB, free: 18.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.941e-05/0.316, allocations: 27.61 kB / 0.5886 GB, free: 18.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.867e-05/0.3161, allocations: 89.91 kB / 0.5887 GB, free: 18.6 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3161, allocations: 1.031 kB / 0.5887 GB, free: 18.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.3381, allocations: 8.663 MB / 0.5972 GB, free: 11.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.273, allocations: 12.44 kB / 0.5972 GB, free: 11.61 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)