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.658/1.658, allocations: 289.9 MB / 297.4 MB, free: 6.332 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.001345/0.001345, allocations: 188.8 kB / 366.7 MB, free: 1.633 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.617/1.617, allocations: 205.2 MB / 0.626 GB, free: 7.148 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.0009724/0.0009724, allocations: 93.84 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.711e-05/1.713e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.642/0.6421, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1981/0.8402, allocations: 139.1 MB / 1.109 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.8405, allocations: 85.42 kB / 1.109 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.009307/0.8498, allocations: 3.181 MB / 1.112 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8499, allocations: 0 / 1.112 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.8499, allocations: 0 / 1.112 GB, free: 7.785 MB / 0.7136 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.0005006/0.8504, allocations: 381.3 kB / 1.113 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.8505, allocations: 13.72 kB / 1.113 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008136/0.8513, allocations: 96.84 kB / 1.113 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.8515, allocations: 174.9 kB / 1.113 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.8515, allocations: 9.25 kB / 1.113 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.8515, allocations: 4 kB / 1.113 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001667/0.8517, allocations: 65.48 kB / 1.113 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.8519, allocations: 92.41 kB / 1.113 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.8519, allocations: 4 kB / 1.113 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.8519, allocations: 0 / 1.113 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.852, allocations: 3.984 kB / 1.113 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.853, allocations: 424.9 kB / 1.114 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.8532, allocations: 66.56 kB / 1.114 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.354e-05/0.8533, allocations: 36.92 kB / 1.114 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.8533, allocations: 0 / 1.114 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.8533, allocations: 42.5 kB / 1.114 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.8533, allocations: 0 / 1.114 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0002475/0.8536, allocations: 85.72 kB / 1.114 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.8536, allocations: 51.41 kB / 1.114 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.8538, allocations: 120.4 kB / 1.114 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.8538, allocations: 25.7 kB / 1.114 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/0.8539, allocations: 110.4 kB / 1.114 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.8539, allocations: 23.66 kB / 1.114 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-06/0.8539, allocations: 0 / 1.114 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.854, allocations: 322.8 kB / 1.114 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.268e-05/0.8541, allocations: 24 kB / 1.114 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.167e-05/0.8542, allocations: 31.97 kB / 1.115 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.376e-05/0.8542, allocations: 26.88 kB / 1.115 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8542, allocations: 0 / 1.115 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001696/0.8544, allocations: 89.61 kB / 1.115 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.433e-05/0.8545, allocations: 100.9 kB / 1.115 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.8545, allocations: 0 / 1.115 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.8545, allocations: 6.562 kB / 1.115 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.8548, allocations: 39.95 kB / 1.115 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.8548, allocations: 0 / 1.115 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.8551, allocations: 35.88 kB / 1.115 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.8551, allocations: 3.984 kB / 1.115 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.8551, allocations: 4 kB / 1.115 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.22e-05/0.8552, allocations: 28 kB / 1.115 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-06/0.8552, allocations: 0 / 1.115 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-06/0.8552, allocations: 0 / 1.115 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.387e-05/0.8553, allocations: 27.92 kB / 1.115 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-06/0.8553, allocations: 0 / 1.115 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.816e-05/0.8554, allocations: 11.94 kB / 1.115 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.8554, allocations: 8 kB / 1.115 GB, free: 5.066 MB / 0.7136 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.405e-05/0.8555, allocations: 103.1 kB / 1.115 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001542/0.8556, allocations: 85.56 kB / 1.115 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.8557, allocations: 7.906 kB / 1.115 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.297e-05/0.8557, allocations: 16.41 kB / 1.115 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.8558, allocations: 3.953 kB / 1.115 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.8558, allocations: 0 / 1.115 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.8558, allocations: 0 / 1.115 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004023/0.8562, allocations: 371.2 kB / 1.115 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.8562, allocations: 3.984 kB / 1.115 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.8565, allocations: 43.95 kB / 1.116 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.8565, allocations: 11.89 kB / 1.116 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.8565, allocations: 3.984 kB / 1.116 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.8565, allocations: 0 / 1.116 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.8565, allocations: 4 kB / 1.116 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.8567, allocations: 224.5 kB / 1.116 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.8568, allocations: 93 kB / 1.116 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.8568, allocations: 0 / 1.116 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.8571, allocations: 29.84 kB / 1.116 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.8572, allocations: 7.984 kB / 1.116 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.8572, allocations: 7.938 kB / 1.116 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.065e-05/0.8572, allocations: 101.4 kB / 1.116 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8572, allocations: 0 / 1.116 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003222/0.8576, allocations: 31.84 kB / 1.116 GB, free: 3.828 MB / 0.7136 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.0005567/0.8581, allocations: 0.8888 MB / 1.117 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000197/0.8583, allocations: 83.91 kB / 1.117 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8584, allocations: 4 kB / 1.117 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.671e-05/0.8584, allocations: 31.92 kB / 1.117 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.8586, allocations: 10.88 kB / 1.117 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008386/0.8595, allocations: 204.3 kB / 1.117 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.8597, allocations: 0.704 MB / 1.118 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.8599, allocations: 27.88 kB / 1.118 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.978e-05/0.86, allocations: 31.41 kB / 1.118 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.86, allocations: 0 / 1.118 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.881, allocations: 1.867 MB / 1.12 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/0.8812, allocations: 148.8 kB / 1.12 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/2.596, allocations: 0 / 1.12 GB, free: 15.73 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)