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.001106/0.001106, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001074/0.001074, allocations: 194.6 kB / 16.14 MB, free: 6.66 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.325/1.325, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002058, allocations: 294.5 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.955/0.955, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 98.09 kB / 0.5945 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1619, allocations: 86.97 MB / 0.6794 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.00278/0.1647, allocations: 1.673 MB / 0.6811 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006955/0.1655, allocations: 336.4 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.1655, allocations: 2.062 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.614e-05/0.1656, allocations: 7.922 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.202e-05/0.1657, allocations: 11.88 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.1659, allocations: 64.64 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.1661, allocations: 104.5 kB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1662, allocations: 42.09 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.001e-05/0.1663, allocations: 35.86 kB / 0.6817 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.214e-05/0.1664, allocations: 48.52 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.1664, allocations: 4 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.888e-05/0.1665, allocations: 47.91 kB / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.1665, allocations: 11.98 kB / 0.6818 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.1666, allocations: 43.73 kB / 0.6818 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.1667, allocations: 107.6 kB / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1667, allocations: 0 / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1667, allocations: 0 / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.1667, allocations: 0 / 0.6819 GB, free: 14.68 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.0005386/0.1673, allocations: 403.2 kB / 0.6823 GB, free: 14.24 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1673, allocations: 8.031 kB / 0.6823 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.1688, allocations: 168.5 kB / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.1689, allocations: 176.2 kB / 0.6826 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.169, allocations: 4.375 kB / 0.6826 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.169, allocations: 12.36 kB / 0.6826 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006536/0.1697, allocations: 176.4 kB / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.1697, allocations: 192 / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.1697, allocations: 7.938 kB / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1697, allocations: 0 / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009495/0.1707, allocations: 183.8 kB / 0.683 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.172, allocations: 480.1 kB / 0.6834 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.1731, allocations: 182.4 kB / 0.6836 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/0.1735, allocations: 68.84 kB / 0.6837 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1735, allocations: 0 / 0.6837 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.1735, allocations: 34.56 kB / 0.6837 GB, free: 12.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.1736, allocations: 4 kB / 0.6837 GB, free: 12.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001216/0.1748, allocations: 225.4 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/0.1748, allocations: 55.41 kB / 0.684 GB, free: 12.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.1751, allocations: 199.3 kB / 0.6842 GB, free: 12.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.1751, allocations: 29.64 kB / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/0.1752, allocations: 107.9 kB / 0.6843 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.1752, allocations: 15.84 kB / 0.6843 GB, free: 12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.1753, allocations: 25.69 kB / 0.6844 GB, free: 11.97 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1754, allocations: 322.8 kB / 0.6847 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/0.1759, allocations: 84.78 kB / 0.6847 GB, free: 11.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004466/0.1764, allocations: 102.5 kB / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007612/0.1771, allocations: 162.4 kB / 0.685 GB, free: 11.28 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1771, allocations: 0 / 0.685 GB, free: 11.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009494/0.1781, allocations: 213.4 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1781, allocations: 8 kB / 0.6852 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1781, allocations: 3.938 kB / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1782, allocations: 3.938 kB / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.1785, allocations: 47.94 kB / 0.6853 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1785, allocations: 7.938 kB / 0.6853 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/0.1789, allocations: 39.86 kB / 0.6853 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.1789, allocations: 7.984 kB / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000207/0.1791, allocations: 116.1 kB / 0.6854 GB, free: 10.83 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001878/0.1793, allocations: 81.97 kB / 0.6855 GB, free: 10.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002389/0.1796, allocations: 101.9 kB / 0.6856 GB, free: 10.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/0.1796, allocations: 4 kB / 0.6856 GB, free: 10.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004093/0.18, allocations: 141.3 kB / 0.6857 GB, free: 10.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.18, allocations: 8 kB / 0.6857 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-06/0.18, allocations: 224 / 0.6857 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.537e-06/0.18, allocations: 8 kB / 0.6858 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.1802, allocations: 27.91 kB / 0.6858 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.1802, allocations: 0 / 0.6858 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.1804, allocations: 27.91 kB / 0.6858 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.1805, allocations: 4 kB / 0.6858 GB, free: 10.39 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 9.754e-05/0.1806, allocations: 188.9 kB / 0.686 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.1806, allocations: 11.81 kB / 0.686 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.229e-05/0.1807, allocations: 20.17 kB / 0.686 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1807, allocations: 0 / 0.686 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1807, allocations: 192 / 0.686 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1807, allocations: 0 / 0.686 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.1809, allocations: 209.5 kB / 0.6862 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1809, allocations: 3.984 kB / 0.6862 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.1812, allocations: 35.95 kB / 0.6863 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1812, allocations: 0 / 0.6863 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.1812, allocations: 7.938 kB / 0.6863 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1812, allocations: 320 / 0.6863 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1812, allocations: 64 / 0.6863 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007757/0.182, allocations: 263.2 kB / 0.6865 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.64e-05/0.1821, allocations: 96.98 kB / 0.6866 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.1821, allocations: 3.938 kB / 0.6866 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/0.1824, allocations: 27.97 kB / 0.6866 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.1825, allocations: 3.984 kB / 0.6866 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.1825, allocations: 8 kB / 0.6867 GB, free: 9.426 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.1827, allocations: 135.2 kB / 0.6868 GB, free: 9.293 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1827, allocations: 0 / 0.6868 GB, free: 9.293 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003429/0.183, allocations: 40 kB / 0.6868 GB, free: 9.254 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.0001114/0.1831, allocations: 103.2 kB / 0.6869 GB, free: 9.145 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009925/0.1841, allocations: 207.8 kB / 0.6871 GB, free: 8.941 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1842, allocations: 3.938 kB / 0.6871 GB, free: 8.938 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.1845, allocations: 68.36 kB / 0.6872 GB, free: 8.871 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.1849, allocations: 8 kB / 0.6872 GB, free: 8.863 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008903/0.1858, allocations: 281.3 kB / 0.6875 GB, free: 8.566 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.186, allocations: 0.6926 MB / 0.6881 GB, free: 7.848 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001974/0.1863, allocations: 24 kB / 0.6882 GB, free: 7.824 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.106e-05/0.1863, allocations: 19.41 kB / 0.6882 GB, free: 7.805 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1863, allocations: 0 / 0.6882 GB, free: 7.805 MB / 494.1 MB Notification: Performance of Templates: time 0.00385/0.1902, allocations: 1.574 MB / 0.6897 GB, free: 6.238 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)