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.001086/0.001086, allocations: 99.28 kB / 16.27 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.001111, allocations: 187 kB / 17.2 MB, free: 5.613 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.465/1.465, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.821/1.821, allocations: 292.3 MB / 0.5495 GB, free: 17.48 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.001435/0.001436, allocations: 71.91 kB / 0.6721 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2428, allocations: 114.6 MB / 0.784 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002961/0.2458, allocations: 1.248 MB / 0.7852 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4881/0.7339, allocations: 2.939 MB / 0.7881 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.734, allocations: 3.344 kB / 0.7881 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.982e-05/0.7341, allocations: 0.5625 kB / 0.7881 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.409e-05/0.7342, allocations: 5.281 kB / 0.7881 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.7347, allocations: 100.9 kB / 0.7882 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.101e-05/0.7348, allocations: 37.97 kB / 0.7882 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.7349, allocations: 2.719 kB / 0.7882 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005036/0.7354, allocations: 158.7 kB / 0.7884 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.21e-05/0.7354, allocations: 16.5 kB / 0.7884 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.7354, allocations: 2.688 kB / 0.7884 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.7356, allocations: 66.89 kB / 0.7885 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.7356, allocations: 9.906 kB / 0.7885 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.7357, allocations: 16.8 kB / 0.7885 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.7358, allocations: 62.53 kB / 0.7886 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7358, allocations: 0 / 0.7886 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.704e-06/0.7359, allocations: 0 / 0.7886 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.7359, allocations: 0 / 0.7886 GB, free: 45.9 MB / 0.6544 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.0003625/0.7362, allocations: 348.2 kB / 0.7889 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.7363, allocations: 9.469 kB / 0.7889 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.7363, allocations: 6.469 kB / 0.7889 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.298e-05/0.7364, allocations: 167.7 kB / 0.7891 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.7364, allocations: 5.531 kB / 0.7891 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.7365, allocations: 6.688 kB / 0.7891 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.7366, allocations: 60.31 kB / 0.7891 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.7366, allocations: 0 / 0.7891 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.7366, allocations: 2.594 kB / 0.7891 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.7366, allocations: 1.094 kB / 0.7891 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.968e-05/0.7367, allocations: 20.03 kB / 0.7892 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.7368, allocations: 171.6 kB / 0.7893 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.88e-05/0.7369, allocations: 50.11 kB / 0.7894 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.586e-05/0.7369, allocations: 18.97 kB / 0.7894 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005728/0.7375, allocations: 0.5934 MB / 0.79 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.7375, allocations: 36.47 kB / 0.79 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.7376, allocations: 0 / 0.79 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0005138/0.7381, allocations: 304.8 kB / 0.7903 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.7381, allocations: 51.41 kB / 0.7904 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.092e-05/0.7382, allocations: 100.5 kB / 0.7904 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.7382, allocations: 27.89 kB / 0.7905 GB, free: 44 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.7382, allocations: 90.61 kB / 0.7906 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.7382, allocations: 24.28 kB / 0.7906 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.7383, allocations: 27.22 kB / 0.7906 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.851e-05/0.7383, allocations: 319.7 kB / 0.7909 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/0.7384, allocations: 17.69 kB / 0.7909 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.94e-05/0.7384, allocations: 49.61 kB / 0.791 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.242e-05/0.7385, allocations: 77.67 kB / 0.7911 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.7385, allocations: 0 / 0.7911 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001197/0.7386, allocations: 101.4 kB / 0.7911 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.7387, allocations: 5.5 kB / 0.7912 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.7387, allocations: 0.5 kB / 0.7912 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.7387, allocations: 5.922 kB / 0.7912 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.214e-05/0.7388, allocations: 23.12 kB / 0.7912 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.7388, allocations: 0.625 kB / 0.7912 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.537e-05/0.7388, allocations: 2.625 kB / 0.7912 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.7388, allocations: 17.62 kB / 0.7912 GB, free: 43.43 MB / 0.6544 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 5.802e-05/0.7389, allocations: 120.9 kB / 0.7913 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.7389, allocations: 3.234 kB / 0.7913 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.739, allocations: 9.906 kB / 0.7913 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.739, allocations: 2.438 kB / 0.7913 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.739, allocations: 1.875 kB / 0.7913 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.739, allocations: 0 / 0.7913 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.7392, allocations: 181.7 kB / 0.7915 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7392, allocations: 0 / 0.7915 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.738e-05/0.7393, allocations: 18.17 kB / 0.7915 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.7393, allocations: 1.406 kB / 0.7915 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.7393, allocations: 3.188 kB / 0.7915 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.7393, allocations: 0 / 0.7915 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7393, allocations: 0 / 0.7915 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.7395, allocations: 173.4 kB / 0.7917 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.7395, allocations: 86.14 kB / 0.7918 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.7396, allocations: 2.688 kB / 0.7918 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.904e-05/0.7397, allocations: 1.031 kB / 0.7918 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.7397, allocations: 9.438 kB / 0.7918 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.7397, allocations: 6.031 kB / 0.7918 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.947e-05/0.7397, allocations: 84.52 kB / 0.7919 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7397, allocations: 0.9375 kB / 0.7919 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002334/0.74, allocations: 14.97 kB / 0.7919 GB, free: 42.81 MB / 0.6544 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.0001245/0.7401, allocations: 105.3 kB / 0.792 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.7402, allocations: 45.62 kB / 0.792 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7403, allocations: 2.75 kB / 0.792 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.243e-05/0.7403, allocations: 22.84 kB / 0.7921 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.7406, allocations: 6.844 kB / 0.7921 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005285/0.7411, allocations: 352.6 kB / 0.7924 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.7413, allocations: 0.6843 MB / 0.7931 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.7413, allocations: 10.06 kB / 0.7931 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of SimCode: time 3.2e-07/0.7413, allocations: 0 / 0.7931 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of Templates: time 0.002139/0.7435, allocations: 0.7823 MB / 0.7938 GB, free: 41.71 MB / 0.6544 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)