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.001285/0.001285, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001326/0.001326, allocations: 188.2 kB / 16.25 MB, free: 6.586 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.53/1.53, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002632/0.002632, allocations: 282.3 kB / 290.4 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.091/1.091, allocations: 178.6 MB / 0.507 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002775/0.002775, allocations: 103.8 kB / 0.6059 GB, free: 24.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1787, allocations: 89.15 MB / 0.693 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003023/0.1818, allocations: 1.679 MB / 0.6946 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006816/0.1825, allocations: 343.8 kB / 0.695 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.1826, allocations: 0 / 0.695 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.654e-05/0.1826, allocations: 7.875 kB / 0.695 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.264e-05/0.1827, allocations: 19.84 kB / 0.695 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.183, allocations: 55.94 kB / 0.695 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1832, allocations: 111.6 kB / 0.6951 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.1833, allocations: 31.97 kB / 0.6952 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.49e-05/0.1834, allocations: 43.8 kB / 0.6952 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.025e-05/0.1835, allocations: 51.81 kB / 0.6953 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.1835, allocations: 8 kB / 0.6953 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1836, allocations: 35.92 kB / 0.6953 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.523e-05/0.1836, allocations: 19.98 kB / 0.6953 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.407e-05/0.1837, allocations: 43.73 kB / 0.6954 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.1839, allocations: 115.9 kB / 0.6955 GB, free: 2.195 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.716e-06/0.1839, allocations: 0 / 0.6955 GB, free: 2.195 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1839, allocations: 0 / 0.6955 GB, free: 2.195 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1839, allocations: 0 / 0.6955 GB, free: 2.195 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.0006119/0.1845, allocations: 407.1 kB / 0.6959 GB, free: 1.746 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1846, allocations: 8.031 kB / 0.6959 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.1861, allocations: 164.6 kB / 0.696 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.1863, allocations: 176.2 kB / 0.6962 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.1863, allocations: 12.31 kB / 0.6962 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.1863, allocations: 4.375 kB / 0.6962 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006721/0.187, allocations: 171.3 kB / 0.6964 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.187, allocations: 192 / 0.6964 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.187, allocations: 11.94 kB / 0.6964 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.187, allocations: 0 / 0.6964 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009739/0.188, allocations: 187.7 kB / 0.6966 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.1894, allocations: 480.3 kB / 0.697 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.1905, allocations: 186.4 kB / 0.6972 GB, free: 280 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.1909, allocations: 64.86 kB / 0.6973 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.1909, allocations: 3.984 kB / 0.6973 GB, free: 208 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.191, allocations: 38.5 kB / 0.6973 GB, free: 160 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.191, allocations: 0 / 0.6973 GB, free: 160 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001234/0.1922, allocations: 229.3 kB / 0.6975 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.1923, allocations: 51.41 kB / 0.6976 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.1925, allocations: 188.2 kB / 0.6978 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.1926, allocations: 29.64 kB / 0.6978 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.433e-05/0.1927, allocations: 107.9 kB / 0.6979 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.1927, allocations: 7.844 kB / 0.6979 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-05/0.1928, allocations: 29.69 kB / 0.6979 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1929, allocations: 326.8 kB / 0.6982 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/0.1934, allocations: 88.77 kB / 0.6983 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004705/0.1939, allocations: 106.4 kB / 0.6984 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008164/0.1947, allocations: 158.4 kB / 0.6986 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1947, allocations: 0 / 0.6986 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001029/0.1958, allocations: 221.3 kB / 0.6988 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1958, allocations: 4 kB / 0.6988 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.1958, allocations: 4 kB / 0.6988 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1958, allocations: 3.938 kB / 0.6988 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.1962, allocations: 47.88 kB / 0.6988 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.1962, allocations: 7.984 kB / 0.6988 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/0.1966, allocations: 35.95 kB / 0.6989 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.1966, allocations: 4 kB / 0.6989 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002294/0.1969, allocations: 127.2 kB / 0.699 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001964/0.1971, allocations: 77.98 kB / 0.6991 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002812/0.1974, allocations: 105.8 kB / 0.6992 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.1974, allocations: 0 / 0.6992 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.000446/0.1978, allocations: 137.4 kB / 0.6993 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.1978, allocations: 6.188 kB / 0.6993 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1979, allocations: 4 kB / 0.6993 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-06/0.1979, allocations: 0 / 0.6993 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.198, allocations: 28.12 kB / 0.6993 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.198, allocations: 11.94 kB / 0.6994 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.1983, allocations: 31.81 kB / 0.6994 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1983, allocations: 4 kB / 0.6994 GB, free: 13.89 MB / 0.4981 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.0001264/0.1984, allocations: 180.3 kB / 0.6996 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.1985, allocations: 7.906 kB / 0.6996 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.716e-05/0.1986, allocations: 24.17 kB / 0.6996 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1986, allocations: 0 / 0.6996 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1986, allocations: 0 / 0.6996 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1986, allocations: 0 / 0.6996 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.1988, allocations: 213.5 kB / 0.6998 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.1989, allocations: 4.062 kB / 0.6998 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.1991, allocations: 35.95 kB / 0.6998 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1991, allocations: 0 / 0.6998 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.1991, allocations: 7.922 kB / 0.6998 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1991, allocations: 0 / 0.6998 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1991, allocations: 0 / 0.6998 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008333/0.2, allocations: 259.2 kB / 0.7001 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.2001, allocations: 96.98 kB / 0.7002 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.2001, allocations: 3.938 kB / 0.7002 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.2004, allocations: 27.95 kB / 0.7002 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.2005, allocations: 8 kB / 0.7002 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.2005, allocations: 3.984 kB / 0.7002 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002037/0.2007, allocations: 143.2 kB / 0.7004 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2007, allocations: 3.938 kB / 0.7004 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003528/0.2011, allocations: 36 kB / 0.7004 GB, free: 12.76 MB / 0.4981 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.0001233/0.2012, allocations: 95.25 kB / 0.7005 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.2023, allocations: 212.1 kB / 0.7007 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2023, allocations: 0 / 0.7007 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.2027, allocations: 68.05 kB / 0.7008 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.203, allocations: 11 kB / 0.7008 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009682/0.204, allocations: 278.9 kB / 0.701 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.2044, allocations: 0.6924 MB / 0.7017 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001971/0.2046, allocations: 27.98 kB / 0.7017 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.828e-05/0.2046, allocations: 15.42 kB / 0.7017 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.2046, allocations: 0 / 0.7017 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.004659/0.2093, allocations: 1.632 MB / 0.7033 GB, free: 9.691 MB / 0.4981 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)