Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8685/0.8685, allocations: 143.4 MB / 159.2 MB, free: 4.832 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 188.5 kB / 191.9 MB, free: 5.707 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 447.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 111.7 kB / 0.517 GB, free: 3.691 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002008/0.002008, allocations: 280 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 76.27 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3833, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002142/0.3855, allocations: 1.327 MB / 0.7692 GB, free: 26.32 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002668/0.3882, allocations: 2.925 MB / 0.7721 GB, free: 23.39 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.294e-05/0.3882, allocations: 0 / 0.7721 GB, free: 23.39 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.3883, allocations: 4 kB / 0.7721 GB, free: 23.38 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.504e-05/0.3883, allocations: 7.922 kB / 0.7721 GB, free: 23.38 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.3887, allocations: 87.67 kB / 0.7722 GB, free: 23.29 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.888e-05/0.3888, allocations: 43.8 kB / 0.7722 GB, free: 23.25 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.389e-05/0.3889, allocations: 4 kB / 0.7722 GB, free: 23.24 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004189/0.3893, allocations: 135.6 kB / 0.7723 GB, free: 23.11 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.665e-05/0.3893, allocations: 19.92 kB / 0.7724 GB, free: 23.09 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.3893, allocations: 3.938 kB / 0.7724 GB, free: 23.09 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.3895, allocations: 71.88 kB / 0.7724 GB, free: 23.02 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.3895, allocations: 4 kB / 0.7724 GB, free: 23.01 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.3896, allocations: 15.92 kB / 0.7724 GB, free: 23 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.3897, allocations: 62.53 kB / 0.7725 GB, free: 22.94 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3897, allocations: 3.938 kB / 0.7725 GB, free: 22.93 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3897, allocations: 0 / 0.7725 GB, free: 22.93 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.3898, allocations: 0 / 0.7725 GB, free: 22.93 MB / 458.7 MB 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.000333/0.3901, allocations: 351.4 kB / 0.7728 GB, free: 22.54 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.3901, allocations: 12.03 kB / 0.7729 GB, free: 22.53 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.3902, allocations: 4.938 kB / 0.7729 GB, free: 22.53 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.294e-05/0.3902, allocations: 164.4 kB / 0.773 GB, free: 22.33 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.3903, allocations: 384 / 0.773 GB, free: 22.33 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.3903, allocations: 12.36 kB / 0.773 GB, free: 22.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.3904, allocations: 49.81 kB / 0.7731 GB, free: 22.26 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.3904, allocations: 3.984 kB / 0.7731 GB, free: 22.26 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3904, allocations: 4 kB / 0.7731 GB, free: 22.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3904, allocations: 7.984 kB / 0.7731 GB, free: 22.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.063e-05/0.3905, allocations: 15.92 kB / 0.7731 GB, free: 22.23 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001226/0.3906, allocations: 177.5 kB / 0.7733 GB, free: 22.01 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.3907, allocations: 54.55 kB / 0.7733 GB, free: 21.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/0.3907, allocations: 12.86 kB / 0.7733 GB, free: 21.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005142/0.3913, allocations: 0.5907 MB / 0.7739 GB, free: 21.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.3913, allocations: 46.55 kB / 0.774 GB, free: 21.18 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 1.923e-06/0.3913, allocations: 0 / 0.774 GB, free: 21.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004759/0.3918, allocations: 302.4 kB / 0.7743 GB, free: 20.83 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.3918, allocations: 51.41 kB / 0.7743 GB, free: 20.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.67e-05/0.3919, allocations: 93.86 kB / 0.7744 GB, free: 20.66 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.3919, allocations: 29.7 kB / 0.7744 GB, free: 20.63 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/0.3919, allocations: 95.97 kB / 0.7745 GB, free: 20.53 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.3919, allocations: 23.72 kB / 0.7745 GB, free: 20.51 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.392, allocations: 29.7 kB / 0.7746 GB, free: 20.47 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.626e-05/0.392, allocations: 314.8 kB / 0.7749 GB, free: 20.16 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.408e-05/0.3921, allocations: 15.98 kB / 0.7749 GB, free: 20.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.555e-05/0.3921, allocations: 49.16 kB / 0.7749 GB, free: 20.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.256e-05/0.3922, allocations: 77.02 kB / 0.775 GB, free: 19.98 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3922, allocations: 0 / 0.775 GB, free: 19.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001055/0.3923, allocations: 97.45 kB / 0.7751 GB, free: 19.88 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.3923, allocations: 4 kB / 0.7751 GB, free: 19.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3923, allocations: 4.125 kB / 0.7751 GB, free: 19.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3923, allocations: 4 kB / 0.7751 GB, free: 19.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.607e-05/0.3924, allocations: 19.98 kB / 0.7751 GB, free: 19.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.3924, allocations: 4 kB / 0.7751 GB, free: 19.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.568e-05/0.3925, allocations: 8.375 kB / 0.7751 GB, free: 19.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.3925, allocations: 4 kB / 0.7751 GB, free: 19.83 MB / 458.7 MB 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 5.026e-05/0.3925, allocations: 122.5 kB / 0.7753 GB, free: 19.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.3926, allocations: 4 kB / 0.7753 GB, free: 19.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.388e-05/0.3926, allocations: 11.97 kB / 0.7753 GB, free: 19.69 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3926, allocations: 0 / 0.7753 GB, free: 19.69 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3926, allocations: 4 kB / 0.7753 GB, free: 19.68 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3926, allocations: 8.203 kB / 0.7753 GB, free: 19.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.3928, allocations: 169.6 kB / 0.7754 GB, free: 19.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3928, allocations: 3.984 kB / 0.7754 GB, free: 19.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.187e-05/0.3929, allocations: 20 kB / 0.7755 GB, free: 19.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3929, allocations: 3.984 kB / 0.7755 GB, free: 19.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.3929, allocations: 0 / 0.7755 GB, free: 19.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3929, allocations: 0 / 0.7755 GB, free: 19.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3929, allocations: 0 / 0.7755 GB, free: 19.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006468/0.3936, allocations: 1.07 MB / 0.7765 GB, free: 18.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/0.3936, allocations: 89.05 kB / 0.7766 GB, free: 18.12 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-06/0.3936, allocations: 3.938 kB / 0.7766 GB, free: 18.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3937, allocations: 15.94 kB / 0.7766 GB, free: 18.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.3938, allocations: 7.922 kB / 0.7766 GB, free: 18.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.3938, allocations: 4 kB / 0.7766 GB, free: 18.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.95e-05/0.3938, allocations: 75.28 kB / 0.7767 GB, free: 18.02 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3938, allocations: 4 kB / 0.7767 GB, free: 18.01 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002905/0.3941, allocations: 16 kB / 0.7767 GB, free: 18 MB / 458.7 MB 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.0001231/0.3942, allocations: 99.25 kB / 0.7768 GB, free: 17.89 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.3943, allocations: 51.89 kB / 0.7769 GB, free: 17.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3944, allocations: 0 / 0.7769 GB, free: 17.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.064e-05/0.3944, allocations: 19.94 kB / 0.7769 GB, free: 17.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.3947, allocations: 4 kB / 0.7769 GB, free: 17.82 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005295/0.3952, allocations: 459.1 kB / 0.7773 GB, free: 17.33 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.3953, allocations: 0.6926 MB / 0.778 GB, free: 16.61 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.63e-05/0.3954, allocations: 0 / 0.778 GB, free: 16.61 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.926e-05/0.3954, allocations: 15.44 kB / 0.778 GB, free: 16.59 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3954, allocations: 0 / 0.778 GB, free: 16.59 MB / 458.7 MB Notification: Performance of Templates: time 0.002417/0.3979, allocations: 0.6542 MB / 0.7787 GB, free: 15.94 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)