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.001367/0.001367, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001412/0.001412, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.319/1.319, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002185/0.002186, allocations: 287.1 kB / 291.3 MB, free: 14.56 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.923/0.923, allocations: 169.3 MB / 0.4988 GB, free: 4.512 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 94.27 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1673, allocations: 86.98 MB / 0.6808 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.002099/0.1694, allocations: 0.5246 MB / 0.6814 GB, free: 7.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1706, allocations: 0.6277 MB / 0.682 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.1706, allocations: 0 / 0.682 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.501e-05/0.1707, allocations: 0 / 0.682 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.402e-06/0.1707, allocations: 0 / 0.682 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007177/0.1714, allocations: 167.5 kB / 0.6821 GB, free: 6.863 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.066e-05/0.1715, allocations: 8 kB / 0.6821 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.1715, allocations: 3.984 kB / 0.6821 GB, free: 6.852 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.869e-05/0.1716, allocations: 3.938 kB / 0.6821 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.038e-05/0.1716, allocations: 7.984 kB / 0.6822 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.1716, allocations: 0 / 0.6822 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003694/0.172, allocations: 191.7 kB / 0.6823 GB, free: 6.652 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.172, allocations: 0 / 0.6823 GB, free: 6.652 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.172, allocations: 7.984 kB / 0.6823 GB, free: 6.645 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.1723, allocations: 123.8 kB / 0.6825 GB, free: 6.523 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1723, allocations: 0 / 0.6825 GB, free: 6.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1723, allocations: 0 / 0.6825 GB, free: 6.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1723, allocations: 7.984 kB / 0.6825 GB, free: 6.516 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.0003435/0.1727, allocations: 343.6 kB / 0.6828 GB, free: 6.129 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1727, allocations: 8.031 kB / 0.6828 GB, free: 6.121 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.1728, allocations: 0.9375 kB / 0.6828 GB, free: 6.121 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.185e-05/0.1729, allocations: 168.6 kB / 0.683 GB, free: 5.918 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1729, allocations: 4.375 kB / 0.683 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.1729, allocations: 4.375 kB / 0.683 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.755e-05/0.173, allocations: 38.19 kB / 0.683 GB, free: 5.867 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.173, allocations: 192 / 0.683 GB, free: 5.867 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.173, allocations: 3.938 kB / 0.683 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1731, allocations: 0 / 0.683 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.565e-05/0.1731, allocations: 11.98 kB / 0.683 GB, free: 5.852 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.1733, allocations: 149.7 kB / 0.6832 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.13e-05/0.1734, allocations: 34.61 kB / 0.6832 GB, free: 5.613 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.247e-05/0.1735, allocations: 12.86 kB / 0.6832 GB, free: 5.598 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008609/0.1743, allocations: 0.6921 MB / 0.6839 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.1744, allocations: 30.56 kB / 0.6839 GB, free: 4.719 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.1744, allocations: 0 / 0.6839 GB, free: 4.719 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001503/0.1745, allocations: 53.61 kB / 0.684 GB, free: 4.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.1746, allocations: 51.41 kB / 0.684 GB, free: 4.598 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.249e-05/0.1746, allocations: 89.86 kB / 0.6841 GB, free: 4.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1746, allocations: 29.7 kB / 0.6841 GB, free: 4.465 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.632e-05/0.1747, allocations: 80.14 kB / 0.6842 GB, free: 4.383 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.1747, allocations: 19.8 kB / 0.6842 GB, free: 4.363 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.1747, allocations: 13.72 kB / 0.6842 GB, free: 4.344 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.44e-05/0.1748, allocations: 314.8 kB / 0.6845 GB, free: 4.027 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.538e-05/0.1748, allocations: 7.938 kB / 0.6845 GB, free: 4.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.78e-05/0.1749, allocations: 21.64 kB / 0.6846 GB, free: 3.992 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.55e-05/0.1749, allocations: 25.72 kB / 0.6846 GB, free: 3.961 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1749, allocations: 4 kB / 0.6846 GB, free: 3.957 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.923e-05/0.175, allocations: 49.62 kB / 0.6846 GB, free: 3.902 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.1751, allocations: 8 kB / 0.6847 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1751, allocations: 0 / 0.6847 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1751, allocations: 3.938 kB / 0.6847 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.203e-05/0.1751, allocations: 4 kB / 0.6847 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1751, allocations: 4 kB / 0.6847 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.415e-05/0.1752, allocations: 0 / 0.6847 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.1752, allocations: 3.984 kB / 0.6847 GB, free: 3.879 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 6.879e-05/0.1752, allocations: 113.9 kB / 0.6848 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-06/0.1753, allocations: 0 / 0.6848 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.1754, allocations: 57.06 kB / 0.6848 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1754, allocations: 0 / 0.6848 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1754, allocations: 4 kB / 0.6848 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1754, allocations: 0 / 0.6848 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.1755, allocations: 149.7 kB / 0.685 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1755, allocations: 0 / 0.685 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.1756, allocations: 8 kB / 0.685 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.1756, allocations: 0 / 0.685 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.1756, allocations: 11.88 kB / 0.685 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1756, allocations: 0 / 0.685 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1756, allocations: 0 / 0.685 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.1757, allocations: 81.05 kB / 0.6851 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.1758, allocations: 81.02 kB / 0.6852 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.1758, allocations: 3.938 kB / 0.6852 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.145e-05/0.1758, allocations: 4.031 kB / 0.6852 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.1758, allocations: 64 / 0.6852 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.1758, allocations: 4 kB / 0.6852 GB, free: 3.266 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.551e-05/0.1759, allocations: 75.28 kB / 0.6852 GB, free: 3.191 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1759, allocations: 0 / 0.6852 GB, free: 3.191 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.1762, allocations: 51.98 kB / 0.6853 GB, free: 3.141 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.0003278/0.1765, allocations: 175.5 kB / 0.6855 GB, free: 2.957 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.476e-05/0.1766, allocations: 23.92 kB / 0.6855 GB, free: 2.934 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1766, allocations: 4.062 kB / 0.6855 GB, free: 2.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.231e-05/0.1766, allocations: 7.938 kB / 0.6855 GB, free: 2.922 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.1768, allocations: 8 kB / 0.6855 GB, free: 2.914 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.177, allocations: 131.5 kB / 0.6856 GB, free: 2.754 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.1772, allocations: 0.6729 MB / 0.6863 GB, free: 2.055 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/0.1772, allocations: 7.438 kB / 0.6863 GB, free: 2.047 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1773, allocations: 4 kB / 0.6863 GB, free: 2.043 MB / 494.1 MB Notification: Performance of Templates: time 0.003134/0.1804, allocations: 1.346 MB / 0.6876 GB, free: 0.6992 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)