Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 197.8 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.855/1.855, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 69.38 kB / 0.6722 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2797, allocations: 114.5 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002408/0.2821, allocations: 1.26 MB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003488/0.2856, allocations: 2.936 MB / 0.7882 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.2857, allocations: 3.938 kB / 0.7882 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.2857, allocations: 4 kB / 0.7882 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.808e-05/0.2858, allocations: 7.922 kB / 0.7882 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.2862, allocations: 103.5 kB / 0.7883 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.715e-05/0.2863, allocations: 31.92 kB / 0.7883 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.2864, allocations: 7.984 kB / 0.7883 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004432/0.2868, allocations: 159.4 kB / 0.7885 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.463e-05/0.2869, allocations: 15.98 kB / 0.7885 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.2869, allocations: 4 kB / 0.7885 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.2871, allocations: 67.8 kB / 0.7886 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.2871, allocations: 11.94 kB / 0.7886 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.2871, allocations: 15.98 kB / 0.7886 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.2873, allocations: 63.8 kB / 0.7887 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2873, allocations: 0 / 0.7887 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2873, allocations: 0 / 0.7887 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2873, allocations: 0 / 0.7887 GB, free: 8.062 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004225/0.2878, allocations: 349.8 kB / 0.789 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2878, allocations: 16.02 kB / 0.789 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.2879, allocations: 8.875 kB / 0.789 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.915e-05/0.288, allocations: 160.4 kB / 0.7892 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.288, allocations: 8.375 kB / 0.7892 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.288, allocations: 4.375 kB / 0.7892 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.2882, allocations: 65.72 kB / 0.7893 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.2882, allocations: 3.984 kB / 0.7893 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2882, allocations: 0 / 0.7893 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2882, allocations: 0 / 0.7893 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.197e-05/0.2883, allocations: 19.98 kB / 0.7893 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.2884, allocations: 169.6 kB / 0.7894 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.207e-05/0.2885, allocations: 50.5 kB / 0.7895 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.231e-05/0.2886, allocations: 20.84 kB / 0.7895 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000723/0.2893, allocations: 0.5871 MB / 0.7901 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.2893, allocations: 34.56 kB / 0.7901 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.2893, allocations: 0 / 0.7901 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000574/0.2899, allocations: 306.6 kB / 0.7904 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.29, allocations: 51.41 kB / 0.7905 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.571e-05/0.2901, allocations: 101.8 kB / 0.7906 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.2901, allocations: 25.7 kB / 0.7906 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.03e-05/0.2901, allocations: 84.14 kB / 0.7907 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.2902, allocations: 31.55 kB / 0.7907 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.2902, allocations: 25.72 kB / 0.7907 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2903, allocations: 326.8 kB / 0.791 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-05/0.2903, allocations: 16 kB / 0.791 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.434e-05/0.2904, allocations: 57.08 kB / 0.7911 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.009e-05/0.2905, allocations: 69.09 kB / 0.7912 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.2905, allocations: 0 / 0.7912 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001333/0.2906, allocations: 93.55 kB / 0.7913 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2907, allocations: 12.03 kB / 0.7913 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2907, allocations: 7.922 kB / 0.7913 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2907, allocations: 4 kB / 0.7913 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.412e-05/0.2908, allocations: 23.94 kB / 0.7913 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2908, allocations: 0 / 0.7913 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.791e-05/0.2908, allocations: 7.938 kB / 0.7913 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.2908, allocations: 4 kB / 0.7913 GB, free: 4.953 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.722e-05/0.2909, allocations: 118.5 kB / 0.7914 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.291, allocations: 0 / 0.7914 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.291, allocations: 11.97 kB / 0.7914 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.291, allocations: 4.281 kB / 0.7914 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.291, allocations: 0 / 0.7914 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.291, allocations: 7.922 kB / 0.7914 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.2913, allocations: 177.6 kB / 0.7916 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2913, allocations: 0 / 0.7916 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.44e-05/0.2914, allocations: 19.92 kB / 0.7916 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2914, allocations: 0 / 0.7916 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.2914, allocations: 4 kB / 0.7916 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2914, allocations: 80 / 0.7916 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2914, allocations: 7.984 kB / 0.7916 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.2916, allocations: 167.4 kB / 0.7918 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-05/0.2917, allocations: 85.14 kB / 0.7919 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.2917, allocations: 4 kB / 0.7919 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.2918, allocations: 4 kB / 0.7919 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.2918, allocations: 3.984 kB / 0.7919 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.2918, allocations: 7.938 kB / 0.7919 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.071e-05/0.2919, allocations: 83.22 kB / 0.792 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2919, allocations: 4 kB / 0.792 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00024/0.2921, allocations: 12 kB / 0.792 GB, free: 4.148 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001203/0.2922, allocations: 103.2 kB / 0.7921 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.2924, allocations: 39.91 kB / 0.7921 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2924, allocations: 7.938 kB / 0.7921 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-05/0.2924, allocations: 12.25 kB / 0.7922 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.2927, allocations: 19.94 kB / 0.7922 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005468/0.2932, allocations: 326.2 kB / 0.7925 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.2935, allocations: 0.6807 MB / 0.7931 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.949e-05/0.2935, allocations: 19.75 kB / 0.7932 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.2936, allocations: 11.44 kB / 0.7932 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2936, allocations: 0 / 0.7932 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of Templates: time 0.002884/0.2965, allocations: 0.6227 MB / 0.7938 GB, free: 2.254 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)