Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.732/1.732, allocations: 292.6 MB / 307.5 MB, free: 5.16 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.001255/0.001255, allocations: 180.8 kB / 377.1 MB, free: 1.492 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.719/1.719, allocations: 205.4 MB / 0.6366 GB, free: 9.527 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009399/0.0009399, allocations: 94.12 kB / 0.7509 GB, free: 62.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003742, allocations: 8 kB / 0.8749 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2887, allocations: 116.3 MB / 0.9884 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7977/1.086, allocations: 139.9 MB / 1.125 GB, free: 34.93 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/1.087, allocations: 82.11 kB / 1.125 GB, free: 34.86 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008587/1.095, allocations: 3.208 MB / 1.128 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.497e-06/1.095, allocations: 0 / 1.128 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.142e-05/1.095, allocations: 0 / 1.128 GB, free: 32.53 MB / 0.7292 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.0005077/1.096, allocations: 402.6 kB / 1.129 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/1.096, allocations: 16.02 kB / 1.129 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.939e-05/1.096, allocations: 42.03 kB / 1.129 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007872/1.097, allocations: 91.03 kB / 1.129 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/1.097, allocations: 178.7 kB / 1.129 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/1.097, allocations: 8 kB / 1.129 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/1.097, allocations: 9.203 kB / 1.129 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005388/1.098, allocations: 162.7 kB / 1.129 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/1.098, allocations: 4 kB / 1.129 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/1.098, allocations: 0.5625 kB / 1.129 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/1.098, allocations: 1.719 kB / 1.129 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007044/1.098, allocations: 177.5 kB / 1.129 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/1.1, allocations: 466.3 kB / 1.13 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006926/1.1, allocations: 159.4 kB / 1.13 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/1.1, allocations: 3.938 kB / 1.13 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/1.1, allocations: 31.78 kB / 1.13 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 1.462e-06/1.1, allocations: 11.94 kB / 1.13 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.001201/1.101, allocations: 275.9 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/1.102, allocations: 51.41 kB / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/1.102, allocations: 146.8 kB / 1.13 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/1.102, allocations: 25.7 kB / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/1.102, allocations: 107.5 kB / 1.131 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/1.102, allocations: 12.31 kB / 1.131 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/1.102, allocations: 0 / 1.131 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.524e-05/1.102, allocations: 322.3 kB / 1.131 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/1.102, allocations: 85.34 kB / 1.131 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/1.103, allocations: 85.61 kB / 1.131 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/1.103, allocations: 77.34 kB / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/1.103, allocations: 0.6562 kB / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007519/1.104, allocations: 215.7 kB / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.564e-05/1.104, allocations: 93.55 kB / 1.131 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.104, allocations: 0 / 1.131 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/1.104, allocations: 0 / 1.131 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/1.104, allocations: 45.83 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/1.104, allocations: 0 / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/1.104, allocations: 43.83 kB / 1.131 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/1.104, allocations: 0 / 1.131 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/1.104, allocations: 6.188 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000186/1.105, allocations: 74.77 kB / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-06/1.105, allocations: 0 / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-06/1.105, allocations: 4 kB / 1.132 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.703e-05/1.105, allocations: 19.92 kB / 1.132 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-06/1.105, allocations: 4 kB / 1.132 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.754e-05/1.105, allocations: 15.41 kB / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/1.105, allocations: 4.562 kB / 1.132 GB, free: 29.37 MB / 0.7292 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 9.958e-05/1.105, allocations: 189.6 kB / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/1.105, allocations: 11.91 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.737e-05/1.105, allocations: 12.81 kB / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/1.105, allocations: 3.953 kB / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/1.105, allocations: 4.875 kB / 1.132 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.105, allocations: 4.359 kB / 1.132 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/1.106, allocations: 0.4885 MB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.106, allocations: 7.438 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/1.106, allocations: 34.45 kB / 1.132 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/1.106, allocations: 7.953 kB / 1.132 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/1.106, allocations: 8.391 kB / 1.132 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.106, allocations: 0 / 1.132 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.106, allocations: 4 kB / 1.132 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007702/1.107, allocations: 340.2 kB / 1.133 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.658e-05/1.107, allocations: 98.08 kB / 1.133 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/1.107, allocations: 3.328 kB / 1.133 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/1.108, allocations: 31.17 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/1.108, allocations: 0 / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/1.108, allocations: 7.516 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.304e-05/1.108, allocations: 120.2 kB / 1.133 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.108, allocations: 0 / 1.133 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003069/1.108, allocations: 35.94 kB / 1.133 GB, free: 28.02 MB / 0.7292 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.001117/1.109, allocations: 1.008 MB / 1.134 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008616/1.11, allocations: 211.8 kB / 1.134 GB, free: 26.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.11, allocations: 0 / 1.134 GB, free: 26.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003582/1.11, allocations: 84.28 kB / 1.134 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/1.111, allocations: 11.95 kB / 1.134 GB, free: 26.78 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/1.113, allocations: 0.9224 MB / 1.135 GB, free: 25.93 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/1.113, allocations: 0.7014 MB / 1.136 GB, free: 25.22 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001017/1.113, allocations: 21.61 kB / 1.136 GB, free: 25.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.361e-05/1.114, allocations: 33.28 kB / 1.136 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of SimCode: time 9.22e-07/1.114, allocations: 0 / 1.136 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03976/1.153, allocations: 2.398 MB / 1.138 GB, free: 23.89 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/1.154, allocations: 187.2 kB / 1.138 GB, free: 23.65 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.837, allocations: 0 / 1.138 GB, free: 23.65 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)