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.46/1.46, allocations: 251.5 MB / 266.7 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.001005/0.001005, allocations: 163.3 kB / 325.8 MB, free: 2.703 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.66/1.66, allocations: 205 MB / 0.576 GB, free: 21.04 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.0007487/0.0007488, allocations: 84.36 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003332, allocations: 8.781 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1997, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.001992/0.2018, allocations: 1.827 MB / 0.898 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002383/0.2042, allocations: 2.056 MB / 0.9 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.2043, allocations: 0 / 0.9 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006026/0.205, allocations: 251.1 kB / 0.9002 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000541/0.2055, allocations: 266.2 kB / 0.9005 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007667/0.2063, allocations: 415.3 kB / 0.9009 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004954/0.2068, allocations: 0.5728 MB / 0.9014 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.268e-05/0.2069, allocations: 40.39 kB / 0.9015 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.2071, allocations: 151.4 kB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.2073, allocations: 171.4 kB / 0.9018 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.2073, allocations: 4 kB / 0.9018 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005377/0.2079, allocations: 439.2 kB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.492e-05/0.2079, allocations: 83.77 kB / 0.9023 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.415e-05/0.208, allocations: 107.3 kB / 0.9024 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004677/0.2085, allocations: 0.5686 MB / 0.9029 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2085, allocations: 0 / 0.9029 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2085, allocations: 0 / 0.9029 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.2085, allocations: 4 kB / 0.9029 GB, free: 61.14 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.0006654/0.2092, allocations: 0.5489 MB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.2092, allocations: 8.031 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.2093, allocations: 50.73 kB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002686/0.2096, allocations: 44.62 kB / 0.9036 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.2099, allocations: 332.2 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.21, allocations: 8.375 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.21, allocations: 12.38 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.2103, allocations: 161.5 kB / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2103, allocations: 0 / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.2103, allocations: 7.984 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2103, allocations: 4 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.2107, allocations: 139.9 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005801/0.2113, allocations: 496.3 kB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.2116, allocations: 146.5 kB / 0.9048 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.2117, allocations: 68.77 kB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.2118, allocations: 0 / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.2118, allocations: 38.55 kB / 0.9049 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 9.12e-07/0.2118, allocations: 0 / 0.9049 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0006015/0.2124, allocations: 245.4 kB / 0.9052 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.2125, allocations: 59.34 kB / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.2127, allocations: 344.3 kB / 0.9056 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.2127, allocations: 29.7 kB / 0.9056 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.399e-05/0.2128, allocations: 151.9 kB / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.2128, allocations: 31.55 kB / 0.9058 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.2129, allocations: 29.72 kB / 0.9058 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.182e-05/0.2129, allocations: 338.8 kB / 0.9061 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.2132, allocations: 111.9 kB / 0.9062 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.2134, allocations: 177.3 kB / 0.9064 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004398/0.2138, allocations: 286.6 kB / 0.9067 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.2139, allocations: 4 kB / 0.9067 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005248/0.2144, allocations: 344.2 kB / 0.907 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.95e-05/0.2144, allocations: 142.9 kB / 0.9071 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2145, allocations: 0 / 0.9071 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2145, allocations: 7.938 kB / 0.9071 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.2147, allocations: 51.95 kB / 0.9072 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.2147, allocations: 7.938 kB / 0.9072 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.2149, allocations: 27.83 kB / 0.9072 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.2149, allocations: 16 kB / 0.9072 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.721e-06/0.2149, allocations: 4 kB / 0.9072 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004383/0.2154, allocations: 247.9 kB / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.2154, allocations: 3.984 kB / 0.9075 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-06/0.2154, allocations: 4 kB / 0.9075 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.2156, allocations: 47.97 kB / 0.9075 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.2156, allocations: 0 / 0.9075 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.2157, allocations: 27.83 kB / 0.9076 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.2157, allocations: 15.94 kB / 0.9076 GB, free: 56.11 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.2159, allocations: 233 kB / 0.9078 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.2159, allocations: 28 kB / 0.9078 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004392/0.2164, allocations: 216.2 kB / 0.908 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2164, allocations: 0 / 0.908 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2164, allocations: 0 / 0.908 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2164, allocations: 3.938 kB / 0.908 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.2166, allocations: 277.5 kB / 0.9083 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2166, allocations: 8 kB / 0.9083 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.2167, allocations: 27.92 kB / 0.9083 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.2168, allocations: 4 kB / 0.9083 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.2168, allocations: 0 / 0.9083 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2168, allocations: 0 / 0.9083 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2168, allocations: 3.984 kB / 0.9083 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.2172, allocations: 295 kB / 0.9086 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/0.2172, allocations: 116.7 kB / 0.9087 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.2173, allocations: 0 / 0.9087 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.2174, allocations: 19.98 kB / 0.9087 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.2175, allocations: 7.984 kB / 0.9088 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.2175, allocations: 7.938 kB / 0.9088 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001612/0.2176, allocations: 239 kB / 0.909 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2176, allocations: 0 / 0.909 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005201/0.2182, allocations: 147.9 kB / 0.9091 GB, free: 54.41 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 (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.0008267/0.219, allocations: 0.9076 MB / 0.91 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006536/0.2197, allocations: 347.6 kB / 0.9103 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2197, allocations: 0.875 kB / 0.9103 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.2198, allocations: 75.89 kB / 0.9104 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.2203, allocations: 97.42 kB / 0.9105 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.2235, allocations: 3.083 MB / 0.9135 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.2237, allocations: 0.7755 MB / 0.9143 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002743/0.224, allocations: 70.94 kB / 0.9143 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.2241, allocations: 91.39 kB / 0.9144 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/0.2241, allocations: 0 / 0.9144 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3769/0.601, allocations: 8.799 MB / 0.923 GB, free: 40.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/0.6012, allocations: 234.2 kB / 0.9233 GB, free: 39.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/2.761, allocations: 0 / 0.9233 GB, free: 39.96 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)