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.001052/0.001052, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001044/0.001044, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00224/0.00224, allocations: 290.8 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9629/0.9629, allocations: 169.2 MB / 0.4978 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 96.66 kB / 0.5947 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1494, allocations: 86.99 MB / 0.6796 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002694/0.1522, allocations: 1.669 MB / 0.6813 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006102/0.1528, allocations: 330.6 kB / 0.6816 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.1529, allocations: 0.5625 kB / 0.6816 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.811e-05/0.1529, allocations: 3.938 kB / 0.6816 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.474e-05/0.153, allocations: 20.5 kB / 0.6816 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.1533, allocations: 66.03 kB / 0.6817 GB, free: 15 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.1534, allocations: 107.6 kB / 0.6818 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1536, allocations: 38.67 kB / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.456e-05/0.1536, allocations: 39.8 kB / 0.6818 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.203e-05/0.1537, allocations: 47.83 kB / 0.6819 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.1538, allocations: 8.719 kB / 0.6819 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.927e-05/0.1539, allocations: 43.97 kB / 0.6819 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.1539, allocations: 15.98 kB / 0.682 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.1539, allocations: 44.23 kB / 0.682 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.1541, allocations: 108.5 kB / 0.6821 GB, free: 14.56 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1541, allocations: 0 / 0.6821 GB, free: 14.56 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1541, allocations: 4.531 kB / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1541, allocations: 0 / 0.6821 GB, free: 14.55 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.0005505/0.1547, allocations: 404.3 kB / 0.6825 GB, free: 14.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.1547, allocations: 12.94 kB / 0.6825 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.1562, allocations: 168.5 kB / 0.6827 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.1563, allocations: 176.2 kB / 0.6828 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1564, allocations: 8.375 kB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.1564, allocations: 4.375 kB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006425/0.157, allocations: 170.1 kB / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1571, allocations: 8.156 kB / 0.683 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.1571, allocations: 7.938 kB / 0.683 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1571, allocations: 8 kB / 0.683 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009274/0.158, allocations: 179.8 kB / 0.6832 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.1593, allocations: 480.1 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.1604, allocations: 182.4 kB / 0.6838 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.1608, allocations: 68.84 kB / 0.6839 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.1608, allocations: 7.922 kB / 0.6839 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.1608, allocations: 30.56 kB / 0.6839 GB, free: 12.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.835e-06/0.1608, allocations: 4 kB / 0.6839 GB, free: 12.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.00118/0.162, allocations: 225.4 kB / 0.6841 GB, free: 12.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.1621, allocations: 51.41 kB / 0.6842 GB, free: 12.22 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.1623, allocations: 199.5 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.1623, allocations: 29.7 kB / 0.6844 GB, free: 11.99 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/0.1624, allocations: 107.9 kB / 0.6845 GB, free: 11.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.1625, allocations: 11.84 kB / 0.6845 GB, free: 11.87 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.483e-05/0.1625, allocations: 29.69 kB / 0.6846 GB, free: 11.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1626, allocations: 322.8 kB / 0.6849 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004644/0.1631, allocations: 92.77 kB / 0.685 GB, free: 11.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004481/0.1636, allocations: 102.4 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007905/0.1644, allocations: 154.4 kB / 0.6852 GB, free: 11.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.1644, allocations: 4 kB / 0.6852 GB, free: 11.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009798/0.1654, allocations: 213.4 kB / 0.6854 GB, free: 10.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1654, allocations: 4 kB / 0.6854 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1654, allocations: 0 / 0.6854 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1654, allocations: 11.92 kB / 0.6854 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.1658, allocations: 47.88 kB / 0.6855 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1658, allocations: 0 / 0.6855 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.1662, allocations: 47.86 kB / 0.6855 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.1662, allocations: 7.984 kB / 0.6855 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002145/0.1664, allocations: 116.1 kB / 0.6856 GB, free: 10.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000179/0.1666, allocations: 82.11 kB / 0.6857 GB, free: 10.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002589/0.1669, allocations: 109.8 kB / 0.6858 GB, free: 10.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.263e-06/0.1669, allocations: 0 / 0.6858 GB, free: 10.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004088/0.1673, allocations: 133.4 kB / 0.6859 GB, free: 10.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1673, allocations: 7.984 kB / 0.686 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1673, allocations: 4 kB / 0.686 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-06/0.1673, allocations: 224 / 0.686 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.1675, allocations: 31.92 kB / 0.686 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.1675, allocations: 7.938 kB / 0.686 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.1678, allocations: 23.91 kB / 0.686 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1678, allocations: 4 kB / 0.686 GB, free: 10.25 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.0001012/0.1679, allocations: 184.9 kB / 0.6862 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.168, allocations: 19.81 kB / 0.6862 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.168, allocations: 8.188 kB / 0.6862 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.168, allocations: 4 kB / 0.6862 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.168, allocations: 0 / 0.6862 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.168, allocations: 0 / 0.6862 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.1683, allocations: 209.5 kB / 0.6864 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1683, allocations: 8.062 kB / 0.6864 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.1685, allocations: 31.95 kB / 0.6865 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1685, allocations: 0 / 0.6865 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.1685, allocations: 11.86 kB / 0.6865 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1685, allocations: 0 / 0.6865 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1686, allocations: 0 / 0.6865 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007841/0.1693, allocations: 263.4 kB / 0.6867 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.95e-05/0.1694, allocations: 93.05 kB / 0.6868 GB, free: 9.332 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.1695, allocations: 15.91 kB / 0.6868 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.1698, allocations: 27.97 kB / 0.6869 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.1698, allocations: 0 / 0.6869 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.1698, allocations: 3.984 kB / 0.6869 GB, free: 9.285 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000188/0.17, allocations: 143.2 kB / 0.687 GB, free: 9.145 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.17, allocations: 0 / 0.687 GB, free: 9.145 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003516/0.1704, allocations: 32 kB / 0.687 GB, free: 9.113 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.0001053/0.1705, allocations: 107.2 kB / 0.6871 GB, free: 9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.1715, allocations: 207.8 kB / 0.6873 GB, free: 8.797 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1716, allocations: 0 / 0.6873 GB, free: 8.797 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003645/0.1719, allocations: 68.3 kB / 0.6874 GB, free: 8.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.1722, allocations: 7.984 kB / 0.6874 GB, free: 8.723 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008678/0.1731, allocations: 281.1 kB / 0.6877 GB, free: 8.426 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.1734, allocations: 0.6924 MB / 0.6883 GB, free: 7.707 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001886/0.1736, allocations: 27.98 kB / 0.6884 GB, free: 7.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.213e-05/0.1737, allocations: 23.41 kB / 0.6884 GB, free: 7.656 MB / 494.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1737, allocations: 0 / 0.6884 GB, free: 7.656 MB / 494.1 MB Notification: Performance of Templates: time 0.003881/0.1776, allocations: 1.621 MB / 0.69 GB, free: 6.047 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)