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.001741/0.001741, allocations: 108 kB / 15.61 MB, free: 152 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.001884/0.001883, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.53/1.53, allocations: 205.1 MB / 222.4 MB, free: 4.637 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.802/1.802, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001476/0.001476, allocations: 65.83 kB / 0.6715 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3721, allocations: 114.5 MB / 0.7833 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002806/0.3749, allocations: 1.252 MB / 0.7846 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004239/0.3792, allocations: 2.94 MB / 0.7874 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.723e-05/0.3792, allocations: 4 kB / 0.7874 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.3793, allocations: 3.938 kB / 0.7874 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.264e-05/0.3793, allocations: 3.938 kB / 0.7875 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005056/0.3799, allocations: 99.53 kB / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.726e-05/0.3799, allocations: 35.86 kB / 0.7876 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.38, allocations: 7.984 kB / 0.7876 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004627/0.3805, allocations: 151.5 kB / 0.7877 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.087e-05/0.3805, allocations: 23.91 kB / 0.7878 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.3805, allocations: 0 / 0.7878 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.3807, allocations: 63.83 kB / 0.7878 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.395e-05/0.3807, allocations: 15.97 kB / 0.7878 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.3808, allocations: 15.94 kB / 0.7878 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.381, allocations: 68.06 kB / 0.7879 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.381, allocations: 0 / 0.7879 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.913e-06/0.381, allocations: 0 / 0.7879 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.381, allocations: 0 / 0.7879 GB, free: 8.777 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.0005557/0.3816, allocations: 347.4 kB / 0.7882 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3816, allocations: 8.031 kB / 0.7883 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.3817, allocations: 4.938 kB / 0.7883 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.3818, allocations: 164.4 kB / 0.7884 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.3818, allocations: 8.375 kB / 0.7884 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.3819, allocations: 8.312 kB / 0.7884 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.382, allocations: 65.72 kB / 0.7885 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.382, allocations: 0 / 0.7885 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.382, allocations: 0 / 0.7885 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.3821, allocations: 4 kB / 0.7885 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.018e-05/0.3821, allocations: 19.98 kB / 0.7885 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.3823, allocations: 161.6 kB / 0.7887 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.853e-05/0.3824, allocations: 50.55 kB / 0.7887 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.3825, allocations: 24.78 kB / 0.7887 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007618/0.3832, allocations: 0.6026 MB / 0.7893 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.3833, allocations: 30.56 kB / 0.7894 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.123e-06/0.3833, allocations: 0 / 0.7894 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006423/0.3839, allocations: 302.1 kB / 0.7896 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.384, allocations: 51.41 kB / 0.7897 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.627e-05/0.3841, allocations: 101.8 kB / 0.7898 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.3841, allocations: 29.7 kB / 0.7898 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.3842, allocations: 80.14 kB / 0.7899 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.3842, allocations: 27.56 kB / 0.7899 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/0.3843, allocations: 29.7 kB / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3844, allocations: 322.8 kB / 0.7903 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-05/0.3844, allocations: 7.984 kB / 0.7903 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.92e-05/0.3845, allocations: 61.52 kB / 0.7903 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.931e-05/0.3846, allocations: 69.09 kB / 0.7904 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3846, allocations: 0 / 0.7904 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001355/0.3847, allocations: 105.5 kB / 0.7905 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3848, allocations: 8 kB / 0.7905 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3848, allocations: 0 / 0.7905 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3848, allocations: 4 kB / 0.7905 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.649e-05/0.3849, allocations: 23.92 kB / 0.7905 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.3849, allocations: 0 / 0.7905 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.885e-05/0.3849, allocations: 7.938 kB / 0.7905 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.3849, allocations: 4 kB / 0.7905 GB, free: 5.676 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.874e-05/0.385, allocations: 121.9 kB / 0.7907 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.3851, allocations: 288 / 0.7907 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.3851, allocations: 7.969 kB / 0.7907 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3851, allocations: 11.97 kB / 0.7907 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.3851, allocations: 0 / 0.7907 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3851, allocations: 3.938 kB / 0.7907 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.3854, allocations: 177.7 kB / 0.7908 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3854, allocations: 0 / 0.7908 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.271e-05/0.3855, allocations: 15.94 kB / 0.7909 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3855, allocations: 3.938 kB / 0.7909 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.3855, allocations: 4 kB / 0.7909 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3855, allocations: 4 kB / 0.7909 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3855, allocations: 0 / 0.7909 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.3857, allocations: 171.4 kB / 0.791 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.3858, allocations: 85.14 kB / 0.7911 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.3858, allocations: 4 kB / 0.7911 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3859, allocations: 4 kB / 0.7911 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.3859, allocations: 0 / 0.7911 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.3859, allocations: 15.92 kB / 0.7911 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.191e-05/0.386, allocations: 79.28 kB / 0.7912 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.386, allocations: 3.938 kB / 0.7912 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002291/0.3862, allocations: 12 kB / 0.7912 GB, free: 4.867 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.0001372/0.3864, allocations: 103.2 kB / 0.7913 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.3865, allocations: 47.91 kB / 0.7914 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3865, allocations: 4.25 kB / 0.7914 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.772e-05/0.3865, allocations: 19.92 kB / 0.7914 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.3869, allocations: 8.938 kB / 0.7914 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005892/0.3875, allocations: 330.2 kB / 0.7917 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.3877, allocations: 0.6807 MB / 0.7924 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.927e-05/0.3878, allocations: 15.97 kB / 0.7924 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.3878, allocations: 11.44 kB / 0.7924 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of SimCode: time 1.9e-07/0.3878, allocations: 0 / 0.7924 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of Templates: time 0.003077/0.3909, allocations: 0.6165 MB / 0.793 GB, free: 2.977 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)