Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8619/0.8619, allocations: 141.8 MB / 149.3 MB, free: 9.168 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 176.9 kB / 182.2 MB, free: 9.402 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 221.5 MB / 436.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009102/0.0009101, allocations: 84.11 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001781/0.001782, allocations: 276.6 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.987e-05/1.988e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.411, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1435/0.5546, allocations: 108.9 MB / 0.8638 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/0.5549, allocations: 75.95 kB / 0.8638 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009447/0.5644, allocations: 3.218 MB / 0.867 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5644, allocations: 4 kB / 0.867 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.517e-06/0.5644, allocations: 0 / 0.867 GB, free: 15.61 MB / 0.5417 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.0004453/0.5649, allocations: 382.2 kB / 0.8674 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.5649, allocations: 12.03 kB / 0.8674 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000761/0.5657, allocations: 95.8 kB / 0.8675 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.5658, allocations: 178.8 kB / 0.8676 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.5659, allocations: 7.953 kB / 0.8676 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.5659, allocations: 4 kB / 0.8676 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001641/0.5661, allocations: 67.92 kB / 0.8677 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.5663, allocations: 89.62 kB / 0.8678 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.5663, allocations: 7.938 kB / 0.8678 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.5663, allocations: 0 / 0.8678 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5663, allocations: 0 / 0.8678 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.5673, allocations: 424.9 kB / 0.8682 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.5675, allocations: 66.56 kB / 0.8683 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.206e-05/0.5675, allocations: 32.97 kB / 0.8683 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.5676, allocations: 0 / 0.8683 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.5676, allocations: 38.52 kB / 0.8683 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.5676, allocations: 4 kB / 0.8683 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0002381/0.5678, allocations: 85.72 kB / 0.8684 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.5679, allocations: 51.41 kB / 0.8685 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.479e-05/0.568, allocations: 119.1 kB / 0.8686 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.568, allocations: 25.7 kB / 0.8686 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.5681, allocations: 107.8 kB / 0.8687 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.5681, allocations: 27.59 kB / 0.8687 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.5681, allocations: 0 / 0.8687 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5682, allocations: 322.8 kB / 0.869 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.608e-05/0.5683, allocations: 24 kB / 0.8691 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-05/0.5684, allocations: 31.97 kB / 0.8691 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.822e-05/0.5684, allocations: 20 kB / 0.8691 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5684, allocations: 0 / 0.8691 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001631/0.5686, allocations: 89.66 kB / 0.8692 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.563e-05/0.5687, allocations: 102.6 kB / 0.8693 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5687, allocations: 0 / 0.8693 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.5687, allocations: 3.984 kB / 0.8693 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.569, allocations: 43.95 kB / 0.8693 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.569, allocations: 0 / 0.8693 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.5692, allocations: 35.88 kB / 0.8694 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.5693, allocations: 7.922 kB / 0.8694 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/0.5693, allocations: 4 kB / 0.8694 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.151e-05/0.5694, allocations: 28.06 kB / 0.8694 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.5694, allocations: 4 kB / 0.8694 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-06/0.5694, allocations: 0 / 0.8694 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.084e-05/0.5695, allocations: 19.98 kB / 0.8694 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-06/0.5695, allocations: 4 kB / 0.8694 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.76e-05/0.5695, allocations: 7.984 kB / 0.8694 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.5696, allocations: 8 kB / 0.8695 GB, free: 12.88 MB / 0.5417 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 8.482e-05/0.5697, allocations: 104.9 kB / 0.8696 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00016/0.5698, allocations: 89.5 kB / 0.8696 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.5699, allocations: 4 kB / 0.8696 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.313e-05/0.5699, allocations: 20.34 kB / 0.8697 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.5699, allocations: 0 / 0.8697 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5699, allocations: 3.953 kB / 0.8697 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.5699, allocations: 0 / 0.8697 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004206/0.5704, allocations: 372.6 kB / 0.87 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5704, allocations: 0 / 0.87 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.5707, allocations: 44 kB / 0.8701 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.5707, allocations: 4 kB / 0.8701 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.5707, allocations: 3.938 kB / 0.8701 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.5707, allocations: 3.953 kB / 0.8701 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.5707, allocations: 7.984 kB / 0.8701 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.5709, allocations: 228.5 kB / 0.8703 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.114e-05/0.571, allocations: 96.95 kB / 0.8704 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.571, allocations: 0 / 0.8704 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.5713, allocations: 27.97 kB / 0.8704 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.5714, allocations: 7.984 kB / 0.8704 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.5714, allocations: 4 kB / 0.8704 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.497e-05/0.5714, allocations: 99.27 kB / 0.8705 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2e-07/0.5715, allocations: 0 / 0.8705 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003142/0.5718, allocations: 27.94 kB / 0.8706 GB, free: 11.64 MB / 0.5417 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.0006202/0.5724, allocations: 0.9019 MB / 0.8714 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.5726, allocations: 87.58 kB / 0.8715 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5726, allocations: 4 kB / 0.8715 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.194e-05/0.5727, allocations: 27.98 kB / 0.8716 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.5729, allocations: 7.984 kB / 0.8716 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000809/0.5738, allocations: 205.2 kB / 0.8718 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.574, allocations: 0.7079 MB / 0.8724 GB, free: 9.594 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001084/0.5741, allocations: 19.98 kB / 0.8725 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.888e-05/0.5742, allocations: 31.41 kB / 0.8725 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of SimCode: time 3.41e-07/0.5742, allocations: 0 / 0.8725 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.5942, allocations: 1.865 MB / 0.8743 GB, free: 7.691 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/0.5945, allocations: 167 kB / 0.8745 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/2.243, allocations: 0 / 0.8745 GB, free: 7.496 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)