Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.34/1.34, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009766/0.0009766, allocations: 177.6 kB / 327.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.4 MB / 0.5783 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001122/0.001123, allocations: 97.27 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003598, allocations: 8.781 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2874, allocations: 106.3 MB / 0.9008 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0007194/0.2882, allocations: 265.5 kB / 0.9011 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002348/0.2884, allocations: 51.83 kB / 0.9011 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.22e-05/0.2885, allocations: 0 / 0.9011 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.2885, allocations: 0 / 0.9011 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.2887, allocations: 0 / 0.9011 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.884e-05/0.2887, allocations: 7.938 kB / 0.9011 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.306e-05/0.2888, allocations: 7.969 kB / 0.9011 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.812e-05/0.2889, allocations: 8 kB / 0.9011 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.733e-05/0.2889, allocations: 0 / 0.9011 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.088e-05/0.289, allocations: 11.92 kB / 0.9012 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.2891, allocations: 4 kB / 0.9012 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.697e-06/0.2891, allocations: 0 / 0.9012 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.248e-05/0.2891, allocations: 4 kB / 0.9012 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.2891, allocations: 25.7 kB / 0.9012 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.521e-05/0.2892, allocations: 7.984 kB / 0.9012 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.2892, allocations: 0 / 0.9012 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.886e-06/0.2892, allocations: 0 / 0.9012 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.2892, allocations: 0 / 0.9012 GB, free: 63.55 MB / 0.6042 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.0004301/0.2897, allocations: 332.6 kB / 0.9015 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.2897, allocations: 8.031 kB / 0.9015 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.2897, allocations: 0 / 0.9015 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.2899, allocations: 182.9 kB / 0.9017 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.2899, allocations: 0 / 0.9017 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.29, allocations: 4 kB / 0.9017 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.71e-05/0.2901, allocations: 37.64 kB / 0.9017 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.2901, allocations: 0 / 0.9017 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.2901, allocations: 0 / 0.9017 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2901, allocations: 0 / 0.9017 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.821e-05/0.2901, allocations: 3.984 kB / 0.9017 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.2903, allocations: 157.6 kB / 0.9019 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.009e-05/0.2903, allocations: 22.61 kB / 0.9019 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.2903, allocations: 8.922 kB / 0.9019 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.2903, allocations: 7.922 kB / 0.9019 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.2904, allocations: 34.55 kB / 0.902 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2904, allocations: 3.938 kB / 0.902 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001442/0.2905, allocations: 41.69 kB / 0.902 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.2906, allocations: 55.53 kB / 0.9021 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.039e-05/0.2906, allocations: 110 kB / 0.9022 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.2907, allocations: 25.7 kB / 0.9022 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.2907, allocations: 84.14 kB / 0.9023 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.2907, allocations: 0 / 0.9023 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/0.2907, allocations: 0 / 0.9023 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.623e-05/0.2908, allocations: 318.8 kB / 0.9026 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.074e-05/0.2908, allocations: 7.984 kB / 0.9026 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.964e-05/0.2909, allocations: 21.66 kB / 0.9026 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.587e-05/0.2909, allocations: 7.953 kB / 0.9026 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2909, allocations: 0 / 0.9026 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.038e-05/0.291, allocations: 49.59 kB / 0.9027 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.291, allocations: 4 kB / 0.9027 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.291, allocations: 4.047 kB / 0.9027 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.291, allocations: 11.94 kB / 0.9027 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.995e-05/0.2911, allocations: 4 kB / 0.9027 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.2911, allocations: 4.125 kB / 0.9027 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.2911, allocations: 0 / 0.9027 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.2912, allocations: 0 / 0.9027 GB, free: 61.81 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.031e-05/0.2912, allocations: 113.8 kB / 0.9028 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-06/0.2912, allocations: 0 / 0.9028 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.093e-05/0.2913, allocations: 53.08 kB / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2913, allocations: 0 / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2913, allocations: 0 / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2914, allocations: 4.031 kB / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8e-05/0.2914, allocations: 157.6 kB / 0.903 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2914, allocations: 3.953 kB / 0.903 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.976e-05/0.2915, allocations: 7.938 kB / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.2915, allocations: 0 / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.2915, allocations: 4 kB / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.2915, allocations: 0 / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2915, allocations: 0 / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.2917, allocations: 81.02 kB / 0.9031 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.2917, allocations: 85 kB / 0.9032 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.2917, allocations: 8.031 kB / 0.9032 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.172e-05/0.2917, allocations: 3.984 kB / 0.9032 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.2918, allocations: 0 / 0.9032 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.2918, allocations: 0 / 0.9032 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.2918, allocations: 87.28 kB / 0.9033 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2918, allocations: 0 / 0.9033 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001792/0.292, allocations: 4 kB / 0.9033 GB, free: 61.11 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001458/0.2921, allocations: 103.3 kB / 0.9034 GB, free: 61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.618e-05/0.2922, allocations: 12 kB / 0.9034 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2923, allocations: 0 / 0.9034 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.801e-05/0.2923, allocations: 7.984 kB / 0.9034 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.2924, allocations: 4 kB / 0.9034 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002638/0.2927, allocations: 138.6 kB / 0.9035 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.2929, allocations: 0.6848 MB / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.2929, allocations: 11.38 kB / 0.9042 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2929, allocations: 0 / 0.9042 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of Templates: time 0.001795/0.2947, allocations: 0.504 MB / 0.9047 GB, free: 59.58 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1)