Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.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.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001435/0.001435, allocations: 168.7 kB / 15.95 MB, free: 204 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.356/1.356, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001812/0.001812, allocations: 270.5 kB / 291.3 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9701/0.9701, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.000405, allocations: 14.47 kB / 0.598 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1372, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001267/0.1385, allocations: 1.088 MB / 0.6855 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003092/0.1416, allocations: 2.736 MB / 0.6882 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.79e-05/0.1417, allocations: 0 / 0.6882 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.111e-05/0.1417, allocations: 15.92 kB / 0.6882 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.604e-05/0.1419, allocations: 31.81 kB / 0.6883 GB, free: 11.6 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.1423, allocations: 155.4 kB / 0.6884 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002609/0.1425, allocations: 268 kB / 0.6887 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.1426, allocations: 4 kB / 0.6887 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.943e-05/0.1427, allocations: 104.4 kB / 0.6888 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.1428, allocations: 131.8 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.1429, allocations: 12.81 kB / 0.6889 GB, free: 10.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003649/0.1432, allocations: 153.5 kB / 0.689 GB, free: 10.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.183e-05/0.1433, allocations: 97.72 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.891e-05/0.1434, allocations: 53.58 kB / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.1436, allocations: 183.9 kB / 0.6894 GB, free: 10.46 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1436, allocations: 0 / 0.6894 GB, free: 10.46 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1437, allocations: 0 / 0.6894 GB, free: 10.46 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1437, allocations: 0.5 kB / 0.6894 GB, free: 10.46 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007484/0.1444, allocations: 0.5297 MB / 0.6899 GB, free: 9.883 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1445, allocations: 12.03 kB / 0.6899 GB, free: 9.871 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.988e-05/0.1446, allocations: 19.77 kB / 0.6899 GB, free: 9.852 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.1448, allocations: 238.8 kB / 0.6901 GB, free: 9.578 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/0.1449, allocations: 23.98 kB / 0.6902 GB, free: 9.555 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.1449, allocations: 12 kB / 0.6902 GB, free: 9.543 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/0.1455, allocations: 318 kB / 0.6905 GB, free: 9.227 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.1456, allocations: 0 / 0.6905 GB, free: 9.227 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.1456, allocations: 4 kB / 0.6905 GB, free: 9.223 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.1456, allocations: 4 kB / 0.6905 GB, free: 9.219 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.1471, allocations: 0.8113 MB / 0.6913 GB, free: 8.406 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.1474, allocations: 305.3 kB / 0.6916 GB, free: 8.059 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.1491, allocations: 0.7767 MB / 0.6923 GB, free: 7.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/0.1496, allocations: 256.7 kB / 0.6926 GB, free: 7.016 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003956/0.15, allocations: 400.3 kB / 0.693 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.15, allocations: 35.5 kB / 0.693 GB, free: 6.508 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 1.623e-06/0.15, allocations: 0 / 0.693 GB, free: 6.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001605/0.1516, allocations: 0.7347 MB / 0.6937 GB, free: 5.766 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.1517, allocations: 55.41 kB / 0.6938 GB, free: 5.699 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.1518, allocations: 128.8 kB / 0.6939 GB, free: 5.566 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.1518, allocations: 33.7 kB / 0.6939 GB, free: 5.527 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.1519, allocations: 92.78 kB / 0.694 GB, free: 5.434 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.854e-05/0.152, allocations: 130.1 kB / 0.6941 GB, free: 5.305 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/0.152, allocations: 7.938 kB / 0.6941 GB, free: 5.297 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1521, allocations: 330.8 kB / 0.6944 GB, free: 4.965 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000482/0.1526, allocations: 223.7 kB / 0.6947 GB, free: 4.746 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/0.1531, allocations: 232.8 kB / 0.6949 GB, free: 4.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/0.1536, allocations: 204.2 kB / 0.6951 GB, free: 4.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1536, allocations: 0 / 0.6951 GB, free: 4.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001062/0.1546, allocations: 0.5084 MB / 0.6956 GB, free: 3.805 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1547, allocations: 6.031 kB / 0.6956 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1547, allocations: 0 / 0.6956 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.1547, allocations: 0 / 0.6956 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.1551, allocations: 115.8 kB / 0.6957 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1551, allocations: 3.984 kB / 0.6957 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.1553, allocations: 71.7 kB / 0.6958 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.1553, allocations: 11.95 kB / 0.6958 GB, free: 3.602 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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 0.0001146/0.1554, allocations: 146.4 kB / 0.6959 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.1555, allocations: 15.81 kB / 0.6959 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.1567, allocations: 0.5714 MB / 0.6965 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.1567, allocations: 4 kB / 0.6965 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1567, allocations: 0 / 0.6965 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1567, allocations: 3.984 kB / 0.6965 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.157, allocations: 321.1 kB / 0.6968 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.157, allocations: 0 / 0.6968 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.1574, allocations: 115.9 kB / 0.6969 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1574, allocations: 0 / 0.6969 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.1574, allocations: 15.98 kB / 0.6969 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.1575, allocations: 4 kB / 0.6969 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1575, allocations: 4 kB / 0.6969 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.1585, allocations: 0.5468 MB / 0.6975 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.1586, allocations: 96.86 kB / 0.6976 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.1586, allocations: 8 kB / 0.6976 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.1588, allocations: 47.95 kB / 0.6976 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/0.1591, allocations: 123.8 kB / 0.6977 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.1591, allocations: 11.98 kB / 0.6977 GB, free: 1.484 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.649e-05/0.1592, allocations: 95.27 kB / 0.6978 GB, free: 1.391 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1592, allocations: 0 / 0.6978 GB, free: 1.391 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003705/0.1595, allocations: 115.9 kB / 0.6979 GB, free: 1.277 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (37): * Single equations (assignments): 37 * 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.0003313/0.1599, allocations: 199 kB / 0.6981 GB, free: 1.074 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.161, allocations: 0.5114 MB / 0.6986 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.161, allocations: 0 / 0.6986 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005401/0.1615, allocations: 291.7 kB / 0.6989 GB, free: 284 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.1619, allocations: 75.84 kB / 0.699 GB, free: 208 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006982/0.1626, allocations: 0.4942 MB / 0.6995 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.1629, allocations: 0.7331 MB / 0.7002 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004277/0.1633, allocations: 191.2 kB / 0.7004 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.723e-05/0.1634, allocations: 39.42 kB / 0.7004 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1634, allocations: 0 / 0.7004 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of Templates: time 0.007937/0.1714, allocations: 4.698 MB / 0.705 GB, free: 10.09 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)