Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.566/1.566, allocations: 251.9 MB / 266.8 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 186.9 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.968/1.968, allocations: 205.4 MB / 0.5775 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 97.16 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.0003711, allocations: 6.812 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2286, allocations: 106.3 MB / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002254/0.2309, allocations: 1.73 MB / 0.9018 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002685/0.2336, allocations: 1.855 MB / 0.9037 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.2339, allocations: 4 kB / 0.9037 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.2344, allocations: 151.4 kB / 0.9038 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008188/0.2353, allocations: 233.8 kB / 0.904 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009832/0.2363, allocations: 379.3 kB / 0.9044 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005031/0.2368, allocations: 287.5 kB / 0.9047 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.2369, allocations: 20.39 kB / 0.9047 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.2371, allocations: 135.5 kB / 0.9048 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.2373, allocations: 123.6 kB / 0.9049 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.2373, allocations: 7.938 kB / 0.9049 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004617/0.2378, allocations: 299.6 kB / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.377e-05/0.2378, allocations: 91.75 kB / 0.9053 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.759e-05/0.2379, allocations: 65.58 kB / 0.9054 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004251/0.2383, allocations: 411.3 kB / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2383, allocations: 0 / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2384, allocations: 0 / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.2384, allocations: 4 kB / 0.9058 GB, free: 58.43 MB / 0.6042 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.000837/0.2392, allocations: 0.545 MB / 0.9063 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2393, allocations: 8.031 kB / 0.9063 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/0.2393, allocations: 42.55 kB / 0.9063 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002768/0.2396, allocations: 51.64 kB / 0.9064 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.24, allocations: 323 kB / 0.9067 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.24, allocations: 15.92 kB / 0.9067 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.24, allocations: 12 kB / 0.9067 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.2403, allocations: 156.2 kB / 0.9069 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.2404, allocations: 0 / 0.9069 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.2404, allocations: 4 kB / 0.9069 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2404, allocations: 4 kB / 0.9069 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003407/0.2407, allocations: 139.8 kB / 0.907 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006253/0.2414, allocations: 0.4924 MB / 0.9075 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.2417, allocations: 138.5 kB / 0.9076 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.2418, allocations: 4 kB / 0.9076 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.2418, allocations: 34.56 kB / 0.9077 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.2418, allocations: 0 / 0.9077 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0006221/0.2424, allocations: 253.5 kB / 0.9079 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.2425, allocations: 51.78 kB / 0.908 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.2427, allocations: 336.4 kB / 0.9083 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.2428, allocations: 29.7 kB / 0.9083 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.66e-05/0.2428, allocations: 159.8 kB / 0.9085 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.2429, allocations: 35.48 kB / 0.9085 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.29e-05/0.2429, allocations: 7.984 kB / 0.9085 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.769e-05/0.243, allocations: 338.8 kB / 0.9088 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.2432, allocations: 75.94 kB / 0.9089 GB, free: 55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.2434, allocations: 139.8 kB / 0.909 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.2436, allocations: 87.95 kB / 0.9091 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2436, allocations: 0 / 0.9091 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004902/0.2441, allocations: 283.4 kB / 0.9094 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.2442, allocations: 0.6955 MB / 0.9101 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2442, allocations: 4 kB / 0.9101 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.2443, allocations: 4 kB / 0.9101 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.2445, allocations: 55.84 kB / 0.9101 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2445, allocations: 4 kB / 0.9101 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.2447, allocations: 31.73 kB / 0.9102 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.2447, allocations: 12 kB / 0.9102 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.2447, allocations: 4 kB / 0.9102 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000463/0.2452, allocations: 255.7 kB / 0.9104 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.2452, allocations: 0 / 0.9104 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.008e-06/0.2452, allocations: 4 kB / 0.9104 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.2454, allocations: 48.12 kB / 0.9105 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.2454, allocations: 4 kB / 0.9105 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.2456, allocations: 27.83 kB / 0.9105 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.2456, allocations: 15.98 kB / 0.9105 GB, free: 53.27 MB / 0.6042 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.0001473/0.2457, allocations: 229 kB / 0.9107 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.2458, allocations: 23.72 kB / 0.9108 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004668/0.2462, allocations: 220.1 kB / 0.911 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2463, allocations: 4 kB / 0.911 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.2463, allocations: 4 kB / 0.911 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2463, allocations: 4 kB / 0.911 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.2465, allocations: 269.5 kB / 0.9112 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2465, allocations: 96 / 0.9112 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.2467, allocations: 43.84 kB / 0.9113 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2467, allocations: 0 / 0.9113 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.2467, allocations: 0 / 0.9113 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2467, allocations: 0 / 0.9113 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2467, allocations: 4 kB / 0.9113 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.2471, allocations: 291 kB / 0.9116 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.551e-05/0.2472, allocations: 116.8 kB / 0.9117 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.2472, allocations: 0 / 0.9117 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.2474, allocations: 11.98 kB / 0.9117 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.2474, allocations: 8 kB / 0.9117 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.2474, allocations: 7.984 kB / 0.9117 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001769/0.2476, allocations: 235 kB / 0.9119 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.3e-07/0.2476, allocations: 0 / 0.9119 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005469/0.2482, allocations: 147.9 kB / 0.9121 GB, free: 51.58 MB / 0.6042 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.0009221/0.2491, allocations: 0.9207 MB / 0.913 GB, free: 50.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007021/0.2498, allocations: 308.3 kB / 0.9133 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2498, allocations: 0 / 0.9133 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.25, allocations: 80.02 kB / 0.9133 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.2504, allocations: 98.12 kB / 0.9134 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.2517, allocations: 1.904 MB / 0.9153 GB, free: 48.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.2519, allocations: 0.7833 MB / 0.916 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002887/0.2522, allocations: 79.05 kB / 0.9161 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.2523, allocations: 87.41 kB / 0.9162 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of SimCode: time 6.51e-07/0.2523, allocations: 0 / 0.9162 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.2741, allocations: 8.788 MB / 0.9248 GB, free: 38.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/0.2743, allocations: 208.5 kB / 0.925 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/2.433, allocations: 0 / 0.925 GB, free: 38.41 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)