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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009076/0.0009075, allocations: 91.77 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005521/0.005521, allocations: 170.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001844/0.001844, allocations: 258.5 kB / 291.7 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9346/0.9346, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.0004107, allocations: 13.12 kB / 0.5988 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1531, allocations: 88.55 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001648/0.1548, allocations: 1.328 MB / 0.6865 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007002/0.1555, allocations: 329.7 kB / 0.6868 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.022e-05/0.1556, allocations: 4 kB / 0.6868 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.469e-05/0.1556, allocations: 7.922 kB / 0.6869 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.293e-05/0.1557, allocations: 11.86 kB / 0.6869 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.156, allocations: 75.84 kB / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.1561, allocations: 99.64 kB / 0.687 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1562, allocations: 38.16 kB / 0.6871 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.495e-05/0.1563, allocations: 35.84 kB / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.1564, allocations: 34.16 kB / 0.6871 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.1564, allocations: 4 kB / 0.6871 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.523e-05/0.1565, allocations: 31.92 kB / 0.6872 GB, free: 13 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.1565, allocations: 15.97 kB / 0.6872 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.335e-05/0.1566, allocations: 65.44 kB / 0.6873 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.1568, allocations: 95.66 kB / 0.6873 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1568, allocations: 0.75 kB / 0.6873 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1568, allocations: 7.938 kB / 0.6874 GB, free: 12.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1568, allocations: 1.344 kB / 0.6874 GB, free: 12.82 MB / 494.1 MB 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.0005129/0.1573, allocations: 393 kB / 0.6877 GB, free: 12.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1574, allocations: 12.02 kB / 0.6877 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.1574, allocations: 38.75 kB / 0.6878 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.1588, allocations: 176.5 kB / 0.6879 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.1589, allocations: 184.1 kB / 0.6881 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.159, allocations: 12.38 kB / 0.6881 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.159, allocations: 8.375 kB / 0.6881 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006374/0.1596, allocations: 178 kB / 0.6883 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1597, allocations: 3.938 kB / 0.6883 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.1597, allocations: 8 kB / 0.6883 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1597, allocations: 0 / 0.6883 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009446/0.1607, allocations: 215.7 kB / 0.6885 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.1618, allocations: 476.4 kB / 0.689 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.163, allocations: 218.4 kB / 0.6892 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.1633, allocations: 72.8 kB / 0.6893 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.1634, allocations: 0 / 0.6893 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.1634, allocations: 42.55 kB / 0.6893 GB, free: 10.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1634, allocations: 0 / 0.6893 GB, free: 10.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001196/0.1646, allocations: 257.2 kB / 0.6895 GB, free: 10.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.1647, allocations: 51.41 kB / 0.6896 GB, free: 10.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.1649, allocations: 195.6 kB / 0.6898 GB, free: 10.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.1649, allocations: 25.7 kB / 0.6898 GB, free: 10.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.165, allocations: 119.9 kB / 0.6899 GB, free: 9.988 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.165, allocations: 7.844 kB / 0.6899 GB, free: 9.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.1651, allocations: 17.72 kB / 0.6899 GB, free: 9.957 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.87e-05/0.1652, allocations: 318.8 kB / 0.6902 GB, free: 9.637 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/0.1656, allocations: 95.91 kB / 0.6903 GB, free: 9.543 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.1661, allocations: 110.5 kB / 0.6904 GB, free: 9.426 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008309/0.167, allocations: 178.4 kB / 0.6906 GB, free: 9.242 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.167, allocations: 0 / 0.6906 GB, free: 9.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001007/0.168, allocations: 245.3 kB / 0.6908 GB, free: 8.996 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.644e-05/0.1681, allocations: 110.7 kB / 0.691 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1681, allocations: 0 / 0.691 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1681, allocations: 3.984 kB / 0.691 GB, free: 8.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.1684, allocations: 51.94 kB / 0.691 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1684, allocations: 0 / 0.691 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003961/0.1688, allocations: 51.89 kB / 0.6911 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.1689, allocations: 7.984 kB / 0.6911 GB, free: 8.762 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.404e-06/0.1689, allocations: 4 kB / 0.6911 GB, free: 8.758 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004034/0.1693, allocations: 104.1 kB / 0.6912 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.1693, allocations: 3.938 kB / 0.6912 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-06/0.1693, allocations: 3.938 kB / 0.6912 GB, free: 8.648 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.1695, allocations: 28.05 kB / 0.6912 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1695, allocations: 7.922 kB / 0.6912 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.1697, allocations: 23.88 kB / 0.6912 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1697, allocations: 4 kB / 0.6912 GB, free: 8.586 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.1698, allocations: 193.8 kB / 0.6914 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.1698, allocations: 8.094 kB / 0.6914 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.848e-05/0.1699, allocations: 20.22 kB / 0.6914 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1699, allocations: 3.938 kB / 0.6914 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1699, allocations: 0 / 0.6914 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1699, allocations: 0 / 0.6914 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.1701, allocations: 205.6 kB / 0.6916 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1701, allocations: 0 / 0.6916 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.1704, allocations: 43.95 kB / 0.6917 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.1704, allocations: 0 / 0.6917 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1704, allocations: 11.86 kB / 0.6917 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.1704, allocations: 3.938 kB / 0.6917 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1704, allocations: 0 / 0.6917 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008229/0.1713, allocations: 279.3 kB / 0.692 GB, free: 7.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-05/0.1713, allocations: 100.9 kB / 0.6921 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.1714, allocations: 0 / 0.6921 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/0.1717, allocations: 43.89 kB / 0.6921 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.1717, allocations: 0 / 0.6921 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.1717, allocations: 7.984 kB / 0.6921 GB, free: 7.582 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.1719, allocations: 139.2 kB / 0.6922 GB, free: 7.445 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1719, allocations: 0 / 0.6922 GB, free: 7.445 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003401/0.1723, allocations: 39.94 kB / 0.6923 GB, free: 7.406 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00104/0.1733, allocations: 0.8177 MB / 0.6931 GB, free: 6.562 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.1744, allocations: 227.9 kB / 0.6933 GB, free: 6.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1744, allocations: 0 / 0.6933 GB, free: 6.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003916/0.1748, allocations: 84.03 kB / 0.6934 GB, free: 6.258 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.1751, allocations: 4.688 kB / 0.6934 GB, free: 6.254 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/0.1792, allocations: 2.024 MB / 0.6954 GB, free: 4.145 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.1794, allocations: 0.6965 MB / 0.696 GB, free: 3.422 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.1796, allocations: 23.98 kB / 0.6961 GB, free: 3.398 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.1797, allocations: 39.34 kB / 0.6961 GB, free: 3.359 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1797, allocations: 0 / 0.6961 GB, free: 3.359 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01206/0.1918, allocations: 2.671 MB / 0.6987 GB, free: 0.875 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.192, allocations: 227.3 kB / 0.6989 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/1.938, allocations: 0 / 0.6989 GB, free: 0.6211 MB / 494.1 MB (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/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)