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.001483/0.001483, allocations: 111.1 kB / 16.37 MB, free: 6.012 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.001731/0.001731, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00219/0.00219, allocations: 281 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9472/0.9472, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 98.25 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1719, allocations: 86.97 MB / 0.6816 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001679/0.1736, allocations: 0.5309 MB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1746, allocations: 0.624 MB / 0.6827 GB, free: 6.332 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.283e-05/0.1747, allocations: 4 kB / 0.6827 GB, free: 6.328 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.1747, allocations: 3.938 kB / 0.6827 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.111e-06/0.1747, allocations: 0 / 0.6827 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005727/0.1753, allocations: 171.4 kB / 0.6829 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.096e-05/0.1753, allocations: 7.984 kB / 0.6829 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.1754, allocations: 0 / 0.6829 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.453e-05/0.1754, allocations: 4 kB / 0.6829 GB, free: 6.145 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.788e-05/0.1754, allocations: 4 kB / 0.6829 GB, free: 6.141 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.1754, allocations: 4 kB / 0.6829 GB, free: 6.137 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.1757, allocations: 191.7 kB / 0.6831 GB, free: 5.949 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.227e-06/0.1758, allocations: 0 / 0.6831 GB, free: 5.949 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.741e-05/0.1758, allocations: 7.938 kB / 0.6831 GB, free: 5.941 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.176, allocations: 119.8 kB / 0.6832 GB, free: 5.824 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.176, allocations: 0 / 0.6832 GB, free: 5.824 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.176, allocations: 0 / 0.6832 GB, free: 5.824 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.176, allocations: 7.938 kB / 0.6832 GB, free: 5.816 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.0003185/0.1764, allocations: 343.6 kB / 0.6836 GB, free: 5.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.1764, allocations: 8.031 kB / 0.6836 GB, free: 5.422 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.1764, allocations: 4.938 kB / 0.6836 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.142e-05/0.1765, allocations: 184.2 kB / 0.6837 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.1765, allocations: 384 / 0.6837 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.1766, allocations: 4.375 kB / 0.6838 GB, free: 5.195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.222e-05/0.1767, allocations: 30.27 kB / 0.6838 GB, free: 5.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.1767, allocations: 192 / 0.6838 GB, free: 5.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.1767, allocations: 3.938 kB / 0.6838 GB, free: 5.156 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1767, allocations: 7.984 kB / 0.6838 GB, free: 5.148 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.64e-05/0.1767, allocations: 11.98 kB / 0.6838 GB, free: 5.137 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.177, allocations: 161.7 kB / 0.684 GB, free: 4.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.547e-05/0.177, allocations: 30.52 kB / 0.684 GB, free: 4.891 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.1771, allocations: 9 kB / 0.684 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008401/0.1779, allocations: 0.6844 MB / 0.6847 GB, free: 4.047 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.1779, allocations: 30.56 kB / 0.6847 GB, free: 4.008 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.1779, allocations: 0 / 0.6847 GB, free: 4.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001299/0.1781, allocations: 53.56 kB / 0.6847 GB, free: 3.949 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.1781, allocations: 51.41 kB / 0.6848 GB, free: 3.887 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.792e-05/0.1782, allocations: 93.84 kB / 0.6849 GB, free: 3.785 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1782, allocations: 37.7 kB / 0.6849 GB, free: 3.742 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.392e-05/0.1782, allocations: 80.14 kB / 0.685 GB, free: 3.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.1782, allocations: 7.812 kB / 0.685 GB, free: 3.652 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.1783, allocations: 17.72 kB / 0.685 GB, free: 3.629 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.1784, allocations: 310.8 kB / 0.6853 GB, free: 3.316 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/0.1784, allocations: 7.984 kB / 0.6853 GB, free: 3.309 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.419e-05/0.1784, allocations: 17.72 kB / 0.6853 GB, free: 3.285 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.047e-05/0.1785, allocations: 25.72 kB / 0.6854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1785, allocations: 0 / 0.6854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.236e-05/0.1786, allocations: 49.62 kB / 0.6854 GB, free: 3.199 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1786, allocations: 8 kB / 0.6854 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1786, allocations: 0 / 0.6854 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1786, allocations: 3.938 kB / 0.6854 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.156e-05/0.1786, allocations: 7.984 kB / 0.6854 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1787, allocations: 4 kB / 0.6854 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.504e-05/0.1787, allocations: 7.969 kB / 0.6854 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.1787, allocations: 3.938 kB / 0.6854 GB, free: 3.164 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.63e-05/0.1788, allocations: 113.8 kB / 0.6856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-06/0.1788, allocations: 0 / 0.6856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.217e-05/0.1789, allocations: 53.06 kB / 0.6856 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1789, allocations: 0 / 0.6856 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1789, allocations: 4 kB / 0.6856 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1789, allocations: 0 / 0.6856 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.179, allocations: 149.7 kB / 0.6858 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.179, allocations: 4 kB / 0.6858 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.315e-05/0.1791, allocations: 8 kB / 0.6858 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1791, allocations: 4.359 kB / 0.6858 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1791, allocations: 3.938 kB / 0.6858 GB, free: 2.762 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1791, allocations: 3.938 kB / 0.6858 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1791, allocations: 0 / 0.6858 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.1792, allocations: 73.11 kB / 0.6858 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/0.1793, allocations: 81.02 kB / 0.6859 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.1793, allocations: 8 kB / 0.6859 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.017e-05/0.1793, allocations: 8.031 kB / 0.6859 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.1793, allocations: 7.984 kB / 0.6859 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.1793, allocations: 0 / 0.6859 GB, free: 2.547 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.661e-05/0.1794, allocations: 75.28 kB / 0.686 GB, free: 2.473 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1794, allocations: 0 / 0.686 GB, free: 2.473 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.1796, allocations: 44 kB / 0.6861 GB, free: 2.43 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.000281/0.1799, allocations: 171.2 kB / 0.6862 GB, free: 2.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.501e-05/0.18, allocations: 19.94 kB / 0.6862 GB, free: 2.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.18, allocations: 0 / 0.6862 GB, free: 2.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.414e-05/0.18, allocations: 11.98 kB / 0.6863 GB, free: 2.219 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.1801, allocations: 6.812 kB / 0.6863 GB, free: 2.215 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.1804, allocations: 109.8 kB / 0.6864 GB, free: 2.082 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.1806, allocations: 0.6729 MB / 0.687 GB, free: 1.383 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.896e-05/0.1807, allocations: 3.984 kB / 0.687 GB, free: 1.379 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.397e-05/0.1807, allocations: 15.5 kB / 0.687 GB, free: 1.363 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1807, allocations: 3.938 kB / 0.687 GB, free: 1.359 MB / 494.1 MB Notification: Performance of Templates: time 0.003315/0.184, allocations: 1.239 MB / 0.6883 GB, free: 128 kB / 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1)