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.001579/0.001579, allocations: 110.9 kB / 15.99 MB, free: 6.355 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.001472/0.001473, allocations: 197.7 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.332/1.332, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002442/0.002442, allocations: 292.5 kB / 291 MB, free: 14.67 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.161/1.161, allocations: 178.5 MB / 0.5076 GB, free: 13.02 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002644/0.002644, allocations: 99.83 kB / 0.6066 GB, free: 9.684 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1781, allocations: 89.13 MB / 0.6936 GB, free: 480 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001678/0.1798, allocations: 0.601 MB / 0.6942 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001488/0.18, allocations: 37.72 kB / 0.6942 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.246e-05/0.18, allocations: 0 / 0.6942 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.895e-05/0.1801, allocations: 3.938 kB / 0.6942 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.1802, allocations: 0 / 0.6942 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.477e-05/0.1803, allocations: 11.98 kB / 0.6943 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.004e-05/0.1803, allocations: 8 kB / 0.6943 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.461e-05/0.1804, allocations: 11.92 kB / 0.6943 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.529e-05/0.1804, allocations: 4 kB / 0.6943 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.271e-05/0.1805, allocations: 11.94 kB / 0.6943 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1805, allocations: 4 kB / 0.6943 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.1805, allocations: 0 / 0.6943 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.1806, allocations: 3.984 kB / 0.6943 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.1806, allocations: 11.92 kB / 0.6943 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.207e-05/0.1807, allocations: 4 kB / 0.6943 GB, free: 15.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1807, allocations: 3.984 kB / 0.6943 GB, free: 15.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1807, allocations: 0 / 0.6943 GB, free: 15.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.1807, allocations: 0 / 0.6943 GB, free: 15.75 MB / 0.545 GB 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.0004297/0.1811, allocations: 331.7 kB / 0.6946 GB, free: 15.37 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1812, allocations: 12.03 kB / 0.6946 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.1812, allocations: 0.9375 kB / 0.6946 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.1814, allocations: 168.4 kB / 0.6948 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1814, allocations: 4.375 kB / 0.6948 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.1814, allocations: 4.281 kB / 0.6948 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.311e-05/0.1815, allocations: 42.25 kB / 0.6949 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.1815, allocations: 192 / 0.6949 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.1816, allocations: 7.938 kB / 0.6949 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.1816, allocations: 0 / 0.6949 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.758e-05/0.1816, allocations: 4 kB / 0.6949 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.1818, allocations: 153.7 kB / 0.695 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.039e-05/0.1818, allocations: 18.58 kB / 0.695 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.323e-05/0.1818, allocations: 12.91 kB / 0.695 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.1819, allocations: 0 / 0.695 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.1819, allocations: 38.5 kB / 0.6951 GB, free: 14.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.1819, allocations: 3.938 kB / 0.6951 GB, free: 14.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001368/0.182, allocations: 45.62 kB / 0.6951 GB, free: 14.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.1821, allocations: 51.41 kB / 0.6952 GB, free: 14.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.665e-05/0.1822, allocations: 113.8 kB / 0.6953 GB, free: 14.56 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.1822, allocations: 29.64 kB / 0.6953 GB, free: 14.53 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.1823, allocations: 80.14 kB / 0.6954 GB, free: 14.45 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.1823, allocations: 0 / 0.6954 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.1823, allocations: 25.83 kB / 0.6954 GB, free: 14.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1824, allocations: 310.8 kB / 0.6957 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.1825, allocations: 4 kB / 0.6957 GB, free: 14.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.644e-05/0.1825, allocations: 17.7 kB / 0.6957 GB, free: 14.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.218e-05/0.1825, allocations: 25.66 kB / 0.6958 GB, free: 14.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1826, allocations: 0 / 0.6958 GB, free: 14.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.76e-05/0.1826, allocations: 57.59 kB / 0.6958 GB, free: 13.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1827, allocations: 4 kB / 0.6958 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.1827, allocations: 7.938 kB / 0.6958 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1827, allocations: 0 / 0.6958 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.225e-05/0.1827, allocations: 7.984 kB / 0.6958 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1828, allocations: 0 / 0.6958 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.089e-05/0.1828, allocations: 0 / 0.6958 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.1828, allocations: 256 / 0.6958 GB, free: 13.96 MB / 0.545 GB 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.144e-05/0.1829, allocations: 117.2 kB / 0.6959 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-06/0.1829, allocations: 0 / 0.6959 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.183, allocations: 61.08 kB / 0.696 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.183, allocations: 0 / 0.696 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.183, allocations: 4 kB / 0.696 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.183, allocations: 0 / 0.696 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.1832, allocations: 157.7 kB / 0.6962 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1832, allocations: 0 / 0.6962 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.724e-05/0.1832, allocations: 4 kB / 0.6962 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1832, allocations: 0 / 0.6962 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1832, allocations: 7.969 kB / 0.6962 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1832, allocations: 0 / 0.6962 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1832, allocations: 0 / 0.6962 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.1834, allocations: 81 kB / 0.6962 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.852e-05/0.1834, allocations: 81.14 kB / 0.6963 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.1835, allocations: 7.875 kB / 0.6963 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.46e-05/0.1835, allocations: 7.984 kB / 0.6963 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.1835, allocations: 12.03 kB / 0.6963 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/0.1835, allocations: 0 / 0.6963 GB, free: 13.33 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.645e-05/0.1836, allocations: 83.28 kB / 0.6964 GB, free: 13.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1836, allocations: 0 / 0.6964 GB, free: 13.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001774/0.1838, allocations: 7.984 kB / 0.6964 GB, free: 13.24 MB / 0.545 GB 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.0001077/0.1839, allocations: 95.25 kB / 0.6965 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.863e-05/0.184, allocations: 19.98 kB / 0.6965 GB, free: 13.12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.184, allocations: 128 / 0.6965 GB, free: 13.12 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.692e-05/0.184, allocations: 15.88 kB / 0.6966 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.1841, allocations: 6.406 kB / 0.6966 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.1844, allocations: 139.2 kB / 0.6967 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.1847, allocations: 0.6768 MB / 0.6974 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.1848, allocations: 11.44 kB / 0.6974 GB, free: 12.22 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.1848, allocations: 0 / 0.6974 GB, free: 12.22 MB / 0.545 GB Notification: Performance of Templates: time 0.001781/0.1865, allocations: 0.5079 MB / 0.6979 GB, free: 11.71 MB / 0.545 GB 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)