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.434/1.434, allocations: 249.3 MB / 261.8 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.001091, allocations: 178.1 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0009379/0.0009378, allocations: 94.45 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.272e-05/3.289e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1972, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6569/0.8541, allocations: 132.6 MB / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/0.8544, allocations: 79.7 kB / 1.021 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008951/0.8633, allocations: 3.206 MB / 1.025 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8634, allocations: 0 / 1.025 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.8634, allocations: 4 kB / 1.025 GB, free: 15.38 MB / 0.6511 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.0004546/0.8639, allocations: 388.5 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.8639, allocations: 8.031 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.864, allocations: 41 kB / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007938/0.8648, allocations: 91.8 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.8649, allocations: 182.9 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.8649, allocations: 2.938 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.865, allocations: 11.75 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.8652, allocations: 99.44 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.8652, allocations: 0 / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.8653, allocations: 7.875 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.8653, allocations: 4 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.8654, allocations: 66.3 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.8664, allocations: 463.6 kB / 1.026 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.8666, allocations: 84.22 kB / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.274e-05/0.8667, allocations: 27.17 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.8667, allocations: 4 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.8668, allocations: 41.3 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.8668, allocations: 0 / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5): time 0.0002533/0.867, allocations: 91.08 kB / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.8671, allocations: 51.41 kB / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.8672, allocations: 156.4 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.8672, allocations: 25.7 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.8673, allocations: 98.42 kB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.8673, allocations: 19.8 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.956e-06/0.8673, allocations: 3.562 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.8675, allocations: 314.7 kB / 1.027 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.347e-05/0.8675, allocations: 30.11 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.356e-05/0.8676, allocations: 27.61 kB / 1.027 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.591e-05/0.8676, allocations: 23.12 kB / 1.027 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.8677, allocations: 3.953 kB / 1.027 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001882/0.8679, allocations: 107.3 kB / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.086e-05/0.8679, allocations: 104.6 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.8679, allocations: 0 / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.868, allocations: 0 / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.8683, allocations: 47.88 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.8683, allocations: 0 / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.8685, allocations: 27.97 kB / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.8685, allocations: 7.984 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/0.8686, allocations: 4 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.363e-05/0.8686, allocations: 34.06 kB / 1.027 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.8687, allocations: 3.953 kB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-06/0.8687, allocations: 4 kB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.868e-05/0.8688, allocations: 19.98 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-06/0.8688, allocations: 0 / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.655e-05/0.8688, allocations: 19.83 kB / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.8688, allocations: 4 kB / 1.027 GB, free: 12.73 MB / 0.6511 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 () * 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 7.581e-05/0.8689, allocations: 108.6 kB / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.869, allocations: 7.906 kB / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.395e-05/0.869, allocations: 19.42 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.869, allocations: 0 / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.869, allocations: 0 / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.8691, allocations: 3.984 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/0.8695, allocations: 395.4 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.8696, allocations: 3.953 kB / 1.028 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.8698, allocations: 40.02 kB / 1.028 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.8698, allocations: 3.938 kB / 1.028 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.8699, allocations: 7.984 kB / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8699, allocations: 0 / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8699, allocations: 0 / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.8701, allocations: 232.7 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.849e-05/0.8702, allocations: 96.06 kB / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.8702, allocations: 4 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.8705, allocations: 32.09 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.8706, allocations: 7.984 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.8706, allocations: 3.938 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.755e-05/0.8707, allocations: 120.9 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8707, allocations: 0 / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002864/0.871, allocations: 31.25 kB / 1.028 GB, free: 11.6 MB / 0.6511 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 () * 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.0005259/0.8715, allocations: 0.9079 MB / 1.029 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.8717, allocations: 90.14 kB / 1.029 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8717, allocations: 0 / 1.029 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.115e-05/0.8718, allocations: 40.61 kB / 1.029 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.872, allocations: 6.953 kB / 1.029 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008363/0.8728, allocations: 215.3 kB / 1.029 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.8731, allocations: 0.7009 MB / 1.03 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001151/0.8732, allocations: 19.94 kB / 1.03 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.19e-05/0.8733, allocations: 40.45 kB / 1.03 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of SimCode: time 3.8e-07/0.8733, allocations: 0 / 1.03 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01208/0.8854, allocations: 2.495 MB / 1.033 GB, free: 7.199 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/0.8856, allocations: 176.9 kB / 1.033 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/2.37, allocations: 0 / 1.033 GB, free: 6.973 MB / 0.6511 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)