Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 292.3 MB / 308.1 MB, free: 4.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001232/0.001232, allocations: 191.8 kB / 376.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009969/0.0009972, allocations: 98.38 kB / 0.748 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.001161, allocations: 47.92 kB / 0.8703 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2924, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.002546/0.295, allocations: 0.6065 MB / 0.9828 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002226/0.2953, allocations: 35.89 kB / 0.9828 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.435e-05/0.2953, allocations: 0 / 0.9828 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.522e-05/0.2954, allocations: 0 / 0.9828 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.2956, allocations: 0 / 0.9828 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.2957, allocations: 19.84 kB / 0.9829 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.095e-05/0.2958, allocations: 4 kB / 0.9829 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.49e-05/0.2958, allocations: 0 / 0.9829 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.503e-05/0.2959, allocations: 8 kB / 0.9829 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.296, allocations: 11.98 kB / 0.9829 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.296, allocations: 0 / 0.9829 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.218e-06/0.2961, allocations: 0 / 0.9829 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.92e-05/0.2961, allocations: 7.938 kB / 0.9829 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.2962, allocations: 3.984 kB / 0.9829 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.523e-05/0.2962, allocations: 19.92 kB / 0.9829 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2962, allocations: 0 / 0.9829 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2963, allocations: 0 / 0.9829 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.2963, allocations: 0 / 0.9829 GB, free: 9.691 MB / 0.7136 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.0005334/0.2968, allocations: 327.5 kB / 0.9832 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.2969, allocations: 12.03 kB / 0.9832 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.2969, allocations: 0.9375 kB / 0.9832 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.2971, allocations: 184.5 kB / 0.9834 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-06/0.2971, allocations: 384 / 0.9834 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.2972, allocations: 384 / 0.9834 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.92e-05/0.2973, allocations: 34.25 kB / 0.9834 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2973, allocations: 192 / 0.9834 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.2973, allocations: 3.938 kB / 0.9834 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.2973, allocations: 0 / 0.9834 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.135e-05/0.2973, allocations: 4 kB / 0.9834 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.2975, allocations: 157.7 kB / 0.9836 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.339e-05/0.2976, allocations: 22.56 kB / 0.9836 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/0.2976, allocations: 8.859 kB / 0.9836 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.2976, allocations: 0 / 0.9836 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.2977, allocations: 30.56 kB / 0.9837 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.2977, allocations: 4 kB / 0.9837 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001546/0.2978, allocations: 53.61 kB / 0.9837 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.2979, allocations: 55.39 kB / 0.9838 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.487e-05/0.298, allocations: 105.9 kB / 0.9839 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.298, allocations: 29.64 kB / 0.9839 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.2981, allocations: 88.06 kB / 0.984 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.2981, allocations: 7.906 kB / 0.984 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.2982, allocations: 17.66 kB / 0.984 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2983, allocations: 319 kB / 0.9843 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.2983, allocations: 7.984 kB / 0.9843 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.922e-05/0.2983, allocations: 17.72 kB / 0.9843 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.76e-05/0.2984, allocations: 21.7 kB / 0.9844 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2984, allocations: 0 / 0.9844 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.904e-05/0.2985, allocations: 49.62 kB / 0.9844 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.2985, allocations: 10.31 kB / 0.9844 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2985, allocations: 3.938 kB / 0.9844 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.2986, allocations: 4 kB / 0.9844 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.988e-05/0.2986, allocations: 0 / 0.9844 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.2987, allocations: 4 kB / 0.9844 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.2987, allocations: 256 / 0.9844 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.2987, allocations: 0 / 0.9844 GB, free: 7.906 MB / 0.7136 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 9.015e-05/0.2988, allocations: 117.8 kB / 0.9845 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-06/0.2988, allocations: 0 / 0.9845 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.2989, allocations: 64.69 kB / 0.9846 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.299, allocations: 0 / 0.9846 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.299, allocations: 0 / 0.9846 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.299, allocations: 0 / 0.9846 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.2991, allocations: 153.7 kB / 0.9847 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2991, allocations: 0 / 0.9847 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.361e-05/0.2992, allocations: 4 kB / 0.9847 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2992, allocations: 0 / 0.9847 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.2992, allocations: 7.922 kB / 0.9848 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.2992, allocations: 4 kB / 0.9848 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2992, allocations: 4.031 kB / 0.9848 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009847/0.3002, allocations: 0.915 MB / 0.9857 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.3003, allocations: 85.17 kB / 0.9857 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.564e-06/0.3003, allocations: 0 / 0.9857 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.208e-05/0.3003, allocations: 8.031 kB / 0.9857 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.3003, allocations: 0 / 0.9857 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.3003, allocations: 0 / 0.9857 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.727e-05/0.3004, allocations: 87.27 kB / 0.9858 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3004, allocations: 3.938 kB / 0.9858 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002602/0.3007, allocations: 8 kB / 0.9858 GB, free: 6.23 MB / 0.7136 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.0001282/0.3008, allocations: 103.2 kB / 0.9859 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.481e-05/0.3009, allocations: 11.98 kB / 0.9859 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3009, allocations: 0 / 0.9859 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-05/0.3009, allocations: 4 kB / 0.986 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.3011, allocations: 14.05 kB / 0.986 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.3015, allocations: 218.2 kB / 0.9862 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.3018, allocations: 0.6811 MB / 0.9868 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.317e-05/0.3018, allocations: 4 kB / 0.9868 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.3018, allocations: 11.38 kB / 0.9869 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of SimCode: time 2.9e-07/0.3018, allocations: 0 / 0.9869 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of Templates: time 0.002221/0.304, allocations: 357 kB / 0.9872 GB, free: 4.77 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1)