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.741/1.741, allocations: 289.7 MB / 302.2 MB, free: 2.199 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.001229/0.001229, allocations: 184 kB / 371.6 MB, free: 3.387 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.725/1.725, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.0009722/0.0009722, allocations: 86.91 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.121e-05/4.125e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2959, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7712/1.067, allocations: 139.8 MB / 1.116 GB, free: 44 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/1.067, allocations: 80.69 kB / 1.117 GB, free: 43.97 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.008302/1.076, allocations: 3.203 MB / 1.12 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.162e-06/1.076, allocations: 0 / 1.12 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.245e-06/1.076, allocations: 0 / 1.12 GB, free: 42.13 MB / 0.7448 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.0004288/1.076, allocations: 386.3 kB / 1.12 GB, free: 41.74 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/1.076, allocations: 12.03 kB / 1.12 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.128e-05/1.076, allocations: 34.12 kB / 1.12 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000751/1.077, allocations: 98.92 kB / 1.12 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/1.077, allocations: 181.8 kB / 1.12 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/1.077, allocations: 7.266 kB / 1.12 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/1.077, allocations: 7.438 kB / 1.12 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/1.078, allocations: 106.4 kB / 1.12 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.078, allocations: 0.6562 kB / 1.12 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/1.078, allocations: 8.734 kB / 1.12 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/1.078, allocations: 0 / 1.12 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/1.078, allocations: 67.16 kB / 1.12 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009875/1.079, allocations: 461.7 kB / 1.121 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/1.079, allocations: 69.56 kB / 1.121 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.333e-05/1.079, allocations: 36.73 kB / 1.121 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/1.079, allocations: 4.75 kB / 1.121 GB, free: 40.83 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/1.079, allocations: 30.56 kB / 1.121 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 3.066e-06/1.079, allocations: 1.969 kB / 1.121 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0002489/1.079, allocations: 95.22 kB / 1.121 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/1.079, allocations: 51.41 kB / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/1.079, allocations: 146.6 kB / 1.121 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/1.079, allocations: 29.7 kB / 1.121 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/1.08, allocations: 105 kB / 1.121 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/1.08, allocations: 15.69 kB / 1.121 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-06/1.08, allocations: 0 / 1.121 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.803e-05/1.08, allocations: 322.1 kB / 1.122 GB, free: 40.08 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.113e-05/1.08, allocations: 29.33 kB / 1.122 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.165e-05/1.08, allocations: 26.31 kB / 1.122 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.997e-05/1.08, allocations: 25.95 kB / 1.122 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.08, allocations: 0 / 1.122 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001793/1.08, allocations: 107.5 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.462e-05/1.08, allocations: 104.2 kB / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/1.08, allocations: 0 / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/1.08, allocations: 0 / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/1.08, allocations: 41.78 kB / 1.122 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/1.08, allocations: 4 kB / 1.122 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/1.081, allocations: 27.64 kB / 1.122 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/1.081, allocations: 10.98 kB / 1.122 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/1.081, allocations: 7.938 kB / 1.122 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.769e-05/1.081, allocations: 31.61 kB / 1.122 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-06/1.081, allocations: 0 / 1.122 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/1.081, allocations: 8.516 kB / 1.122 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.442e-05/1.081, allocations: 22.8 kB / 1.122 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-06/1.081, allocations: 0.6562 kB / 1.122 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.368e-05/1.081, allocations: 15.84 kB / 1.122 GB, free: 39.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/1.081, allocations: 1.641 kB / 1.122 GB, free: 39.73 MB / 0.7448 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 6.442e-05/1.081, allocations: 109.2 kB / 1.122 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/1.081, allocations: 11.91 kB / 1.122 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.366e-05/1.081, allocations: 15.41 kB / 1.122 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.081, allocations: 7.953 kB / 1.122 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.081, allocations: 0.6562 kB / 1.122 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.081, allocations: 0 / 1.122 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/1.082, allocations: 397.6 kB / 1.123 GB, free: 39.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.082, allocations: 4.062 kB / 1.123 GB, free: 39.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/1.082, allocations: 42.09 kB / 1.123 GB, free: 39.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.082, allocations: 3.953 kB / 1.123 GB, free: 39.19 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/1.082, allocations: 4.969 kB / 1.123 GB, free: 39.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.082, allocations: 5.031 kB / 1.123 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/1.082, allocations: 0 / 1.123 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/1.082, allocations: 231.7 kB / 1.123 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/1.082, allocations: 98.73 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/1.082, allocations: 0 / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/1.083, allocations: 34.17 kB / 1.123 GB, free: 38.83 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/1.083, allocations: 0.8125 kB / 1.123 GB, free: 38.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/1.083, allocations: 10.81 kB / 1.123 GB, free: 38.83 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.882e-05/1.083, allocations: 116.6 kB / 1.123 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/1.083, allocations: 0 / 1.123 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002884/1.083, allocations: 35.75 kB / 1.123 GB, free: 38.7 MB / 0.7448 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.0004195/1.083, allocations: 0.9041 MB / 1.124 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002274/1.084, allocations: 96.22 kB / 1.124 GB, free: 37.74 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.084, allocations: 0 / 1.124 GB, free: 37.74 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.882e-05/1.084, allocations: 32.66 kB / 1.124 GB, free: 37.72 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/1.084, allocations: 11.55 kB / 1.124 GB, free: 37.71 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000776/1.085, allocations: 213.5 kB / 1.125 GB, free: 37.51 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/1.085, allocations: 0.7064 MB / 1.125 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001074/1.085, allocations: 15.38 kB / 1.125 GB, free: 36.78 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.064e-05/1.085, allocations: 35.67 kB / 1.125 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of SimCode: time 1.113e-06/1.085, allocations: 0 / 1.125 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/1.101, allocations: 2.497 MB / 1.128 GB, free: 35.41 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/1.101, allocations: 170.2 kB / 1.128 GB, free: 35.18 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.827, allocations: 0 / 1.128 GB, free: 35.18 MB / 0.7448 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)