Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.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.EulerCurve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001243, allocations: 106.6 kB / 15.99 MB, free: 6.348 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.001229/0.001229, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.241/1.241, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 285.3 kB / 291 MB, free: 14.71 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9073/0.9073, allocations: 169.2 MB / 0.4985 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 90.14 kB / 0.5953 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1671, allocations: 86.98 MB / 0.6803 GB, free: 8.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001934/0.1691, allocations: 0.5894 MB / 0.6809 GB, free: 7.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1702, allocations: 0.617 MB / 0.6815 GB, free: 7.336 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.298e-05/0.1702, allocations: 4 kB / 0.6815 GB, free: 7.332 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.1703, allocations: 0 / 0.6815 GB, free: 7.332 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.231e-06/0.1703, allocations: 0 / 0.6815 GB, free: 7.332 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006974/0.171, allocations: 147.7 kB / 0.6816 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.877e-05/0.171, allocations: 4 kB / 0.6816 GB, free: 7.184 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.1711, allocations: 7.984 kB / 0.6816 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.586e-05/0.1711, allocations: 3.938 kB / 0.6816 GB, free: 7.172 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.285e-05/0.1711, allocations: 3.984 kB / 0.6816 GB, free: 7.168 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1712, allocations: 4 kB / 0.6816 GB, free: 7.164 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003998/0.1716, allocations: 207.7 kB / 0.6818 GB, free: 6.961 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.1716, allocations: 7.984 kB / 0.6818 GB, free: 6.953 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.1716, allocations: 0 / 0.6818 GB, free: 6.953 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.1718, allocations: 87.81 kB / 0.6819 GB, free: 6.867 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1718, allocations: 3.938 kB / 0.6819 GB, free: 6.863 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1718, allocations: 0 / 0.6819 GB, free: 6.863 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1718, allocations: 0 / 0.6819 GB, free: 6.863 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003163/0.1722, allocations: 343.6 kB / 0.6822 GB, free: 6.477 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1722, allocations: 12.03 kB / 0.6823 GB, free: 6.465 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.1723, allocations: 4.938 kB / 0.6823 GB, free: 6.461 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.578e-05/0.1723, allocations: 164.6 kB / 0.6824 GB, free: 6.262 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1724, allocations: 384 / 0.6824 GB, free: 6.262 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.1724, allocations: 4.375 kB / 0.6824 GB, free: 6.258 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.784e-05/0.1725, allocations: 38.25 kB / 0.6825 GB, free: 6.215 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.1725, allocations: 192 / 0.6825 GB, free: 6.215 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1725, allocations: 7.875 kB / 0.6825 GB, free: 6.207 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1725, allocations: 0 / 0.6825 GB, free: 6.207 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.383e-05/0.1726, allocations: 4 kB / 0.6825 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.1728, allocations: 161.6 kB / 0.6826 GB, free: 5.996 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.859e-05/0.1729, allocations: 34.61 kB / 0.6827 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.892e-05/0.1729, allocations: 8.859 kB / 0.6827 GB, free: 5.941 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008481/0.1738, allocations: 0.6923 MB / 0.6833 GB, free: 5.102 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1738, allocations: 38.55 kB / 0.6834 GB, free: 5.055 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.1738, allocations: 3.938 kB / 0.6834 GB, free: 5.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001369/0.1739, allocations: 53.56 kB / 0.6834 GB, free: 4.992 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.174, allocations: 51.41 kB / 0.6835 GB, free: 4.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.46e-05/0.174, allocations: 93.86 kB / 0.6836 GB, free: 4.828 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.174, allocations: 25.7 kB / 0.6836 GB, free: 4.797 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.236e-05/0.1741, allocations: 80.14 kB / 0.6837 GB, free: 4.715 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.1741, allocations: 7.812 kB / 0.6837 GB, free: 4.707 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.1742, allocations: 21.7 kB / 0.6837 GB, free: 4.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.621e-05/0.1743, allocations: 310.8 kB / 0.684 GB, free: 4.367 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.1743, allocations: 8 kB / 0.684 GB, free: 4.359 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.132e-05/0.1743, allocations: 13.72 kB / 0.684 GB, free: 4.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.555e-05/0.1744, allocations: 33.64 kB / 0.6841 GB, free: 4.301 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1744, allocations: 0 / 0.6841 GB, free: 4.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.081e-05/0.1744, allocations: 49.69 kB / 0.6841 GB, free: 4.246 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1745, allocations: 4 kB / 0.6841 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1745, allocations: 3.984 kB / 0.6841 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1745, allocations: 3.938 kB / 0.6841 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.458e-05/0.1745, allocations: 11.94 kB / 0.6841 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1745, allocations: 4 kB / 0.6841 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.397e-05/0.1746, allocations: 8.031 kB / 0.6841 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1746, allocations: 4 kB / 0.6841 GB, free: 4.207 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 5.964e-05/0.1746, allocations: 105.8 kB / 0.6842 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-06/0.1746, allocations: 3.984 kB / 0.6842 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.632e-05/0.1747, allocations: 53.12 kB / 0.6843 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1748, allocations: 0 / 0.6843 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1748, allocations: 0 / 0.6843 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1748, allocations: 0 / 0.6843 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.1749, allocations: 153.7 kB / 0.6844 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1749, allocations: 4 kB / 0.6844 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.16e-05/0.1749, allocations: 11.88 kB / 0.6845 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1749, allocations: 0 / 0.6845 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.175, allocations: 7.938 kB / 0.6845 GB, free: 3.805 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.175, allocations: 0 / 0.6845 GB, free: 3.805 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.175, allocations: 0 / 0.6845 GB, free: 3.805 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.1751, allocations: 73.11 kB / 0.6845 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/0.1751, allocations: 85.47 kB / 0.6846 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.1751, allocations: 11.94 kB / 0.6846 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.278e-06/0.1751, allocations: 0 / 0.6846 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.011e-05/0.1752, allocations: 0 / 0.6846 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1752, allocations: 4 kB / 0.6846 GB, free: 3.598 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.769e-05/0.1752, allocations: 75.28 kB / 0.6847 GB, free: 3.523 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1752, allocations: 0 / 0.6847 GB, free: 3.523 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002368/0.1754, allocations: 47.98 kB / 0.6847 GB, free: 3.477 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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.0003105/0.1758, allocations: 179 kB / 0.6849 GB, free: 3.289 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.784e-05/0.1758, allocations: 15.98 kB / 0.6849 GB, free: 3.273 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1759, allocations: 0 / 0.6849 GB, free: 3.273 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.254e-05/0.1759, allocations: 8 kB / 0.6849 GB, free: 3.266 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.176, allocations: 0 / 0.6849 GB, free: 3.266 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002412/0.1763, allocations: 139.2 kB / 0.6851 GB, free: 3.098 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.1765, allocations: 0.6768 MB / 0.6857 GB, free: 2.395 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/0.1765, allocations: 7.438 kB / 0.6857 GB, free: 2.387 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1765, allocations: 4.062 kB / 0.6857 GB, free: 2.383 MB / 494.1 MB Notification: Performance of Templates: time 0.002739/0.1792, allocations: 1.354 MB / 0.6871 GB, free: 1.027 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1)