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: translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009288/0.0009288, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008434/0.0008435, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001752/0.001752, allocations: 270.4 kB / 291.4 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9513/0.9513, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004162, allocations: 14.31 kB / 0.598 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1529, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001627/0.1545, allocations: 1.302 MB / 0.6858 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005748/0.1551, allocations: 312.6 kB / 0.6861 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.06e-05/0.1552, allocations: 0 / 0.6861 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.1552, allocations: 3.938 kB / 0.6861 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.519e-05/0.1553, allocations: 20.34 kB / 0.6861 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.1556, allocations: 70.3 kB / 0.6862 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.1557, allocations: 87.66 kB / 0.6862 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1558, allocations: 33.8 kB / 0.6863 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.198e-05/0.1559, allocations: 31.91 kB / 0.6863 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.156, allocations: 35.8 kB / 0.6863 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.156, allocations: 5.688 kB / 0.6863 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.926e-05/0.1561, allocations: 27.97 kB / 0.6864 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.1561, allocations: 15.97 kB / 0.6864 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.1562, allocations: 41.64 kB / 0.6864 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.1563, allocations: 76.08 kB / 0.6865 GB, free: 13.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1563, allocations: 1.031 kB / 0.6865 GB, free: 13.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1563, allocations: 0 / 0.6865 GB, free: 13.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1563, allocations: 0 / 0.6865 GB, free: 13.43 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.0005136/0.1568, allocations: 389.7 kB / 0.6869 GB, free: 13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1569, allocations: 12.02 kB / 0.6869 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.1582, allocations: 182.9 kB / 0.6871 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.1583, allocations: 180.1 kB / 0.6872 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.1584, allocations: 11.94 kB / 0.6872 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.1584, allocations: 4 kB / 0.6872 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000599/0.159, allocations: 183.7 kB / 0.6874 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.159, allocations: 4 kB / 0.6874 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.159, allocations: 4 kB / 0.6874 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.1591, allocations: 0 / 0.6874 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008528/0.1599, allocations: 215.6 kB / 0.6876 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.1611, allocations: 488.2 kB / 0.6881 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009969/0.1621, allocations: 206.3 kB / 0.6883 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.1624, allocations: 80.84 kB / 0.6884 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.1625, allocations: 4 kB / 0.6884 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.1625, allocations: 34.56 kB / 0.6884 GB, free: 11.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.1625, allocations: 4 kB / 0.6884 GB, free: 11.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001092/0.1636, allocations: 249.5 kB / 0.6886 GB, free: 11.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.1636, allocations: 59.3 kB / 0.6887 GB, free: 11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.1639, allocations: 195.5 kB / 0.6889 GB, free: 10.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1639, allocations: 25.7 kB / 0.6889 GB, free: 10.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.164, allocations: 115.9 kB / 0.689 GB, free: 10.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.164, allocations: 11.83 kB / 0.689 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.164, allocations: 0 / 0.689 GB, free: 10.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1642, allocations: 318.8 kB / 0.6893 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/0.1646, allocations: 91.91 kB / 0.6894 GB, free: 10.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004324/0.165, allocations: 114.5 kB / 0.6895 GB, free: 10.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/0.1654, allocations: 87.92 kB / 0.6896 GB, free: 10.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1654, allocations: 0 / 0.6896 GB, free: 10.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009024/0.1663, allocations: 241.4 kB / 0.6898 GB, free: 9.781 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.978e-05/0.1664, allocations: 106.7 kB / 0.69 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1664, allocations: 3.953 kB / 0.69 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1665, allocations: 4 kB / 0.69 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.1668, allocations: 52.06 kB / 0.69 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1668, allocations: 0 / 0.69 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.1672, allocations: 55.84 kB / 0.6901 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.1672, allocations: 4 kB / 0.6901 GB, free: 9.547 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.161e-06/0.1672, allocations: 4 kB / 0.6901 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003687/0.1676, allocations: 99.86 kB / 0.6902 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.1676, allocations: 7.922 kB / 0.6902 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.948e-06/0.1676, allocations: 4 kB / 0.6902 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.1677, allocations: 28.03 kB / 0.6902 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-06/0.1677, allocations: 0 / 0.6902 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.1679, allocations: 27.91 kB / 0.6902 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.1679, allocations: 0 / 0.6902 GB, free: 9.379 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.168, allocations: 201 kB / 0.6904 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.1681, allocations: 15.75 kB / 0.6904 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.023e-05/0.1681, allocations: 12.25 kB / 0.6904 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1682, allocations: 0 / 0.6904 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1682, allocations: 3.984 kB / 0.6905 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1682, allocations: 0 / 0.6905 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.1684, allocations: 209.5 kB / 0.6907 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1684, allocations: 0 / 0.6907 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.1686, allocations: 43.94 kB / 0.6907 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1686, allocations: 0 / 0.6907 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1687, allocations: 0 / 0.6907 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1687, allocations: 0 / 0.6907 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1687, allocations: 0 / 0.6907 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007452/0.1694, allocations: 287.2 kB / 0.691 GB, free: 8.539 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.318e-05/0.1695, allocations: 97.11 kB / 0.6911 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.1696, allocations: 8 kB / 0.6911 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.1698, allocations: 35.91 kB / 0.6911 GB, free: 8.383 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.1699, allocations: 3.984 kB / 0.6911 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.1699, allocations: 4 kB / 0.6911 GB, free: 8.375 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.1701, allocations: 139.2 kB / 0.6912 GB, free: 8.238 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1701, allocations: 0 / 0.6912 GB, free: 8.238 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003544/0.1704, allocations: 36 kB / 0.6913 GB, free: 8.203 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 (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.0001146/0.1706, allocations: 103.2 kB / 0.6914 GB, free: 8.094 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009818/0.1716, allocations: 227.7 kB / 0.6916 GB, free: 7.871 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1716, allocations: 0 / 0.6916 GB, free: 7.871 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.1719, allocations: 80.16 kB / 0.6917 GB, free: 7.793 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.1722, allocations: 17.86 kB / 0.6917 GB, free: 7.777 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008363/0.1731, allocations: 302.6 kB / 0.692 GB, free: 7.461 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.1733, allocations: 0.6887 MB / 0.6926 GB, free: 6.746 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001949/0.1735, allocations: 27.98 kB / 0.6927 GB, free: 6.719 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.1736, allocations: 19.41 kB / 0.6927 GB, free: 6.699 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1736, allocations: 0 / 0.6927 GB, free: 6.699 MB / 494.1 MB Notification: Performance of Templates: time 0.003842/0.1775, allocations: 1.519 MB / 0.6942 GB, free: 5.188 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)