Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.PowerInterface,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",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.436/1.436, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001144/0.001144, allocations: 173 kB / 326.5 MB, free: 2.246 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.927/1.927, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.00093/0.0009297, allocations: 99.03 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003609, allocations: 10.47 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2299, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001546/0.2315, allocations: 1.304 MB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005043/0.232, allocations: 291.5 kB / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.2321, allocations: 0 / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.2321, allocations: 7.922 kB / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.228e-05/0.2322, allocations: 23.95 kB / 0.9017 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.2324, allocations: 59.81 kB / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.018e-05/0.2325, allocations: 59.78 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.2326, allocations: 19.98 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.455e-05/0.2327, allocations: 35.84 kB / 0.9019 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.119e-05/0.2328, allocations: 39.84 kB / 0.9019 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.2328, allocations: 4 kB / 0.9019 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.356e-05/0.2329, allocations: 23.97 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.2329, allocations: 7.938 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.233, allocations: 45.58 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.885e-05/0.2331, allocations: 72.02 kB / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2331, allocations: 0 / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2331, allocations: 0 / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2331, allocations: 0 / 0.9021 GB, free: 61.86 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004568/0.2336, allocations: 391.1 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.2336, allocations: 8.031 kB / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.2336, allocations: 38.56 kB / 0.9025 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009656/0.2346, allocations: 135.7 kB / 0.9026 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.532e-05/0.2347, allocations: 186.8 kB / 0.9028 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.2347, allocations: 0 / 0.9028 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.2348, allocations: 16 kB / 0.9028 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004967/0.2353, allocations: 157.5 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.2353, allocations: 0 / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.2353, allocations: 4 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2353, allocations: 0 / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006917/0.236, allocations: 175.8 kB / 0.9031 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008849/0.2369, allocations: 452.4 kB / 0.9036 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/0.2376, allocations: 158.4 kB / 0.9037 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.2376, allocations: 8.062 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.2377, allocations: 34.56 kB / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 2.574e-06/0.2377, allocations: 4 kB / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.001166/0.2388, allocations: 273.4 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.2389, allocations: 51.41 kB / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.239, allocations: 157.1 kB / 0.9042 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.239, allocations: 29.7 kB / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.2391, allocations: 108 kB / 0.9044 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.2391, allocations: 11.8 kB / 0.9044 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/0.2391, allocations: 4 kB / 0.9044 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.2392, allocations: 322.8 kB / 0.9047 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.2395, allocations: 87.86 kB / 0.9048 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.2399, allocations: 83.86 kB / 0.9049 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.2402, allocations: 84.03 kB / 0.9049 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2403, allocations: 0 / 0.9049 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001075/0.2413, allocations: 209.3 kB / 0.9051 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.402e-05/0.2414, allocations: 93 kB / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2414, allocations: 0 / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.2415, allocations: 4 kB / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.2418, allocations: 39.95 kB / 0.9053 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.2419, allocations: 256 / 0.9053 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/0.2422, allocations: 39.91 kB / 0.9053 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.2422, allocations: 11.98 kB / 0.9053 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.2422, allocations: 7.938 kB / 0.9053 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002904/0.2425, allocations: 71.84 kB / 0.9054 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.2426, allocations: 0 / 0.9054 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-06/0.2426, allocations: 4 kB / 0.9054 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.2427, allocations: 19.98 kB / 0.9054 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.2427, allocations: 0 / 0.9054 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.624e-05/0.2428, allocations: 11.91 kB / 0.9054 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.2428, allocations: 3.984 kB / 0.9054 GB, free: 58.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 0.000136/0.243, allocations: 189.1 kB / 0.9056 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.243, allocations: 11.86 kB / 0.9056 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.834e-05/0.2431, allocations: 16.31 kB / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.2431, allocations: 0 / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.2431, allocations: 4 kB / 0.9056 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2432, allocations: 3.938 kB / 0.9056 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.2444, allocations: 0.496 MB / 0.9061 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2444, allocations: 4 kB / 0.9061 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.2447, allocations: 40.02 kB / 0.9062 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2447, allocations: 0 / 0.9062 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2447, allocations: 3.984 kB / 0.9062 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2447, allocations: 4 kB / 0.9062 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2447, allocations: 0 / 0.9062 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007706/0.2455, allocations: 344.2 kB / 0.9065 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/0.2456, allocations: 96.94 kB / 0.9066 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.2456, allocations: 3.984 kB / 0.9066 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.2458, allocations: 31.97 kB / 0.9066 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.2459, allocations: 4 kB / 0.9066 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.2459, allocations: 7.984 kB / 0.9066 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.114e-05/0.246, allocations: 121.3 kB / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.246, allocations: 0 / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002875/0.2463, allocations: 31.95 kB / 0.9068 GB, free: 56.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.0009697/0.2472, allocations: 0.9955 MB / 0.9078 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008389/0.2481, allocations: 215.8 kB / 0.908 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2481, allocations: 0 / 0.908 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003517/0.2485, allocations: 84.03 kB / 0.908 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.2487, allocations: 11.95 kB / 0.9081 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.251, allocations: 0.915 MB / 0.9089 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.2512, allocations: 0.7004 MB / 0.9096 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.456e-05/0.2513, allocations: 12 kB / 0.9096 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.634e-05/0.2514, allocations: 47.33 kB / 0.9097 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2514, allocations: 0 / 0.9097 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01229/0.2637, allocations: 2.388 MB / 0.912 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/0.2639, allocations: 195 kB / 0.9122 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/1.835, allocations: 0 / 0.9122 GB, free: 51.13 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)