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.005714/0.005714, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001162/0.001162, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002081/0.002081, allocations: 283.1 kB / 290.8 MB, free: 1.766 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9608/0.9608, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 91.86 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1766, allocations: 86.98 MB / 0.7664 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002635/0.1792, allocations: 1.618 MB / 0.768 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006784/0.1799, allocations: 336.4 kB / 0.7683 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.18, allocations: 0 / 0.7683 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.772e-05/0.18, allocations: 11.88 kB / 0.7683 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.095e-05/0.1801, allocations: 19.8 kB / 0.7683 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.1805, allocations: 83.72 kB / 0.7684 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.1806, allocations: 107.6 kB / 0.7685 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.1808, allocations: 43.91 kB / 0.7685 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.731e-05/0.1809, allocations: 39.84 kB / 0.7686 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.474e-05/0.181, allocations: 43.83 kB / 0.7686 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.181, allocations: 8 kB / 0.7686 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1811, allocations: 39.97 kB / 0.7687 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.299e-05/0.1811, allocations: 15.92 kB / 0.7687 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.1812, allocations: 43.75 kB / 0.7687 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.1813, allocations: 103.7 kB / 0.7688 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1814, allocations: 8 kB / 0.7688 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1814, allocations: 0 / 0.7688 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.1814, allocations: 4 kB / 0.7688 GB, free: 5.938 MB / 0.5606 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.0006167/0.182, allocations: 407 kB / 0.7692 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.182, allocations: 12.03 kB / 0.7692 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.1834, allocations: 156.6 kB / 0.7694 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.1836, allocations: 180.2 kB / 0.7696 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.1836, allocations: 8.375 kB / 0.7696 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.1836, allocations: 8.375 kB / 0.7696 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006522/0.1843, allocations: 174 kB / 0.7697 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1843, allocations: 192 / 0.7697 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.1843, allocations: 7.938 kB / 0.7697 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1844, allocations: 4 kB / 0.7698 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009214/0.1853, allocations: 187.8 kB / 0.7699 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.1865, allocations: 480.3 kB / 0.7704 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.1876, allocations: 190.3 kB / 0.7706 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.1879, allocations: 68.84 kB / 0.7706 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1879, allocations: 0 / 0.7706 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.188, allocations: 30.56 kB / 0.7707 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.188, allocations: 0 / 0.7707 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.001167/0.1891, allocations: 225.4 kB / 0.7709 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.1892, allocations: 51.41 kB / 0.7709 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.1894, allocations: 189.7 kB / 0.7711 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1895, allocations: 33.69 kB / 0.7711 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.1895, allocations: 104 kB / 0.7712 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.1896, allocations: 11.83 kB / 0.7713 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-05/0.1896, allocations: 37.59 kB / 0.7713 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1898, allocations: 318.8 kB / 0.7716 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004622/0.1903, allocations: 84.77 kB / 0.7717 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/0.1907, allocations: 102.5 kB / 0.7718 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007881/0.1915, allocations: 158.4 kB / 0.7719 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1915, allocations: 7.938 kB / 0.7719 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000971/0.1925, allocations: 221.4 kB / 0.7721 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1925, allocations: 4 kB / 0.7721 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1926, allocations: 4 kB / 0.7721 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1926, allocations: 4 kB / 0.7722 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.1929, allocations: 43.94 kB / 0.7722 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1929, allocations: 0 / 0.7722 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/0.1933, allocations: 47.86 kB / 0.7722 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.1933, allocations: 7.984 kB / 0.7722 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002256/0.1936, allocations: 120.1 kB / 0.7724 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001848/0.1938, allocations: 81.91 kB / 0.7724 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002663/0.194, allocations: 101.9 kB / 0.7725 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.194, allocations: 0 / 0.7725 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004375/0.1945, allocations: 141.5 kB / 0.7727 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.213e-06/0.1945, allocations: 7.938 kB / 0.7727 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.1945, allocations: 4 kB / 0.7727 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-06/0.1945, allocations: 0 / 0.7727 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.1947, allocations: 27.91 kB / 0.7727 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1947, allocations: 4 kB / 0.7727 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.1949, allocations: 27.98 kB / 0.7727 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1949, allocations: 7.984 kB / 0.7727 GB, free: 1.633 MB / 0.5606 GB 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.0001043/0.195, allocations: 184.9 kB / 0.7729 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.1951, allocations: 7.906 kB / 0.7729 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.109e-05/0.1951, allocations: 8.188 kB / 0.7729 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1951, allocations: 8 kB / 0.7729 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1952, allocations: 3.938 kB / 0.773 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1952, allocations: 0 / 0.773 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.1954, allocations: 213.6 kB / 0.7732 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1954, allocations: 0 / 0.7732 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.1956, allocations: 27.95 kB / 0.7732 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1957, allocations: 3.984 kB / 0.7732 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1957, allocations: 7.938 kB / 0.7732 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1957, allocations: 0 / 0.7732 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1957, allocations: 0 / 0.7732 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008237/0.1965, allocations: 255.3 kB / 0.7734 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.1966, allocations: 108.9 kB / 0.7735 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.1967, allocations: 3.938 kB / 0.7735 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.197, allocations: 23.97 kB / 0.7736 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.197, allocations: 0 / 0.7736 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.197, allocations: 3.984 kB / 0.7736 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000188/0.1972, allocations: 150.5 kB / 0.7737 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1972, allocations: 3.938 kB / 0.7737 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003428/0.1976, allocations: 43.94 kB / 0.7738 GB, free: 0.5039 MB / 0.5606 GB 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.0001081/0.1977, allocations: 95.25 kB / 0.7739 GB, free: 412 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.1988, allocations: 203.7 kB / 0.774 GB, free: 208 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1988, allocations: 0.5625 kB / 0.774 GB, free: 208 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.1992, allocations: 75.84 kB / 0.7741 GB, free: 132 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.1995, allocations: 8.125 kB / 0.7741 GB, free: 124 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3232/0.5227, allocations: 241.3 kB / 0.7744 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.5229, allocations: 0.6934 MB / 0.775 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000178/0.5231, allocations: 22.59 kB / 0.7751 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.025e-05/0.5232, allocations: 22.77 kB / 0.7751 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/0.5232, allocations: 1.188 kB / 0.7751 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of Templates: time 0.004671/0.5279, allocations: 1.698 MB / 0.7767 GB, free: 14.12 MB / 0.5606 GB 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)