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.9285/0.9285, allocations: 143.3 MB / 158.3 MB, free: 5.781 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.001251/0.001251, allocations: 184.5 kB / 191.5 MB, free: 5.754 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.584/1.584, allocations: 223.1 MB / 447.7 MB, free: 4.812 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.001317/0.001317, allocations: 84.39 kB / 0.5187 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002112/0.002112, allocations: 270.4 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004693, allocations: 14.38 kB / 0.6929 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.199, allocations: 82.79 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1699/0.369, allocations: 109.6 MB / 0.8808 GB, free: 28 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.4237/0.7928, allocations: 74.28 kB / 0.8809 GB, free: 110 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.008341/0.8012, allocations: 3.239 MB / 0.884 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8012, allocations: 0 / 0.884 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.8012, allocations: 2.688 kB / 0.884 GB, free: 109.5 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.0004137/0.8017, allocations: 396.6 kB / 0.8844 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.8017, allocations: 10.16 kB / 0.8844 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.8018, allocations: 43.42 kB / 0.8845 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000787/0.8026, allocations: 94.75 kB / 0.8846 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.8027, allocations: 178.2 kB / 0.8847 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.8027, allocations: 10.39 kB / 0.8847 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.8027, allocations: 6.844 kB / 0.8847 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005538/0.8033, allocations: 160.8 kB / 0.8849 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.8033, allocations: 4 kB / 0.8849 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.8033, allocations: 2.562 kB / 0.8849 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.8033, allocations: 2.875 kB / 0.8849 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007739/0.8041, allocations: 179.5 kB / 0.8851 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.8052, allocations: 455.2 kB / 0.8855 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007656/0.806, allocations: 161.8 kB / 0.8857 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.806, allocations: 7.078 kB / 0.8857 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.806, allocations: 35.25 kB / 0.8857 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.806, allocations: 6.938 kB / 0.8857 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.001252/0.8073, allocations: 275.5 kB / 0.886 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.8073, allocations: 58.91 kB / 0.886 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.8075, allocations: 143.9 kB / 0.8862 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.8075, allocations: 29.64 kB / 0.8862 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.8075, allocations: 97.73 kB / 0.8863 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.8076, allocations: 23.14 kB / 0.8863 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.8076, allocations: 0 / 0.8863 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.363e-05/0.8077, allocations: 323.2 kB / 0.8866 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.8081, allocations: 84.41 kB / 0.8867 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.8084, allocations: 81.17 kB / 0.8868 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.8088, allocations: 74.92 kB / 0.8869 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.8088, allocations: 0 / 0.8869 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007963/0.8096, allocations: 209.2 kB / 0.8871 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/0.8097, allocations: 95 kB / 0.8871 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.8097, allocations: 2.906 kB / 0.8871 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.8097, allocations: 0 / 0.8871 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.81, allocations: 49.56 kB / 0.8872 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.81, allocations: 0.875 kB / 0.8872 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.8103, allocations: 35.38 kB / 0.8872 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.8103, allocations: 2.297 kB / 0.8872 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.205e-06/0.8103, allocations: 6.625 kB / 0.8872 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000199/0.8105, allocations: 67.84 kB / 0.8873 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.8105, allocations: 6.719 kB / 0.8873 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-06/0.8105, allocations: 0 / 0.8873 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.826e-05/0.8106, allocations: 17.25 kB / 0.8873 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.8106, allocations: 1.5 kB / 0.8873 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.353e-05/0.8107, allocations: 22.34 kB / 0.8873 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.8107, allocations: 7.109 kB / 0.8874 GB, free: 107.6 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 () * 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.059e-05/0.8108, allocations: 191.3 kB / 0.8875 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.8108, allocations: 10.56 kB / 0.8875 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.571e-05/0.8109, allocations: 12.48 kB / 0.8876 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.8109, allocations: 3.406 kB / 0.8876 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.8109, allocations: 0 / 0.8876 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.8109, allocations: 4.562 kB / 0.8876 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.812, allocations: 0.4962 MB / 0.888 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.812, allocations: 4.578 kB / 0.8881 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.8123, allocations: 36.53 kB / 0.8881 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8123, allocations: 2.969 kB / 0.8881 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.8123, allocations: 6.594 kB / 0.8881 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.8124, allocations: 7.922 kB / 0.8881 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8124, allocations: 0 / 0.8881 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008444/0.8132, allocations: 345.9 kB / 0.8884 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.8133, allocations: 98.98 kB / 0.8885 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.8133, allocations: 4.438 kB / 0.8885 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.8136, allocations: 28.81 kB / 0.8886 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.8136, allocations: 8.281 kB / 0.8886 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.8137, allocations: 4.922 kB / 0.8886 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.222e-05/0.8138, allocations: 121.2 kB / 0.8887 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8138, allocations: 0 / 0.8887 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003198/0.8141, allocations: 39.95 kB / 0.8887 GB, free: 106.7 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 () * 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.001115/0.8152, allocations: 1.008 MB / 0.8897 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009009/0.8161, allocations: 210.8 kB / 0.8899 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.8161, allocations: 0 / 0.8899 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003833/0.8165, allocations: 91.94 kB / 0.89 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.8168, allocations: 7.531 kB / 0.89 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.8194, allocations: 0.9166 MB / 0.8909 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.8196, allocations: 0.7026 MB / 0.8916 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.805e-05/0.8197, allocations: 22.14 kB / 0.8916 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.8198, allocations: 36.14 kB / 0.8916 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of SimCode: time 3.957e-06/0.8199, allocations: 0 / 0.8916 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01376/0.8336, allocations: 2.401 MB / 0.894 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/0.8338, allocations: 205.2 kB / 0.8942 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.505, allocations: 0 / 0.8942 GB, free: 104.2 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)