Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.716/1.716, allocations: 287.4 MB / 302.6 MB, free: 8.191 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.001113/0.001113, allocations: 180.5 kB / 371.1 MB, free: 10.75 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.556/1.556, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0008051/0.0008045, allocations: 92.86 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.0003953, allocations: 16.42 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2147, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.001805/0.2165, allocations: 1.733 MB / 0.9804 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002144/0.2187, allocations: 1.871 MB / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.2189, allocations: 0 / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004095/0.2193, allocations: 163.2 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005302/0.2198, allocations: 236.3 kB / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005866/0.2204, allocations: 387.9 kB / 0.983 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004435/0.2209, allocations: 0.4908 MB / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.229e-05/0.221, allocations: 44.59 kB / 0.9835 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.2212, allocations: 147.5 kB / 0.9837 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.2214, allocations: 175.4 kB / 0.9838 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.2214, allocations: 4 kB / 0.9838 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004221/0.2218, allocations: 311.6 kB / 0.9841 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.688e-05/0.2219, allocations: 91.73 kB / 0.9842 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/0.222, allocations: 65.58 kB / 0.9843 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004055/0.2224, allocations: 407 kB / 0.9847 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2224, allocations: 0 / 0.9847 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2224, allocations: 0 / 0.9847 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2224, allocations: 0 / 0.9847 GB, free: 21.97 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.0006876/0.2231, allocations: 0.5528 MB / 0.9852 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.2232, allocations: 12.03 kB / 0.9852 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.424e-05/0.2232, allocations: 42.73 kB / 0.9853 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002525/0.2235, allocations: 52.53 kB / 0.9853 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.2238, allocations: 332.3 kB / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.2238, allocations: 8.375 kB / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.2239, allocations: 8.375 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.2242, allocations: 161.4 kB / 0.9858 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2242, allocations: 0 / 0.9858 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.2242, allocations: 4 kB / 0.9858 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2242, allocations: 4 kB / 0.9858 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/0.2245, allocations: 139.8 kB / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.2251, allocations: 0.4885 MB / 0.9864 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.2255, allocations: 134.5 kB / 0.9866 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.2256, allocations: 72.81 kB / 0.9866 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.2257, allocations: 0 / 0.9866 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.2257, allocations: 34.56 kB / 0.9867 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.2257, allocations: 0 / 0.9867 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0005839/0.2263, allocations: 253.5 kB / 0.9869 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.2263, allocations: 59.34 kB / 0.987 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.2266, allocations: 328.5 kB / 0.9873 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.2266, allocations: 33.7 kB / 0.9873 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/0.2267, allocations: 156 kB / 0.9874 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.2267, allocations: 23.56 kB / 0.9875 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.2267, allocations: 4 kB / 0.9875 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.811e-05/0.2268, allocations: 342.8 kB / 0.9878 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.227, allocations: 79.95 kB / 0.9879 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.2272, allocations: 145.1 kB / 0.988 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.2276, allocations: 217.3 kB / 0.9882 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2276, allocations: 4 kB / 0.9882 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000472/0.228, allocations: 273.1 kB / 0.9885 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.2281, allocations: 147.1 kB / 0.9886 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2281, allocations: 4 kB / 0.9886 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.2281, allocations: 8 kB / 0.9886 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.2284, allocations: 51.91 kB / 0.9887 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2284, allocations: 3.938 kB / 0.9887 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.2285, allocations: 31.73 kB / 0.9887 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.2286, allocations: 19.98 kB / 0.9887 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.029e-06/0.2286, allocations: 4 kB / 0.9887 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004486/0.229, allocations: 248.4 kB / 0.989 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-06/0.229, allocations: 224 / 0.989 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-06/0.2291, allocations: 8 kB / 0.989 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.2292, allocations: 51.91 kB / 0.989 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.726e-06/0.2292, allocations: 0 / 0.989 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.2294, allocations: 23.83 kB / 0.9891 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.2294, allocations: 19.98 kB / 0.9891 GB, free: 17.16 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.0001101/0.2295, allocations: 237 kB / 0.9893 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.2296, allocations: 19.72 kB / 0.9893 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004525/0.23, allocations: 216.2 kB / 0.9895 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2301, allocations: 0 / 0.9895 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2301, allocations: 0 / 0.9895 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2301, allocations: 3.938 kB / 0.9895 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.2303, allocations: 273.4 kB / 0.9898 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2303, allocations: 0 / 0.9898 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.2304, allocations: 31.97 kB / 0.9898 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2304, allocations: 4 kB / 0.9898 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2305, allocations: 4 kB / 0.9898 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2305, allocations: 0 / 0.9898 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2305, allocations: 0 / 0.9898 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.2309, allocations: 303 kB / 0.9901 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.2309, allocations: 112.8 kB / 0.9902 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.231, allocations: 0 / 0.9902 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.2311, allocations: 15.92 kB / 0.9902 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.2312, allocations: 8 kB / 0.9903 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.2312, allocations: 7.938 kB / 0.9903 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001758/0.2314, allocations: 243 kB / 0.9905 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2314, allocations: 0 / 0.9905 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005054/0.2319, allocations: 148 kB / 0.9906 GB, free: 15.46 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.0008697/0.2328, allocations: 0.9072 MB / 0.9915 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006674/0.2335, allocations: 316 kB / 0.9918 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2335, allocations: 0 / 0.9918 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.2336, allocations: 75.89 kB / 0.9919 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.2341, allocations: 94.06 kB / 0.992 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.2365, allocations: 1.729 MB / 0.9937 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.2367, allocations: 0.7716 MB / 0.9944 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002819/0.237, allocations: 86.86 kB / 0.9945 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.2371, allocations: 91.39 kB / 0.9946 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of SimCode: time 2.71e-07/0.2371, allocations: 0 / 0.9946 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.2573, allocations: 8.964 MB / 1.003 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.2575, allocations: 202.9 kB / 1.004 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/2.389, allocations: 0 / 1.004 GB, free: 2.324 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)