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.452/1.452, allocations: 252 MB / 267.3 MB, free: 10.8 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.001047/0.001048, allocations: 175.7 kB / 327 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.237/2.237, allocations: 205.4 MB / 0.578 GB, free: 20.15 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.0009198/0.0009199, allocations: 92.8 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003613, allocations: 12.23 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2126, allocations: 106.3 MB / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002211/0.2148, allocations: 1.791 MB / 0.9027 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002906/0.2178, allocations: 2.034 MB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.218, allocations: 8 kB / 0.9047 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007936/0.2188, allocations: 239.1 kB / 0.9049 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008042/0.2197, allocations: 270.2 kB / 0.9051 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000966/0.2207, allocations: 415.2 kB / 0.9055 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007361/0.2214, allocations: 0.5767 MB / 0.9061 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.2215, allocations: 40.38 kB / 0.9061 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.2218, allocations: 143.5 kB / 0.9063 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.2221, allocations: 179.3 kB / 0.9064 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.368e-05/0.2222, allocations: 8 kB / 0.9065 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007155/0.2229, allocations: 431.2 kB / 0.9069 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.223, allocations: 83.77 kB / 0.9069 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.2231, allocations: 133 kB / 0.9071 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005534/0.2237, allocations: 0.5689 MB / 0.9076 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2237, allocations: 0 / 0.9076 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2237, allocations: 0 / 0.9076 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2237, allocations: 0 / 0.9076 GB, free: 56.34 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.0007263/0.2245, allocations: 0.5567 MB / 0.9082 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.2245, allocations: 12.03 kB / 0.9082 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.509e-05/0.2246, allocations: 42.73 kB / 0.9082 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002821/0.2249, allocations: 44.62 kB / 0.9083 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.2252, allocations: 340.1 kB / 0.9086 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.2253, allocations: 8.375 kB / 0.9086 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.2253, allocations: 12.38 kB / 0.9086 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.2256, allocations: 153.5 kB / 0.9088 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.2256, allocations: 0 / 0.9088 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.2257, allocations: 12 kB / 0.9088 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2257, allocations: 0 / 0.9088 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003428/0.226, allocations: 143.8 kB / 0.9089 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006038/0.2266, allocations: 496.4 kB / 0.9094 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.227, allocations: 138.4 kB / 0.9095 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.2271, allocations: 68.83 kB / 0.9096 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.2272, allocations: 3.984 kB / 0.9096 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.2272, allocations: 38.55 kB / 0.9096 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.2272, allocations: 0 / 0.9096 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.000637/0.2278, allocations: 249.4 kB / 0.9099 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.2279, allocations: 59.34 kB / 0.9099 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.2282, allocations: 340.4 kB / 0.9102 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.2282, allocations: 25.7 kB / 0.9103 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/0.2283, allocations: 155.9 kB / 0.9104 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.2283, allocations: 31.55 kB / 0.9104 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.456e-05/0.2283, allocations: 4 kB / 0.9104 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.932e-05/0.2284, allocations: 334.8 kB / 0.9108 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.2286, allocations: 119.9 kB / 0.9109 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.2289, allocations: 171.9 kB / 0.911 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.2293, allocations: 282.7 kB / 0.9113 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2294, allocations: 0 / 0.9113 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005578/0.2299, allocations: 358 kB / 0.9117 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.224e-05/0.23, allocations: 139.2 kB / 0.9118 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.23, allocations: 0 / 0.9118 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.23, allocations: 4 kB / 0.9118 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.2302, allocations: 59.89 kB / 0.9118 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2303, allocations: 0 / 0.9118 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.2304, allocations: 27.77 kB / 0.9119 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.2305, allocations: 16 kB / 0.9119 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.099e-06/0.2305, allocations: 4 kB / 0.9119 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004687/0.2309, allocations: 248.5 kB / 0.9121 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.231, allocations: 4 kB / 0.9121 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.015e-06/0.231, allocations: 8.219 kB / 0.9121 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.2312, allocations: 47.91 kB / 0.9122 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.2312, allocations: 4 kB / 0.9122 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.2313, allocations: 23.83 kB / 0.9122 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.2313, allocations: 12 kB / 0.9122 GB, free: 51.33 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.0001197/0.2315, allocations: 233 kB / 0.9124 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.2315, allocations: 31.62 kB / 0.9125 GB, free: 51.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004717/0.232, allocations: 212.5 kB / 0.9127 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.232, allocations: 4 kB / 0.9127 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.232, allocations: 0 / 0.9127 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.232, allocations: 7.922 kB / 0.9127 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.2323, allocations: 273.5 kB / 0.913 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2323, allocations: 4 kB / 0.913 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.2324, allocations: 27.92 kB / 0.913 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2324, allocations: 0 / 0.913 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.2324, allocations: 11.98 kB / 0.913 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2325, allocations: 0 / 0.913 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2325, allocations: 0 / 0.913 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.2329, allocations: 291 kB / 0.9133 GB, free: 50.17 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-05/0.233, allocations: 116.7 kB / 0.9134 GB, free: 50.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.233, allocations: 4 kB / 0.9134 GB, free: 50.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.2332, allocations: 15.98 kB / 0.9134 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.2332, allocations: 7.984 kB / 0.9134 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.2332, allocations: 7.938 kB / 0.9134 GB, free: 50 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001785/0.2334, allocations: 243 kB / 0.9136 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2334, allocations: 0 / 0.9136 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005389/0.234, allocations: 140 kB / 0.9138 GB, free: 49.63 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.0009454/0.2349, allocations: 0.9256 MB / 0.9147 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007179/0.2357, allocations: 344 kB / 0.915 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.2357, allocations: 8 kB / 0.915 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.2359, allocations: 71.89 kB / 0.9151 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000505/0.2364, allocations: 93.73 kB / 0.9152 GB, free: 48.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00326/0.2396, allocations: 3.102 MB / 0.9182 GB, free: 44.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.2398, allocations: 0.7755 MB / 0.919 GB, free: 44.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002889/0.2401, allocations: 70.94 kB / 0.919 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.2403, allocations: 95.39 kB / 0.9191 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of SimCode: time 6.41e-07/0.2403, allocations: 0 / 0.9191 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.2585, allocations: 8.772 MB / 0.9277 GB, free: 35.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/0.2587, allocations: 238.6 kB / 0.9279 GB, free: 35.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/2.631, allocations: 0 / 0.9279 GB, free: 35.18 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)