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.0008209/0.000821, allocations: 97.33 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005328/0.005328, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.406/1.406, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.69/1.69, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005092/0.0005093, allocations: 16.28 kB / 0.6744 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.196, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002188/0.1982, allocations: 1.795 MB / 0.7897 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002955/0.2012, allocations: 2.016 MB / 0.7917 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.2013, allocations: 4 kB / 0.7917 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006525/0.202, allocations: 251.3 kB / 0.792 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006287/0.2026, allocations: 251.3 kB / 0.7922 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008441/0.2035, allocations: 431.1 kB / 0.7926 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007726/0.2042, allocations: 0.5767 MB / 0.7932 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.801e-05/0.2043, allocations: 28.41 kB / 0.7932 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.2045, allocations: 147.5 kB / 0.7933 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.2048, allocations: 179.3 kB / 0.7935 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.2048, allocations: 8 kB / 0.7935 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006256/0.2055, allocations: 435.2 kB / 0.7939 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.2056, allocations: 83.7 kB / 0.794 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.2057, allocations: 133 kB / 0.7941 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006186/0.2063, allocations: 0.5686 MB / 0.7947 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.2063, allocations: 0 / 0.7947 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2063, allocations: 0 / 0.7947 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2063, allocations: 0 / 0.7947 GB, free: 4.598 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.0007693/0.2071, allocations: 0.5568 MB / 0.7952 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2072, allocations: 12.03 kB / 0.7953 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.2072, allocations: 38.73 kB / 0.7953 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002789/0.2075, allocations: 52.53 kB / 0.7953 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.2079, allocations: 328.3 kB / 0.7957 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.208, allocations: 8.375 kB / 0.7957 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.208, allocations: 16.36 kB / 0.7957 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.2083, allocations: 157.4 kB / 0.7958 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2084, allocations: 4 kB / 0.7958 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.2084, allocations: 8 kB / 0.7958 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2084, allocations: 0 / 0.7958 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/0.2088, allocations: 139.8 kB / 0.796 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006761/0.2095, allocations: 496.3 kB / 0.7964 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/0.2099, allocations: 134.5 kB / 0.7966 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.2101, allocations: 68.81 kB / 0.7966 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.2101, allocations: 8 kB / 0.7966 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.2102, allocations: 30.56 kB / 0.7967 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.2102, allocations: 0 / 0.7967 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.000701/0.2109, allocations: 253.8 kB / 0.7969 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/0.211, allocations: 59.34 kB / 0.797 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.2113, allocations: 340.6 kB / 0.7973 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.2113, allocations: 29.64 kB / 0.7973 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.2114, allocations: 152 kB / 0.7975 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.2115, allocations: 31.55 kB / 0.7975 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.2115, allocations: 25.7 kB / 0.7975 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.2117, allocations: 342.8 kB / 0.7979 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.212, allocations: 115.9 kB / 0.798 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.2123, allocations: 174.7 kB / 0.7981 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005389/0.2128, allocations: 285.9 kB / 0.7984 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2128, allocations: 0 / 0.7984 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007376/0.2136, allocations: 337.1 kB / 0.7987 GB, free: 196 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.817e-05/0.2137, allocations: 146.1 kB / 0.7989 GB, free: 24 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2137, allocations: 4 kB / 0.7989 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.2137, allocations: 8 kB / 0.7989 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.214, allocations: 47.91 kB / 0.7989 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.214, allocations: 3.984 kB / 0.7989 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.2142, allocations: 27.75 kB / 0.799 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.2142, allocations: 15.98 kB / 0.799 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.871e-06/0.2143, allocations: 4 kB / 0.799 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005394/0.2148, allocations: 251.7 kB / 0.7992 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2148, allocations: 4.219 kB / 0.7992 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-06/0.2148, allocations: 4 kB / 0.7992 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.215, allocations: 47.91 kB / 0.7993 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.215, allocations: 11.92 kB / 0.7993 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.2152, allocations: 19.84 kB / 0.7993 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.2152, allocations: 19.98 kB / 0.7993 GB, free: 15.56 MB / 0.6231 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.0001649/0.2154, allocations: 237.6 kB / 0.7995 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.2155, allocations: 27.7 kB / 0.7996 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005286/0.216, allocations: 208.2 kB / 0.7998 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.216, allocations: 4 kB / 0.7998 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.216, allocations: 0 / 0.7998 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.216, allocations: 3.938 kB / 0.7998 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.2163, allocations: 285.3 kB / 0.8 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2163, allocations: 96 / 0.8 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.2165, allocations: 27.92 kB / 0.8001 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2165, allocations: 4 kB / 0.8001 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.2165, allocations: 8 kB / 0.8001 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2165, allocations: 0 / 0.8001 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.2166, allocations: 3.984 kB / 0.8001 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004622/0.217, allocations: 291 kB / 0.8004 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.779e-05/0.2171, allocations: 112.8 kB / 0.8005 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.2172, allocations: 4 kB / 0.8005 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.2173, allocations: 7.984 kB / 0.8005 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.2174, allocations: 8 kB / 0.8005 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.2174, allocations: 11.92 kB / 0.8005 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000218/0.2176, allocations: 247 kB / 0.8007 GB, free: 14 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2176, allocations: 0 / 0.8007 GB, free: 14 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005884/0.2182, allocations: 143.9 kB / 0.8009 GB, free: 13.86 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.001123/0.2193, allocations: 0.9267 MB / 0.8018 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007793/0.2201, allocations: 344.4 kB / 0.8021 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2201, allocations: 0 / 0.8021 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.2204, allocations: 84.45 kB / 0.8022 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.2209, allocations: 89.31 kB / 0.8023 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/0.2254, allocations: 3.102 MB / 0.8053 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.2258, allocations: 0.7716 MB / 0.8061 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002962/0.2261, allocations: 79 kB / 0.8061 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.2263, allocations: 91.41 kB / 0.8062 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of SimCode: time 4.71e-07/0.2263, allocations: 0 / 0.8062 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.2616, allocations: 8.757 MB / 0.8148 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002334/0.2619, allocations: 220.4 kB / 0.815 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.201, allocations: 64 / 0.815 GB, free: 15.42 MB / 0.6387 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)