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.001106/0.001106, 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.001061/0.001061, allocations: 188.6 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.339/1.339, 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.704/1.704, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001419/0.001419, allocations: 64.8 kB / 0.6718 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2311, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.00383/0.235, allocations: 2.077 MB / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00327/0.2383, allocations: 2.018 MB / 0.7876 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.2385, allocations: 4 kB / 0.7876 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008211/0.2394, allocations: 255.2 kB / 0.7879 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007841/0.2402, allocations: 298.1 kB / 0.7882 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009957/0.2412, allocations: 490.9 kB / 0.7886 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006344/0.2419, allocations: 462.7 kB / 0.7891 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.242, allocations: 44.33 kB / 0.7891 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.2422, allocations: 159.5 kB / 0.7893 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.2425, allocations: 163.4 kB / 0.7894 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.2425, allocations: 12 kB / 0.7894 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006086/0.2431, allocations: 455.2 kB / 0.7899 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.2433, allocations: 103.7 kB / 0.79 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.2434, allocations: 111.4 kB / 0.7901 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007002/0.2441, allocations: 0.5882 MB / 0.7906 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2441, allocations: 0 / 0.7906 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2441, allocations: 0 / 0.7906 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.2441, 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.0009374/0.2451, allocations: 0.5901 MB / 0.7912 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.2451, allocations: 12.03 kB / 0.7912 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.097e-05/0.2452, allocations: 38.73 kB / 0.7913 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003078/0.2455, allocations: 52.56 kB / 0.7913 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005596/0.2461, allocations: 344.2 kB / 0.7916 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.2461, allocations: 8.375 kB / 0.7917 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.2461, allocations: 8.375 kB / 0.7917 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.2465, allocations: 164.2 kB / 0.7918 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.2465, allocations: 0 / 0.7918 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.2465, allocations: 0 / 0.7918 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.2465, allocations: 7.938 kB / 0.7918 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003757/0.2469, allocations: 127.8 kB / 0.7919 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007712/0.2477, allocations: 496.4 kB / 0.7924 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.2481, allocations: 130.4 kB / 0.7925 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.2483, allocations: 60.83 kB / 0.7926 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.2483, allocations: 11.97 kB / 0.7926 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.2483, allocations: 34.56 kB / 0.7926 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.2483, allocations: 0 / 0.7926 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0006764/0.249, allocations: 229.4 kB / 0.7929 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.2491, allocations: 59.72 kB / 0.7929 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.2494, allocations: 340.4 kB / 0.7932 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.2495, allocations: 29.7 kB / 0.7933 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.2496, allocations: 144.1 kB / 0.7934 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.2496, allocations: 35.48 kB / 0.7934 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.532e-05/0.2497, allocations: 45.7 kB / 0.7935 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2499, allocations: 342.8 kB / 0.7938 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.2501, allocations: 120.8 kB / 0.7939 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.2504, allocations: 162.7 kB / 0.7941 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005185/0.251, allocations: 286.2 kB / 0.7944 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.251, allocations: 0 / 0.7944 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006581/0.2516, allocations: 333.2 kB / 0.7947 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2517, allocations: 8 kB / 0.7947 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2517, allocations: 4 kB / 0.7947 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.2517, allocations: 4 kB / 0.7947 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.2519, allocations: 47.84 kB / 0.7947 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.252, allocations: 11.92 kB / 0.7947 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.2521, allocations: 23.84 kB / 0.7948 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.2522, allocations: 15.98 kB / 0.7948 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003062/0.2525, allocations: 212.7 kB / 0.795 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002485/0.2527, allocations: 154.7 kB / 0.7951 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004362/0.2532, allocations: 230.7 kB / 0.7954 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.754e-06/0.2532, allocations: 0 / 0.7954 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005679/0.2538, allocations: 293.2 kB / 0.7956 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.2538, allocations: 8 kB / 0.7956 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/0.2538, allocations: 0 / 0.7956 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.518e-06/0.2538, allocations: 4 kB / 0.7956 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.254, allocations: 43.91 kB / 0.7957 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.254, allocations: 3.984 kB / 0.7957 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.2542, allocations: 23.78 kB / 0.7957 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.2542, 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.0001263/0.2543, allocations: 192.2 kB / 0.7959 GB, free: 308 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.2544, allocations: 19.72 kB / 0.7959 GB, free: 288 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005053/0.2549, allocations: 200.2 kB / 0.7961 GB, free: 80 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2549, allocations: 4 kB / 0.7961 GB, free: 76 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.2549, allocations: 7.922 kB / 0.7961 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2549, allocations: 96 / 0.7961 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.2552, allocations: 277.3 kB / 0.7964 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2553, allocations: 3.938 kB / 0.7964 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.2554, allocations: 23.98 kB / 0.7964 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2554, allocations: 0 / 0.7964 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.2554, allocations: 7.984 kB / 0.7964 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.2554, allocations: 4 kB / 0.7964 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2555, allocations: 3.938 kB / 0.7964 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004478/0.2559, allocations: 275.1 kB / 0.7967 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.256, allocations: 112.7 kB / 0.7968 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.2561, allocations: 0 / 0.7968 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.2562, allocations: 7.984 kB / 0.7968 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.2563, allocations: 23.91 kB / 0.7968 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.2563, allocations: 4 kB / 0.7968 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000225/0.2565, allocations: 235 kB / 0.7971 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2565, allocations: 0 / 0.7971 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005709/0.2571, allocations: 148 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.001035/0.2581, allocations: 0.9149 MB / 0.7981 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007367/0.2589, allocations: 324.5 kB / 0.7984 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2589, allocations: 0 / 0.7984 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.2591, allocations: 79.95 kB / 0.7985 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/0.2596, allocations: 100.9 kB / 0.7986 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/0.2634, allocations: 3.026 MB / 0.8015 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.2638, allocations: 0.7717 MB / 0.8023 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002373/0.264, allocations: 70.94 kB / 0.8024 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.2642, allocations: 91.41 kB / 0.8025 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of SimCode: time 3.5e-07/0.2642, allocations: 0 / 0.8025 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/0.2903, allocations: 9.261 MB / 0.8115 GB, free: 280 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/8.159, allocations: 11.38 kB / 0.8115 GB, free: 272 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)