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.006023/0.006023, allocations: 99.56 kB / 15.73 MB, free: 6.48 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.001275/0.001275, allocations: 189 kB / 16.67 MB, free: 6.367 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 286.6 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9639/0.9639, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.00159, allocations: 95.84 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1783, allocations: 86.97 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002567/0.1809, allocations: 1.62 MB / 0.768 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006345/0.1816, allocations: 332.4 kB / 0.7683 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.407e-05/0.1816, allocations: 0 / 0.7683 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.902e-05/0.1817, allocations: 7.875 kB / 0.7683 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.683e-05/0.1817, allocations: 19.78 kB / 0.7683 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.1821, allocations: 91.72 kB / 0.7684 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.1822, allocations: 103.6 kB / 0.7685 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1824, allocations: 39.94 kB / 0.7685 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.692e-05/0.1825, allocations: 39.86 kB / 0.7686 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.718e-05/0.1826, allocations: 47.81 kB / 0.7686 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.1826, allocations: 8 kB / 0.7686 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.464e-05/0.1827, allocations: 39.98 kB / 0.7687 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.1827, allocations: 19.92 kB / 0.7687 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.866e-05/0.1828, allocations: 43.73 kB / 0.7687 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.183, allocations: 115.5 kB / 0.7688 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.183, allocations: 0 / 0.7688 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.183, allocations: 0 / 0.7688 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.183, allocations: 0 / 0.7688 GB, free: 5.918 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.0006245/0.1836, allocations: 407 kB / 0.7692 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1837, allocations: 12.03 kB / 0.7692 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.185, allocations: 168.6 kB / 0.7694 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.1851, allocations: 178.7 kB / 0.7696 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.1851, allocations: 8.375 kB / 0.7696 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.1852, allocations: 4.375 kB / 0.7696 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006096/0.1858, allocations: 174 kB / 0.7697 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1858, allocations: 192 / 0.7697 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.1858, allocations: 11.94 kB / 0.7698 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.1858, allocations: 7.984 kB / 0.7698 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008906/0.1867, allocations: 187.7 kB / 0.7699 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.1879, allocations: 480.3 kB / 0.7704 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.189, allocations: 186.2 kB / 0.7706 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/0.1893, allocations: 68.84 kB / 0.7706 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.1894, allocations: 4 kB / 0.7706 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.1894, allocations: 30.56 kB / 0.7707 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1894, allocations: 4 kB / 0.7707 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.001149/0.1906, allocations: 225.3 kB / 0.7709 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.1906, allocations: 51.41 kB / 0.7709 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.1909, allocations: 189.2 kB / 0.7711 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.1909, allocations: 25.7 kB / 0.7711 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.191, allocations: 112 kB / 0.7713 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.191, allocations: 11.95 kB / 0.7713 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.1911, allocations: 29.69 kB / 0.7713 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1912, allocations: 318.8 kB / 0.7716 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004431/0.1917, allocations: 92.77 kB / 0.7717 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000445/0.1921, allocations: 98.48 kB / 0.7718 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007623/0.1929, allocations: 154.4 kB / 0.7719 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1929, allocations: 0 / 0.7719 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009457/0.1938, allocations: 221.5 kB / 0.7721 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1939, allocations: 4 kB / 0.7721 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1939, allocations: 0 / 0.7721 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1939, allocations: 7.938 kB / 0.7722 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.1942, allocations: 47.92 kB / 0.7722 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1942, allocations: 0 / 0.7722 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.1946, allocations: 55.91 kB / 0.7722 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.1946, allocations: 3.984 kB / 0.7723 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002082/0.1948, allocations: 120.1 kB / 0.7724 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001913/0.195, allocations: 81.91 kB / 0.7724 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002552/0.1953, allocations: 101.9 kB / 0.7725 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.81e-07/0.1953, allocations: 0 / 0.7725 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004203/0.1957, allocations: 133.5 kB / 0.7727 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.1958, allocations: 10.48 kB / 0.7727 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.1958, allocations: 0 / 0.7727 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-06/0.1958, allocations: 12.16 kB / 0.7727 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.1959, allocations: 27.92 kB / 0.7727 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1959, allocations: 7.938 kB / 0.7727 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.1962, allocations: 23.92 kB / 0.7727 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.1962, allocations: 4 kB / 0.7728 GB, free: 1.609 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 9.88e-05/0.1963, allocations: 180.9 kB / 0.7729 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.1963, allocations: 15.94 kB / 0.7729 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.1964, allocations: 12.19 kB / 0.773 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1964, allocations: 0 / 0.773 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1964, allocations: 0 / 0.773 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1964, allocations: 7.938 kB / 0.773 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.1966, allocations: 217.4 kB / 0.7732 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1966, allocations: 0 / 0.7732 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.1969, allocations: 31.95 kB / 0.7732 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1969, allocations: 4 kB / 0.7732 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.1969, allocations: 7.922 kB / 0.7732 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1969, allocations: 0 / 0.7732 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1969, allocations: 0 / 0.7732 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007509/0.1977, allocations: 259.3 kB / 0.7735 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.352e-05/0.1978, allocations: 97 kB / 0.7735 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.1978, allocations: 7.938 kB / 0.7736 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.1981, allocations: 27.95 kB / 0.7736 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.1981, allocations: 4.234 kB / 0.7736 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.1981, allocations: 3.984 kB / 0.7736 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001793/0.1983, allocations: 146.7 kB / 0.7737 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1983, allocations: 0 / 0.7737 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000336/0.1987, allocations: 32 kB / 0.7738 GB, free: 496 kB / 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.0001086/0.1988, allocations: 107.2 kB / 0.7739 GB, free: 380 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.1998, allocations: 211.9 kB / 0.7741 GB, free: 168 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1998, allocations: 0 / 0.7741 GB, free: 168 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003504/0.2002, allocations: 68.23 kB / 0.7741 GB, free: 100 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.2005, allocations: 12 kB / 0.7741 GB, free: 88 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3425/0.543, allocations: 236.9 kB / 0.7744 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.5431, allocations: 0.6946 MB / 0.775 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001786/0.5433, allocations: 23.11 kB / 0.7751 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.984e-05/0.5434, allocations: 22.58 kB / 0.7751 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of SimCode: time 7.11e-07/0.5434, allocations: 1.422 kB / 0.7751 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of Templates: time 0.004852/0.5483, allocations: 1.69 MB / 0.7767 GB, free: 14.11 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)