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.001245/0.00125, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001487/0.001488, allocations: 193.3 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002037/0.002037, allocations: 286.5 kB / 290.2 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9637/0.9637, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 88.22 kB / 0.5945 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2028, allocations: 86.98 MB / 0.6794 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002643/0.2055, allocations: 1.443 MB / 0.6808 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003328/0.2089, allocations: 2.911 MB / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.024e-05/0.2089, allocations: 0 / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.638e-05/0.209, allocations: 3.938 kB / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.2091, allocations: 43.8 kB / 0.6837 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.2096, allocations: 159.4 kB / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.2099, allocations: 331.3 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.716e-05/0.21, allocations: 7.984 kB / 0.6842 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.908e-05/0.21, allocations: 83.92 kB / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.2102, allocations: 143.6 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.2102, allocations: 8 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003892/0.2106, allocations: 159.7 kB / 0.6846 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.2107, allocations: 83.83 kB / 0.6847 GB, free: 11.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.2109, allocations: 91.56 kB / 0.6847 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003479/0.2112, allocations: 263.6 kB / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2112, allocations: 0 / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2112, allocations: 0 / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.2112, allocations: 0 / 0.685 GB, free: 11.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.0007601/0.212, allocations: 0.5414 MB / 0.6855 GB, free: 10.87 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.212, allocations: 8.031 kB / 0.6855 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.2122, allocations: 20.75 kB / 0.6856 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.2124, allocations: 240.1 kB / 0.6858 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.586e-05/0.2125, allocations: 24.36 kB / 0.6858 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.2125, allocations: 12.38 kB / 0.6858 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006081/0.2131, allocations: 298.1 kB / 0.6861 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2131, allocations: 0 / 0.6861 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.2132, allocations: 4 kB / 0.6861 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.2132, allocations: 4 kB / 0.6861 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.2146, allocations: 0.7527 MB / 0.6868 GB, free: 9.477 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.215, allocations: 305.3 kB / 0.6871 GB, free: 9.129 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.2165, allocations: 0.6791 MB / 0.6878 GB, free: 8.438 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004798/0.217, allocations: 228.7 kB / 0.688 GB, free: 8.211 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003941/0.2174, allocations: 396.3 kB / 0.6884 GB, free: 7.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.2175, allocations: 43.38 kB / 0.6884 GB, free: 7.699 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 1.372e-06/0.2175, allocations: 0 / 0.6884 GB, free: 7.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001513/0.219, allocations: 0.6489 MB / 0.6891 GB, free: 7.043 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.2191, allocations: 55.41 kB / 0.6891 GB, free: 6.977 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.2192, allocations: 128.8 kB / 0.6892 GB, free: 6.844 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.2192, allocations: 29.7 kB / 0.6893 GB, free: 6.809 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.2193, allocations: 96.78 kB / 0.6894 GB, free: 6.711 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.667e-05/0.2194, allocations: 122.2 kB / 0.6895 GB, free: 6.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.32e-05/0.2195, allocations: 61.67 kB / 0.6895 GB, free: 6.523 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.2196, allocations: 330.8 kB / 0.6899 GB, free: 6.191 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004551/0.2201, allocations: 195.8 kB / 0.69 GB, free: 6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/0.2205, allocations: 204.8 kB / 0.6902 GB, free: 5.801 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008218/0.2214, allocations: 368.6 kB / 0.6906 GB, free: 5.438 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2214, allocations: 0 / 0.6906 GB, free: 5.438 MB / 494.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009998/0.2224, allocations: 464.6 kB / 0.691 GB, free: 4.977 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2224, allocations: 4 kB / 0.691 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.2224, allocations: 4 kB / 0.691 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2224, allocations: 0 / 0.691 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/0.2228, allocations: 99.84 kB / 0.6911 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.2228, allocations: 3.984 kB / 0.6911 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.223, allocations: 55.7 kB / 0.6912 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.223, allocations: 12 kB / 0.6912 GB, free: 4.801 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.2232, allocations: 143.1 kB / 0.6913 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.2232, allocations: 19.75 kB / 0.6914 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.2244, allocations: 0.5125 MB / 0.6919 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.2244, allocations: 4 kB / 0.6919 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2244, allocations: 4 kB / 0.6919 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2244, allocations: 3.984 kB / 0.6919 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.2248, allocations: 321.2 kB / 0.6922 GB, free: 3.742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2248, allocations: 4 kB / 0.6922 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.2251, allocations: 99.8 kB / 0.6923 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2251, allocations: 0 / 0.6923 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.2251, allocations: 11.98 kB / 0.6923 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2251, allocations: 4 kB / 0.6923 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2252, allocations: 0 / 0.6923 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.2262, allocations: 0.4889 MB / 0.6928 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.2262, allocations: 104.8 kB / 0.6929 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.2263, allocations: 4 kB / 0.6929 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.2264, allocations: 39.95 kB / 0.6929 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/0.2267, allocations: 115.8 kB / 0.693 GB, free: 2.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.2267, allocations: 15.98 kB / 0.693 GB, free: 2.824 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.702e-05/0.2268, allocations: 95.27 kB / 0.6931 GB, free: 2.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2268, allocations: 0 / 0.6931 GB, free: 2.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003675/0.2271, allocations: 119.9 kB / 0.6932 GB, free: 2.613 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 (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.0003635/0.2275, allocations: 187 kB / 0.6934 GB, free: 2.422 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.2285, allocations: 479 kB / 0.6939 GB, free: 1.953 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2286, allocations: 0 / 0.6939 GB, free: 1.953 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004976/0.2291, allocations: 251.7 kB / 0.6941 GB, free: 1.707 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.2295, allocations: 77.53 kB / 0.6942 GB, free: 1.633 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007484/0.2302, allocations: 485.9 kB / 0.6947 GB, free: 1.129 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.2305, allocations: 0.7292 MB / 0.6954 GB, free: 384 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004289/0.231, allocations: 195 kB / 0.6956 GB, free: 216 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.2311, allocations: 39.41 kB / 0.6956 GB, free: 176 kB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2311, allocations: 0 / 0.6956 GB, free: 176 kB / 494.1 MB Notification: Performance of Templates: time 0.008847/0.2399, allocations: 4.876 MB / 0.7004 GB, free: 11.36 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)