Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001729/0.001729, allocations: 191.4 kB / 16.25 MB, free: 6.633 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.44/1.44, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002736/0.002735, allocations: 278.2 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.073/1.073, allocations: 178.6 MB / 0.507 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002811/0.002811, allocations: 97.19 kB / 0.6059 GB, free: 24.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1748, allocations: 89.15 MB / 0.693 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001725/0.1766, allocations: 0.5816 MB / 0.6935 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001566/0.1768, allocations: 36.33 kB / 0.6936 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.1768, allocations: 4 kB / 0.6936 GB, free: 4.102 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.02e-05/0.1769, allocations: 3.984 kB / 0.6936 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.177, allocations: 7.922 kB / 0.6936 GB, free: 4.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.525e-05/0.1771, allocations: 8 kB / 0.6936 GB, free: 4.082 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.626e-05/0.1771, allocations: 4 kB / 0.6936 GB, free: 4.078 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.178e-05/0.1772, allocations: 3.984 kB / 0.6936 GB, free: 4.074 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.501e-05/0.1772, allocations: 4 kB / 0.6936 GB, free: 4.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.1773, allocations: 15.88 kB / 0.6936 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.1773, allocations: 0 / 0.6936 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.1773, allocations: 4 kB / 0.6936 GB, free: 4.051 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.621e-05/0.1774, allocations: 11.97 kB / 0.6936 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.1774, allocations: 11.94 kB / 0.6936 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.785e-05/0.1775, allocations: 0 / 0.6936 GB, free: 4.027 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1775, allocations: 4 kB / 0.6937 GB, free: 4.023 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1775, allocations: 0 / 0.6937 GB, free: 4.023 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1775, allocations: 0 / 0.6937 GB, free: 4.023 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004912/0.178, allocations: 333.4 kB / 0.694 GB, free: 3.648 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.178, allocations: 15.97 kB / 0.694 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.1781, allocations: 0.9375 kB / 0.694 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.1783, allocations: 172.3 kB / 0.6942 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1783, allocations: 8.375 kB / 0.6942 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.1783, allocations: 8.359 kB / 0.6942 GB, free: 3.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.302e-05/0.1784, allocations: 30.27 kB / 0.6942 GB, free: 3.375 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.1784, allocations: 192 / 0.6942 GB, free: 3.375 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1784, allocations: 7.922 kB / 0.6942 GB, free: 3.367 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1784, allocations: 0 / 0.6942 GB, free: 3.367 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.154e-05/0.1784, allocations: 7.938 kB / 0.6942 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.1786, allocations: 153.7 kB / 0.6944 GB, free: 3.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.88e-05/0.1787, allocations: 18.58 kB / 0.6944 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.579e-05/0.1787, allocations: 22.75 kB / 0.6944 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.1787, allocations: 3.984 kB / 0.6944 GB, free: 3.105 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.1788, allocations: 30.56 kB / 0.6944 GB, free: 3.066 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1788, allocations: 0 / 0.6944 GB, free: 3.066 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001322/0.1789, allocations: 49.56 kB / 0.6945 GB, free: 3.012 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.179, allocations: 51.41 kB / 0.6945 GB, free: 2.949 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.1791, allocations: 118 kB / 0.6946 GB, free: 2.824 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1791, allocations: 25.7 kB / 0.6947 GB, free: 2.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.1791, allocations: 80.14 kB / 0.6947 GB, free: 2.711 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.1792, allocations: 3.906 kB / 0.6947 GB, free: 2.707 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.1792, allocations: 17.72 kB / 0.6948 GB, free: 2.684 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1793, allocations: 314.8 kB / 0.6951 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.084e-05/0.1794, allocations: 4 kB / 0.6951 GB, free: 2.363 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.978e-05/0.1794, allocations: 25.7 kB / 0.6951 GB, free: 2.332 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.282e-05/0.1794, allocations: 21.66 kB / 0.6951 GB, free: 2.305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1795, allocations: 0 / 0.6951 GB, free: 2.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.287e-05/0.1795, allocations: 45.69 kB / 0.6952 GB, free: 2.254 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.1795, allocations: 5.562 kB / 0.6952 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1796, allocations: 7.938 kB / 0.6952 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1796, allocations: 128 / 0.6952 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.045e-05/0.1796, allocations: 11.94 kB / 0.6952 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1797, allocations: 3.984 kB / 0.6952 GB, free: 2.227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.134e-05/0.1797, allocations: 0 / 0.6952 GB, free: 2.227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.1797, allocations: 0 / 0.6952 GB, free: 2.227 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 (2): * Single equations (assignments): 2 * 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.139e-05/0.1798, allocations: 113.8 kB / 0.6953 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-06/0.1798, allocations: 0 / 0.6953 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.96e-05/0.1799, allocations: 57.14 kB / 0.6953 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.1799, allocations: 0 / 0.6953 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1799, allocations: 4.031 kB / 0.6953 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1799, allocations: 0 / 0.6953 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.1801, allocations: 161.7 kB / 0.6955 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1801, allocations: 0 / 0.6955 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.786e-05/0.1801, allocations: 3.938 kB / 0.6955 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1801, allocations: 4 kB / 0.6955 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1801, allocations: 3.938 kB / 0.6955 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.1801, allocations: 0 / 0.6955 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1802, allocations: 0 / 0.6955 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.1803, allocations: 81.02 kB / 0.6956 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.1803, allocations: 81.14 kB / 0.6957 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.1804, allocations: 4.188 kB / 0.6957 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.334e-05/0.1804, allocations: 8 kB / 0.6957 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.1804, allocations: 7.984 kB / 0.6957 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.1804, allocations: 3.938 kB / 0.6957 GB, free: 1.602 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.308e-05/0.1805, allocations: 87.28 kB / 0.6958 GB, free: 1.516 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1805, allocations: 0 / 0.6958 GB, free: 1.516 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000179/0.1807, allocations: 96 / 0.6958 GB, free: 1.516 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0001245/0.1808, allocations: 103.2 kB / 0.6959 GB, free: 1.406 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.464e-05/0.1809, allocations: 11.94 kB / 0.6959 GB, free: 1.395 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1809, allocations: 4 kB / 0.6959 GB, free: 1.391 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.942e-05/0.1809, allocations: 7.984 kB / 0.6959 GB, free: 1.383 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.1811, allocations: 4 kB / 0.6959 GB, free: 1.379 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002551/0.1813, allocations: 131.6 kB / 0.696 GB, free: 1.227 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.1817, allocations: 0.6768 MB / 0.6967 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.583e-05/0.1818, allocations: 7.938 kB / 0.6967 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/0.1818, allocations: 7.438 kB / 0.6967 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1818, allocations: 0 / 0.6967 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of Templates: time 0.002491/0.1843, allocations: 324.6 kB / 0.697 GB, free: 196 kB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)