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.00134/0.00134, allocations: 103 kB / 16.36 MB, free: 6.336 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.001548/0.001548, allocations: 198.3 kB / 17.3 MB, free: 5.883 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 287.7 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9318/0.9318, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 91.52 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1456, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002596/0.1482, allocations: 1.621 MB / 0.6832 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006093/0.1488, allocations: 339.8 kB / 0.6835 GB, free: 5.496 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.1489, allocations: 4 kB / 0.6835 GB, free: 5.492 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.1489, allocations: 3.938 kB / 0.6835 GB, free: 5.488 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.979e-05/0.149, allocations: 15.8 kB / 0.6835 GB, free: 5.473 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.1493, allocations: 79.78 kB / 0.6836 GB, free: 5.395 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.1495, allocations: 115.6 kB / 0.6837 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1496, allocations: 27.97 kB / 0.6837 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.032e-05/0.1497, allocations: 47.78 kB / 0.6838 GB, free: 5.207 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.813e-05/0.1498, allocations: 51.77 kB / 0.6838 GB, free: 5.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.1498, allocations: 8 kB / 0.6838 GB, free: 5.148 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.748e-05/0.1499, allocations: 31.97 kB / 0.6839 GB, free: 5.117 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.1499, allocations: 19.98 kB / 0.6839 GB, free: 5.098 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.15, allocations: 47.75 kB / 0.6839 GB, free: 5.051 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.1501, allocations: 115.5 kB / 0.684 GB, free: 4.938 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1501, allocations: 0 / 0.684 GB, free: 4.938 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1501, allocations: 0 / 0.684 GB, free: 4.938 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1501, allocations: 0 / 0.684 GB, free: 4.938 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.0005259/0.1507, allocations: 407.1 kB / 0.6844 GB, free: 4.488 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.1507, allocations: 8.031 kB / 0.6844 GB, free: 4.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.1521, allocations: 172.5 kB / 0.6846 GB, free: 4.312 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.1522, allocations: 172.2 kB / 0.6848 GB, free: 4.105 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.1523, allocations: 8.375 kB / 0.6848 GB, free: 4.098 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.1523, allocations: 4.375 kB / 0.6848 GB, free: 4.094 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006145/0.1529, allocations: 178 kB / 0.685 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.1529, allocations: 192 / 0.685 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.1529, allocations: 3.938 kB / 0.685 GB, free: 3.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.153, allocations: 4 kB / 0.685 GB, free: 3.906 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008957/0.1539, allocations: 179.8 kB / 0.6851 GB, free: 3.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.155, allocations: 488 kB / 0.6856 GB, free: 3.203 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.1561, allocations: 182.4 kB / 0.6858 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/0.1565, allocations: 68.84 kB / 0.6858 GB, free: 2.945 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.1565, allocations: 0 / 0.6858 GB, free: 2.945 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.1565, allocations: 34.56 kB / 0.6859 GB, free: 2.902 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1565, allocations: 0 / 0.6859 GB, free: 2.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001127/0.1577, allocations: 229.4 kB / 0.6861 GB, free: 2.672 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1577, allocations: 55.41 kB / 0.6861 GB, free: 2.605 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.1579, allocations: 193.8 kB / 0.6863 GB, free: 2.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.158, allocations: 29.69 kB / 0.6864 GB, free: 2.375 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.158, allocations: 99.95 kB / 0.6865 GB, free: 2.273 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.1581, allocations: 19.83 kB / 0.6865 GB, free: 2.254 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.978e-05/0.1581, allocations: 33.69 kB / 0.6865 GB, free: 2.215 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.257e-05/0.1582, allocations: 314.8 kB / 0.6868 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000442/0.1587, allocations: 89.53 kB / 0.6869 GB, free: 1.809 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004291/0.1591, allocations: 102.5 kB / 0.687 GB, free: 1.699 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007269/0.1599, allocations: 158.4 kB / 0.6871 GB, free: 1.535 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1599, allocations: 0 / 0.6871 GB, free: 1.535 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009326/0.1608, allocations: 217.4 kB / 0.6873 GB, free: 1.316 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1608, allocations: 4 kB / 0.6873 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1608, allocations: 3.938 kB / 0.6874 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1609, allocations: 3.938 kB / 0.6874 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.1612, allocations: 51.94 kB / 0.6874 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.1612, allocations: 3.938 kB / 0.6874 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000384/0.1616, allocations: 39.86 kB / 0.6874 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.1616, allocations: 8.047 kB / 0.6875 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002031/0.1618, allocations: 124.1 kB / 0.6876 GB, free: 1.078 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001767/0.162, allocations: 77.97 kB / 0.6876 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002491/0.1623, allocations: 101.9 kB / 0.6877 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.524e-06/0.1623, allocations: 3.938 kB / 0.6878 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004096/0.1627, allocations: 141.5 kB / 0.6879 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.1627, allocations: 10.19 kB / 0.6879 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-06/0.1627, allocations: 0 / 0.6879 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.737e-06/0.1627, allocations: 4 kB / 0.6879 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.1629, allocations: 32.12 kB / 0.6879 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.1629, allocations: 3.984 kB / 0.6879 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.1632, allocations: 27.92 kB / 0.688 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.1632, allocations: 11.92 kB / 0.688 GB, free: 0.625 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 8.358e-05/0.1633, allocations: 180.3 kB / 0.6881 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.1633, allocations: 7.906 kB / 0.6882 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.827e-05/0.1634, allocations: 16.19 kB / 0.6882 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1634, allocations: 0 / 0.6882 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1634, allocations: 0 / 0.6882 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1634, allocations: 0 / 0.6882 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.1636, allocations: 213.5 kB / 0.6884 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1636, allocations: 0 / 0.6884 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.1638, allocations: 35.95 kB / 0.6884 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.1639, allocations: 3.984 kB / 0.6884 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.1639, allocations: 7.938 kB / 0.6884 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1639, allocations: 0 / 0.6884 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1639, allocations: 0 / 0.6884 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2481/0.412, allocations: 253.6 kB / 0.6887 GB, free: 18.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.03e-05/0.4121, allocations: 94.66 kB / 0.6887 GB, free: 18.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.4121, allocations: 5.016 kB / 0.6888 GB, free: 18.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/0.4124, allocations: 28.7 kB / 0.6888 GB, free: 18.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.4125, allocations: 5.844 kB / 0.6888 GB, free: 18.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.4125, allocations: 3.156 kB / 0.6888 GB, free: 18.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001806/0.4127, allocations: 142.3 kB / 0.6889 GB, free: 18.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4127, allocations: 1.75 kB / 0.6889 GB, free: 18.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003791/0.4131, allocations: 36.75 kB / 0.689 GB, free: 18.42 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.0001106/0.4132, allocations: 98.2 kB / 0.6891 GB, free: 18.33 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.4142, allocations: 206.8 kB / 0.6893 GB, free: 18.33 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4143, allocations: 1.062 kB / 0.6893 GB, free: 18.33 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003452/0.4146, allocations: 77.7 kB / 0.6893 GB, free: 18.33 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.4149, allocations: 10.62 kB / 0.6893 GB, free: 18.33 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008261/0.4158, allocations: 235.3 kB / 0.6896 GB, free: 18.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.921e-05/0.4159, allocations: 0.6963 MB / 0.6902 GB, free: 17.51 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.416, allocations: 27.97 kB / 0.6903 GB, free: 17.51 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.926e-05/0.4161, allocations: 24.47 kB / 0.6903 GB, free: 17.51 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4161, allocations: 3.938 kB / 0.6903 GB, free: 17.51 MB / 494.1 MB Notification: Performance of Templates: time 0.004218/0.4203, allocations: 1.681 MB / 0.6919 GB, free: 17.48 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)