Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.FlowMachineInterface,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",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.00105/0.00105, allocations: 109.4 kB / 15.69 MB, free: 128 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.001047/0.001047, allocations: 188 kB / 16.62 MB, free: 6.613 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.454/1.454, allocations: 205.1 MB / 222.5 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.737/1.737, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001424/0.001424, allocations: 68.81 kB / 0.6718 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2097, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003519/0.2133, allocations: 2.089 MB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003485/0.2168, allocations: 2.016 MB / 0.7876 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.217, allocations: 4 kB / 0.7876 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007649/0.2178, allocations: 259.2 kB / 0.7879 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007689/0.2186, allocations: 290.2 kB / 0.7882 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.2198, allocations: 494.9 kB / 0.7886 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006557/0.2204, allocations: 466.7 kB / 0.7891 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.2206, allocations: 40.39 kB / 0.7891 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.2208, allocations: 155.6 kB / 0.7893 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.221, allocations: 163.4 kB / 0.7894 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.2211, allocations: 16 kB / 0.7894 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006206/0.2217, allocations: 447.2 kB / 0.7899 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.2218, allocations: 103.7 kB / 0.79 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.222, allocations: 115.3 kB / 0.7901 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006798/0.2226, allocations: 0.5804 MB / 0.7906 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2227, allocations: 4 kB / 0.7906 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2227, allocations: 4 kB / 0.7906 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.2227, allocations: 0 / 0.7906 GB, free: 6.055 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008222/0.2235, allocations: 0.5916 MB / 0.7912 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.2236, allocations: 12.03 kB / 0.7912 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.526e-05/0.2236, allocations: 38.69 kB / 0.7913 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002801/0.2239, allocations: 52.61 kB / 0.7913 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/0.2244, allocations: 340.2 kB / 0.7916 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.2244, allocations: 4.375 kB / 0.7917 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.2244, allocations: 8.375 kB / 0.7917 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.2248, allocations: 165.5 kB / 0.7918 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.2248, allocations: 0 / 0.7918 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.2248, allocations: 0 / 0.7918 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.2248, allocations: 0 / 0.7918 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/0.2252, allocations: 131.8 kB / 0.7919 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006764/0.2258, allocations: 496.4 kB / 0.7924 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.2262, allocations: 130.5 kB / 0.7925 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.2264, allocations: 64.75 kB / 0.7926 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.2264, allocations: 7.984 kB / 0.7926 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.2264, allocations: 34.56 kB / 0.7926 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.2264, allocations: 0 / 0.7926 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0006447/0.2271, allocations: 233.4 kB / 0.7929 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.2271, allocations: 63.34 kB / 0.7929 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.2274, allocations: 340.4 kB / 0.7933 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.2275, allocations: 29.7 kB / 0.7933 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.104e-05/0.2276, allocations: 144.1 kB / 0.7934 GB, free: 3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.2276, allocations: 27.56 kB / 0.7934 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-05/0.2277, allocations: 49.69 kB / 0.7935 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.2278, allocations: 338.8 kB / 0.7938 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.2281, allocations: 120.7 kB / 0.7939 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.2284, allocations: 166.7 kB / 0.7941 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.2288, allocations: 274.6 kB / 0.7943 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.2289, allocations: 4 kB / 0.7944 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005997/0.2295, allocations: 340.6 kB / 0.7947 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2295, allocations: 12 kB / 0.7947 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2295, allocations: 0 / 0.7947 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2295, allocations: 4 kB / 0.7947 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.2298, allocations: 47.84 kB / 0.7947 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.2298, allocations: 7.938 kB / 0.7947 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.2299, allocations: 27.83 kB / 0.7948 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.23, allocations: 15.98 kB / 0.7948 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002896/0.2303, allocations: 208.7 kB / 0.795 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002288/0.2305, allocations: 146.7 kB / 0.7951 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004116/0.2309, allocations: 230.7 kB / 0.7953 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.915e-06/0.231, allocations: 0 / 0.7953 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005414/0.2315, allocations: 297 kB / 0.7956 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.2315, allocations: 10.72 kB / 0.7956 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2315, allocations: 4 kB / 0.7956 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-06/0.2315, allocations: 4 kB / 0.7956 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.2317, allocations: 43.91 kB / 0.7957 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2317, allocations: 4.375 kB / 0.7957 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.2319, allocations: 27.77 kB / 0.7957 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.2319, allocations: 15.98 kB / 0.7957 GB, free: 0.4961 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.232, allocations: 188.2 kB / 0.7959 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.2321, allocations: 27.66 kB / 0.7959 GB, free: 284 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004908/0.2326, allocations: 192.2 kB / 0.7961 GB, free: 84 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2326, allocations: 4 kB / 0.7961 GB, free: 80 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.2326, allocations: 7.938 kB / 0.7961 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2326, allocations: 0 / 0.7961 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.2329, allocations: 281.4 kB / 0.7964 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2329, allocations: 3.938 kB / 0.7964 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.2331, allocations: 19.98 kB / 0.7964 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2331, allocations: 4 kB / 0.7964 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.2331, allocations: 4 kB / 0.7964 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2331, allocations: 0 / 0.7964 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2331, allocations: 3.938 kB / 0.7964 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004195/0.2335, allocations: 275.1 kB / 0.7967 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.115e-05/0.2336, allocations: 112.7 kB / 0.7968 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.2337, allocations: 8 kB / 0.7968 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.2338, allocations: 7.984 kB / 0.7968 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.2339, allocations: 19.92 kB / 0.7968 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.2339, allocations: 8 kB / 0.7969 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000208/0.2341, allocations: 235 kB / 0.7971 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2341, allocations: 0 / 0.7971 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005494/0.2347, allocations: 144 kB / 0.7972 GB, free: 14.88 MB / 0.6231 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 (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.0009783/0.2357, allocations: 0.9151 MB / 0.7981 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007587/0.2364, allocations: 327.6 kB / 0.7984 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2364, allocations: 0.875 kB / 0.7984 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.2366, allocations: 75.89 kB / 0.7985 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/0.2371, allocations: 108.2 kB / 0.7986 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.2409, allocations: 3.016 MB / 0.8015 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.2412, allocations: 0.7639 MB / 0.8023 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002433/0.2415, allocations: 82.86 kB / 0.8024 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.2416, allocations: 88.06 kB / 0.8024 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.2416, allocations: 0 / 0.8024 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.2676, allocations: 9.263 MB / 0.8115 GB, free: 284 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/7.869, allocations: 10.94 kB / 0.8115 GB, free: 276 kB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)