Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",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.001141/0.001141, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 193.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.802/1.802, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.00148/0.00148, allocations: 64.02 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.284, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003798/0.2878, allocations: 1.613 MB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008702/0.2887, allocations: 300 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.951e-05/0.2889, allocations: 4 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.18e-05/0.2889, allocations: 11.86 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.289, allocations: 15.86 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004244/0.2895, allocations: 71.8 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.2897, allocations: 103.6 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.2898, allocations: 31.97 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.123e-05/0.2899, allocations: 43.86 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.522e-05/0.29, allocations: 43.72 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.2901, allocations: 8 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.2902, allocations: 31.97 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.2902, allocations: 23.91 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.2903, allocations: 35.81 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.2905, allocations: 107.9 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2905, allocations: 0 / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2905, allocations: 0 / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2905, allocations: 0 / 0.7858 GB, free: 10.93 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006368/0.2911, allocations: 407.1 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.2912, allocations: 8.031 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.753e-05/0.2912, allocations: 38.75 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.2923, allocations: 120.7 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.2925, allocations: 184.2 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.2925, allocations: 384 / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.2925, allocations: 16.36 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/0.2931, allocations: 154 kB / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.2932, allocations: 7.938 kB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.2932, allocations: 4 kB / 0.7867 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2932, allocations: 0 / 0.7867 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000801/0.294, allocations: 154.5 kB / 0.7869 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.295, allocations: 444.4 kB / 0.7873 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007296/0.2958, allocations: 142.5 kB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/0.2962, allocations: 69.97 kB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.2962, allocations: 7.938 kB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.2962, allocations: 34.56 kB / 0.7876 GB, free: 9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.2963, allocations: 4 kB / 0.7876 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.001314/0.2976, allocations: 249.2 kB / 0.7878 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.2976, allocations: 55.39 kB / 0.7878 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.2978, allocations: 149.3 kB / 0.788 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.2978, allocations: 29.7 kB / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.788e-05/0.2979, allocations: 104 kB / 0.7881 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.2979, allocations: 15.73 kB / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-05/0.298, allocations: 29.7 kB / 0.7882 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2982, allocations: 318.8 kB / 0.7885 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004097/0.2986, allocations: 80.72 kB / 0.7885 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003717/0.299, allocations: 67.92 kB / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007437/0.2997, allocations: 136.7 kB / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2997, allocations: 4 kB / 0.7887 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008275/0.3006, allocations: 185.4 kB / 0.7889 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3006, allocations: 8 kB / 0.7889 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3006, allocations: 0 / 0.7889 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3006, allocations: 7.875 kB / 0.7889 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.3009, allocations: 35.89 kB / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.567e-06/0.3009, allocations: 0 / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.3012, allocations: 35.88 kB / 0.789 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.3012, allocations: 3.984 kB / 0.789 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001648/0.3014, allocations: 112.1 kB / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001164/0.3015, allocations: 52.67 kB / 0.7892 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002/0.3017, allocations: 84.19 kB / 0.7892 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.3017, allocations: 0 / 0.7892 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002641/0.302, allocations: 113.4 kB / 0.7894 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.185e-06/0.302, allocations: 4 kB / 0.7894 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.302, allocations: 3.984 kB / 0.7894 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.028e-06/0.302, allocations: 4 kB / 0.7894 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.03e-05/0.3021, allocations: 15.98 kB / 0.7894 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3021, allocations: 3.938 kB / 0.7894 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.102e-05/0.3022, allocations: 24.02 kB / 0.7894 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.3022, allocations: 0 / 0.7894 GB, free: 7 MB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001098/0.3023, allocations: 184.3 kB / 0.7896 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.3024, allocations: 11.81 kB / 0.7896 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.406e-05/0.3024, allocations: 20.23 kB / 0.7896 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3024, allocations: 4.188 kB / 0.7896 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3024, allocations: 0 / 0.7896 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3024, allocations: 8 kB / 0.7896 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.3036, allocations: 472 kB / 0.7901 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3036, allocations: 0 / 0.7901 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.3039, allocations: 40 kB / 0.7901 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3039, allocations: 0 / 0.7901 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.3039, allocations: 0 / 0.7901 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3039, allocations: 4 kB / 0.7901 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3039, allocations: 3.984 kB / 0.7901 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009084/0.3048, allocations: 292.9 kB / 0.7904 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.557e-05/0.3049, allocations: 96.98 kB / 0.7905 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.305, allocations: 0 / 0.7905 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.3052, allocations: 24.02 kB / 0.7905 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.3053, allocations: 11.98 kB / 0.7905 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.3053, allocations: 7.984 kB / 0.7905 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.987e-05/0.3054, allocations: 121.3 kB / 0.7906 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3054, allocations: 0 / 0.7906 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003339/0.3058, allocations: 28 kB / 0.7907 GB, free: 5.582 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.001209/0.307, allocations: 0.827 MB / 0.7915 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009492/0.3079, allocations: 191.7 kB / 0.7917 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.308, allocations: 320 / 0.7917 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003999/0.3084, allocations: 79.86 kB / 0.7917 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.3087, allocations: 8 kB / 0.7917 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/0.3128, allocations: 1.887 MB / 0.7936 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.3131, allocations: 0.7002 MB / 0.7943 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.193e-05/0.3132, allocations: 12 kB / 0.7943 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.3134, allocations: 35.39 kB / 0.7943 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.3134, allocations: 3.938 kB / 0.7943 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.3351, allocations: 2.708 MB / 0.797 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.374/7.709, allocations: 11 kB / 0.797 GB, free: 15.07 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)