Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 105.7 kB / 16.27 MB, free: 6.414 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: 189.8 kB / 17.2 MB, free: 5.953 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.316/1.316, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002373/0.002373, allocations: 287.1 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.138/1.138, allocations: 178.6 MB / 0.5079 GB, free: 12.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002696/0.002696, allocations: 99.83 kB / 0.6071 GB, free: 9.281 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1867, allocations: 89.13 MB / 0.6941 GB, free: 72 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.007123/0.1938, allocations: 4.432 MB / 0.6985 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003039/0.1969, allocations: 2.683 MB / 0.7011 GB, free: 8.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.776e-05/0.197, allocations: 4 kB / 0.7011 GB, free: 8.906 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.1973, allocations: 43.67 kB / 0.7011 GB, free: 8.863 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.1976, allocations: 103.3 kB / 0.7012 GB, free: 8.762 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.1987, allocations: 491.8 kB / 0.7017 GB, free: 8.281 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.199, allocations: 235.9 kB / 0.7019 GB, free: 8.051 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.589e-05/0.199, allocations: 5.562 kB / 0.7019 GB, free: 8.043 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008993/0.2, allocations: 423.1 kB / 0.7023 GB, free: 7.629 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.2001, allocations: 91.66 kB / 0.7024 GB, free: 7.539 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.2001, allocations: 4 kB / 0.7024 GB, free: 7.535 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009448/0.2011, allocations: 499 kB / 0.7029 GB, free: 7.047 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.719e-05/0.2012, allocations: 35.83 kB / 0.7029 GB, free: 7.012 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.814e-05/0.2013, allocations: 87.64 kB / 0.703 GB, free: 6.926 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005617/0.2018, allocations: 339.2 kB / 0.7033 GB, free: 6.594 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2018, allocations: 4 kB / 0.7033 GB, free: 6.59 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2018, allocations: 0 / 0.7033 GB, free: 6.59 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.2019, allocations: 0 / 0.7033 GB, free: 6.59 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007703/0.2026, allocations: 0.4992 MB / 0.7038 GB, free: 6.043 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.2027, allocations: 8.031 kB / 0.7038 GB, free: 6.035 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.2028, allocations: 28.73 kB / 0.7039 GB, free: 6.008 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.2031, allocations: 208.1 kB / 0.7041 GB, free: 5.766 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.2031, allocations: 16.7 kB / 0.7041 GB, free: 5.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.2031, allocations: 16.38 kB / 0.7041 GB, free: 5.734 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.2035, allocations: 249.1 kB / 0.7043 GB, free: 5.469 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.2035, allocations: 0 / 0.7043 GB, free: 5.469 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.2036, allocations: 12 kB / 0.7043 GB, free: 5.457 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.803e-05/0.2036, allocations: 11.98 kB / 0.7044 GB, free: 5.445 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005044/0.2041, allocations: 431.4 kB / 0.7048 GB, free: 5.023 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.2053, allocations: 0.9959 MB / 0.7057 GB, free: 3.934 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.2056, allocations: 158.9 kB / 0.7059 GB, free: 3.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.2057, allocations: 64.88 kB / 0.706 GB, free: 3.703 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001543/0.2072, allocations: 1.833 MB / 0.7077 GB, free: 1.512 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.2073, allocations: 34.56 kB / 0.7078 GB, free: 1.469 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.2073, allocations: 0 / 0.7078 GB, free: 1.469 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0003374/0.2076, allocations: 148.6 kB / 0.7079 GB, free: 1.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.2077, allocations: 63.34 kB / 0.708 GB, free: 1.246 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.2078, allocations: 170.7 kB / 0.7081 GB, free: 1.066 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.2079, allocations: 33.7 kB / 0.7082 GB, free: 1.027 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/0.208, allocations: 147.6 kB / 0.7083 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.208, allocations: 47.36 kB / 0.7084 GB, free: 0.832 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/0.2081, allocations: 53.61 kB / 0.7084 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2083, allocations: 326.8 kB / 0.7087 GB, free: 456 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.828e-05/0.2083, allocations: 35.97 kB / 0.7088 GB, free: 420 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.2085, allocations: 141.7 kB / 0.7089 GB, free: 228 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2617/0.4702, allocations: 196.9 kB / 0.7091 GB, free: 50.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/0.4703, allocations: 0.5625 kB / 0.7091 GB, free: 50.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005047/0.4708, allocations: 212.8 kB / 0.7093 GB, free: 50.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.4708, allocations: 7.188 kB / 0.7093 GB, free: 50.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.4708, allocations: 3.984 kB / 0.7093 GB, free: 50.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.927e-05/0.4709, allocations: 9.609 kB / 0.7093 GB, free: 50.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.4711, allocations: 54.92 kB / 0.7094 GB, free: 50.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.4711, allocations: 11.12 kB / 0.7094 GB, free: 50.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.4713, allocations: 23.7 kB / 0.7094 GB, free: 50.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.4713, allocations: 11.09 kB / 0.7094 GB, free: 50.43 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001207/0.4714, allocations: 141.7 kB / 0.7095 GB, free: 50.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/0.4715, allocations: 16.97 kB / 0.7096 GB, free: 50.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.4718, allocations: 152.2 kB / 0.7097 GB, free: 50.28 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.4718, allocations: 2.25 kB / 0.7097 GB, free: 50.28 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4718, allocations: 2 kB / 0.7097 GB, free: 50.28 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4718, allocations: 2.688 kB / 0.7097 GB, free: 50.28 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.472, allocations: 222.3 kB / 0.7099 GB, free: 50.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4721, allocations: 1.875 kB / 0.7099 GB, free: 50.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-05/0.4721, allocations: 25.5 kB / 0.7099 GB, free: 50.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4721, allocations: 0 / 0.7099 GB, free: 50.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.4722, allocations: 3.422 kB / 0.7099 GB, free: 50.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4722, allocations: 4.406 kB / 0.7099 GB, free: 50.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4722, allocations: 0 / 0.7099 GB, free: 50.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.4724, allocations: 221.2 kB / 0.7102 GB, free: 49.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.4724, allocations: 108 kB / 0.7103 GB, free: 49.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.4725, allocations: 7.125 kB / 0.7103 GB, free: 49.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.4727, allocations: 14.36 kB / 0.7103 GB, free: 49.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.4727, allocations: 10.91 kB / 0.7103 GB, free: 49.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.4727, allocations: 12.59 kB / 0.7103 GB, free: 49.86 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.338e-05/0.4728, allocations: 121 kB / 0.7104 GB, free: 49.78 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4728, allocations: 1.906 kB / 0.7104 GB, free: 49.78 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003696/0.4732, allocations: 77.39 kB / 0.7105 GB, free: 49.78 MB / 0.545 GB 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003115/0.4735, allocations: 180.9 kB / 0.7107 GB, free: 49.69 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.4737, allocations: 130.9 kB / 0.7108 GB, free: 49.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4738, allocations: 1.625 kB / 0.7108 GB, free: 49.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.508e-05/0.4738, allocations: 44.2 kB / 0.7108 GB, free: 49.69 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.4742, allocations: 53.33 kB / 0.7109 GB, free: 49.69 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006183/0.4749, allocations: 384.2 kB / 0.7113 GB, free: 49.49 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.475, allocations: 0.7161 MB / 0.712 GB, free: 48.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.851e-05/0.4751, allocations: 27.38 kB / 0.712 GB, free: 48.79 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4751, allocations: 0 / 0.712 GB, free: 48.79 MB / 0.545 GB Notification: Performance of Templates: time 0.004189/0.4793, allocations: 3.153 MB / 0.7151 GB, free: 48.51 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)