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/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001331/0.001331, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.3 MB / 240 MB, free: 5.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001765/0.001765, allocations: 266.9 kB / 291.3 MB, free: 1.766 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9403/0.9403, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004013, allocations: 12.72 kB / 0.598 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1354, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00111/0.1365, allocations: 0.9747 MB / 0.6854 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003012/0.1395, allocations: 2.739 MB / 0.6881 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.696e-05/0.1396, allocations: 2.281 kB / 0.6881 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.132e-05/0.1396, allocations: 0 / 0.6881 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.173e-05/0.1396, allocations: 7.922 kB / 0.6881 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.14, allocations: 76.12 kB / 0.6882 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.437e-05/0.1401, allocations: 31.91 kB / 0.6882 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.743e-05/0.1401, allocations: 4.656 kB / 0.6882 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003846/0.1405, allocations: 148.9 kB / 0.6884 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.709e-05/0.1405, allocations: 15.92 kB / 0.6884 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.1406, allocations: 4.719 kB / 0.6884 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.1407, allocations: 39.84 kB / 0.6884 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.1407, allocations: 12.48 kB / 0.6884 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.1407, allocations: 31.61 kB / 0.6885 GB, free: 11.37 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.99e-05/0.1408, allocations: 36.17 kB / 0.6885 GB, free: 11.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1408, allocations: 3.938 kB / 0.6885 GB, free: 11.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1409, allocations: 0 / 0.6885 GB, free: 11.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.1409, allocations: 0 / 0.6885 GB, free: 11.33 MB / 494.1 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.0003083/0.1412, allocations: 335.4 kB / 0.6888 GB, free: 10.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.1412, allocations: 8.031 kB / 0.6888 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.1412, allocations: 7.953 kB / 0.6888 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.209e-05/0.1413, allocations: 166.9 kB / 0.689 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1414, allocations: 4 kB / 0.689 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.1414, allocations: 4 kB / 0.689 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.1415, allocations: 53.67 kB / 0.689 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.1415, allocations: 0 / 0.689 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1415, allocations: 8 kB / 0.6891 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1415, allocations: 0 / 0.6891 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.2e-05/0.1416, allocations: 23.86 kB / 0.6891 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.1418, allocations: 165.7 kB / 0.6892 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.773e-05/0.1419, allocations: 50.56 kB / 0.6893 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.1419, allocations: 16.84 kB / 0.6893 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006344/0.1425, allocations: 0.5947 MB / 0.6899 GB, free: 9.645 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.1426, allocations: 34.52 kB / 0.6899 GB, free: 9.602 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 3.687e-06/0.1426, allocations: 0 / 0.6899 GB, free: 9.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005024/0.1431, allocations: 310.8 kB / 0.6902 GB, free: 9.246 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.1431, allocations: 55.39 kB / 0.6903 GB, free: 9.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.683e-05/0.1432, allocations: 101.9 kB / 0.6904 GB, free: 9.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.1432, allocations: 29.7 kB / 0.6904 GB, free: 9.035 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.1433, allocations: 84.05 kB / 0.6905 GB, free: 8.949 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.1433, allocations: 27.64 kB / 0.6905 GB, free: 8.922 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.1433, allocations: 4 kB / 0.6905 GB, free: 8.918 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.854e-05/0.1434, allocations: 310.8 kB / 0.6908 GB, free: 8.605 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.781e-05/0.1434, allocations: 15.98 kB / 0.6908 GB, free: 8.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.636e-05/0.1435, allocations: 57.14 kB / 0.6909 GB, free: 8.516 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.959e-05/0.1435, allocations: 19.94 kB / 0.6909 GB, free: 8.496 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1435, allocations: 0 / 0.6909 GB, free: 8.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000137/0.1437, allocations: 101.7 kB / 0.691 GB, free: 8.391 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.1437, allocations: 8.125 kB / 0.691 GB, free: 8.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1437, allocations: 4 kB / 0.691 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.1437, allocations: 0 / 0.691 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.856e-05/0.1438, allocations: 23.98 kB / 0.691 GB, free: 8.355 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1438, allocations: 4 kB / 0.691 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.527e-05/0.1439, allocations: 0 / 0.691 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1439, allocations: 7.984 kB / 0.691 GB, free: 8.344 MB / 494.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.411e-05/0.144, allocations: 118.4 kB / 0.6911 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.144, allocations: 7.953 kB / 0.6911 GB, free: 8.211 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.144, allocations: 11.97 kB / 0.6912 GB, free: 8.203 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.144, allocations: 0 / 0.6912 GB, free: 8.203 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.144, allocations: 0 / 0.6912 GB, free: 8.203 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.144, allocations: 7.984 kB / 0.6912 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.1443, allocations: 173.7 kB / 0.6913 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1443, allocations: 0 / 0.6913 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.377e-05/0.1444, allocations: 12 kB / 0.6913 GB, free: 7.965 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1444, allocations: 0 / 0.6913 GB, free: 7.965 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.475e-06/0.1444, allocations: 7.891 kB / 0.6913 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1444, allocations: 0 / 0.6913 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1444, allocations: 4 kB / 0.6914 GB, free: 7.953 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.1446, allocations: 183.4 kB / 0.6915 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.1446, allocations: 81.14 kB / 0.6916 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.1447, allocations: 8 kB / 0.6916 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1448, allocations: 3.953 kB / 0.6916 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.1448, allocations: 4 kB / 0.6916 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.1448, allocations: 0 / 0.6916 GB, free: 7.645 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.289e-05/0.1448, allocations: 91.2 kB / 0.6917 GB, free: 7.555 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1448, allocations: 4 kB / 0.6917 GB, free: 7.551 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.1451, allocations: 12 kB / 0.6917 GB, free: 7.539 MB / 494.1 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 (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.0001003/0.1452, allocations: 99.25 kB / 0.6918 GB, free: 7.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.821e-05/0.1453, allocations: 39.92 kB / 0.6919 GB, free: 7.391 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1453, allocations: 3.938 kB / 0.6919 GB, free: 7.387 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.475e-05/0.1453, allocations: 19.98 kB / 0.6919 GB, free: 7.367 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.1456, allocations: 9 kB / 0.6919 GB, free: 7.359 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005302/0.1461, allocations: 386.7 kB / 0.6923 GB, free: 6.953 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.1464, allocations: 0.6809 MB / 0.6929 GB, free: 6.246 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.887e-05/0.1464, allocations: 11.98 kB / 0.6929 GB, free: 6.234 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.229e-05/0.1465, allocations: 11.44 kB / 0.6929 GB, free: 6.223 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1465, allocations: 0 / 0.6929 GB, free: 6.223 MB / 494.1 MB Notification: Performance of Templates: time 0.002506/0.149, allocations: 0.5757 MB / 0.6935 GB, free: 5.648 MB / 494.1 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)