Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.715/1.715, allocations: 288.4 MB / 303.3 MB, free: 8.16 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.001108/0.001108, allocations: 177.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.4 MB / 0.6307 GB, free: 9.992 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.0008172/0.0008172, allocations: 86.36 kB / 0.744 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004403/0.0004404, allocations: 12.06 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.256, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002431/0.2585, allocations: 1.73 MB / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003374/0.2619, allocations: 1.866 MB / 0.9832 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003093/0.2622, allocations: 4 kB / 0.9832 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000738/0.263, allocations: 163.2 kB / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009328/0.264, allocations: 239.2 kB / 0.9835 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.2651, allocations: 392.1 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008144/0.266, allocations: 486.7 kB / 0.9844 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.2661, allocations: 36.66 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003116/0.2664, allocations: 159.4 kB / 0.9846 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000316/0.2668, allocations: 167.4 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.075e-05/0.2668, allocations: 8 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006433/0.2675, allocations: 323.5 kB / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.2676, allocations: 79.77 kB / 0.9851 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.012e-05/0.2677, allocations: 69.58 kB / 0.9852 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006927/0.2684, allocations: 403 kB / 0.9856 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2684, allocations: 0 / 0.9856 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.976e-06/0.2684, allocations: 0 / 0.9856 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.2685, allocations: 0 / 0.9856 GB, free: 21.47 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001093/0.2696, allocations: 0.5683 MB / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.2696, allocations: 8.031 kB / 0.9861 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.003e-05/0.2697, allocations: 34.56 kB / 0.9862 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003298/0.27, allocations: 51.59 kB / 0.9862 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/0.2705, allocations: 326.9 kB / 0.9865 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.2705, allocations: 7.984 kB / 0.9865 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.2706, allocations: 15.98 kB / 0.9866 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/0.2709, allocations: 153.6 kB / 0.9867 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.271, allocations: 4 kB / 0.9867 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.271, allocations: 4 kB / 0.9867 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.271, allocations: 0 / 0.9867 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003692/0.2714, allocations: 143.8 kB / 0.9868 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007223/0.2721, allocations: 496.4 kB / 0.9873 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.2725, allocations: 134.5 kB / 0.9874 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.2727, allocations: 76.89 kB / 0.9875 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.2727, allocations: 0 / 0.9875 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.2727, allocations: 30.56 kB / 0.9875 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.2727, allocations: 4 kB / 0.9876 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.000687/0.2734, allocations: 249.2 kB / 0.9878 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.2735, allocations: 59.39 kB / 0.9878 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.2738, allocations: 328.5 kB / 0.9882 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.2738, allocations: 29.7 kB / 0.9882 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.046e-05/0.2739, allocations: 152.2 kB / 0.9883 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.2739, allocations: 31.55 kB / 0.9884 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.324e-05/0.274, allocations: 4 kB / 0.9884 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.452e-05/0.274, allocations: 338.8 kB / 0.9887 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.2742, allocations: 87.88 kB / 0.9888 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.2745, allocations: 139.3 kB / 0.9889 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.2747, allocations: 91.89 kB / 0.989 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2747, allocations: 0 / 0.989 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005388/0.2753, allocations: 283.1 kB / 0.9893 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.096e-05/0.2753, allocations: 139 kB / 0.9894 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2754, allocations: 0 / 0.9894 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.2754, allocations: 4 kB / 0.9894 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.2756, allocations: 47.95 kB / 0.9894 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.2756, allocations: 7.938 kB / 0.9895 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.2758, allocations: 39.7 kB / 0.9895 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.2759, allocations: 12 kB / 0.9895 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.2759, allocations: 7.953 kB / 0.9895 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004945/0.2764, allocations: 251.9 kB / 0.9898 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2764, allocations: 4 kB / 0.9898 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.128e-06/0.2764, allocations: 4 kB / 0.9898 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.2766, allocations: 39.97 kB / 0.9898 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2766, allocations: 11.92 kB / 0.9898 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.2768, allocations: 31.83 kB / 0.9898 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.2768, allocations: 8 kB / 0.9898 GB, free: 16.81 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 18 * Array equations: 1 * Algorithm blocks: 0 * 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.0001424/0.277, allocations: 229.1 kB / 0.9901 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.277, allocations: 31.58 kB / 0.9901 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004852/0.2775, allocations: 204.2 kB / 0.9903 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2775, allocations: 4 kB / 0.9903 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2776, allocations: 0 / 0.9903 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2776, allocations: 3.984 kB / 0.9903 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.2778, allocations: 281.4 kB / 0.9906 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2778, allocations: 4 kB / 0.9906 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.278, allocations: 27.92 kB / 0.9906 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.278, allocations: 3.953 kB / 0.9906 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.278, allocations: 7.984 kB / 0.9906 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.278, allocations: 0 / 0.9906 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.278, allocations: 96 / 0.9906 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004381/0.2785, allocations: 291.1 kB / 0.9909 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.984e-05/0.2786, allocations: 112.7 kB / 0.991 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.2786, allocations: 7.953 kB / 0.991 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.2788, allocations: 19.97 kB / 0.991 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.2788, allocations: 11.92 kB / 0.991 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.2788, allocations: 4 kB / 0.991 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001964/0.279, allocations: 239 kB / 0.9913 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.279, allocations: 0 / 0.9913 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005546/0.2796, allocations: 140 kB / 0.9914 GB, free: 15.12 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.001029/0.2806, allocations: 0.919 MB / 0.9923 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007749/0.2814, allocations: 303.6 kB / 0.9926 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2814, allocations: 4.875 kB / 0.9926 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.2816, allocations: 75.89 kB / 0.9927 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005763/0.2822, allocations: 95.05 kB / 0.9928 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.2852, allocations: 1.722 MB / 0.9944 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.2854, allocations: 0.7794 MB / 0.9952 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003204/0.2858, allocations: 78.86 kB / 0.9953 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.2859, allocations: 83.41 kB / 0.9953 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/0.2859, allocations: 0 / 0.9953 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.3087, allocations: 8.986 MB / 1.004 GB, free: 2.199 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/0.3089, allocations: 219.7 kB / 1.004 GB, free: 1.953 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.197/2.505, allocations: 4 kB / 1.004 GB, free: 1.949 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)