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.002005/0.002005, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001996/0.001997, allocations: 195.8 kB / 16.25 MB, free: 6.633 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.47/1.47, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00264/0.00264, allocations: 286.2 kB / 290.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.067/1.067, allocations: 178.6 MB / 0.507 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002912/0.002912, allocations: 105.6 kB / 0.6059 GB, free: 25.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1768, allocations: 89.14 MB / 0.693 GB, free: 4.75 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.006666/0.1835, allocations: 4.462 MB / 0.6973 GB, free: 284 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00313/0.1867, allocations: 2.687 MB / 0.6999 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.472e-05/0.1868, allocations: 0 / 0.6999 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.1871, allocations: 39.81 kB / 0.7 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.1873, allocations: 83.48 kB / 0.7001 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.1885, allocations: 472.7 kB / 0.7005 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000272/0.1888, allocations: 231.9 kB / 0.7007 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.023e-05/0.1889, allocations: 9.562 kB / 0.7007 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009118/0.1898, allocations: 415.1 kB / 0.7011 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.1899, allocations: 95.59 kB / 0.7012 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.19, allocations: 8 kB / 0.7012 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009423/0.1909, allocations: 0.495 MB / 0.7017 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.395e-05/0.191, allocations: 31.91 kB / 0.7017 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.8e-05/0.1911, allocations: 75.66 kB / 0.7018 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000553/0.1916, allocations: 355.1 kB / 0.7022 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1916, allocations: 0 / 0.7022 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1917, allocations: 0 / 0.7022 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.1917, allocations: 0 / 0.7022 GB, free: 11.31 MB / 0.4981 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.0007508/0.1924, allocations: 0.5031 MB / 0.7026 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1925, allocations: 8.031 kB / 0.7027 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.1926, allocations: 28.67 kB / 0.7027 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.1929, allocations: 212.1 kB / 0.7029 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.1929, allocations: 16.7 kB / 0.7029 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.1929, allocations: 12.38 kB / 0.7029 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.1933, allocations: 241.2 kB / 0.7031 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1934, allocations: 7.938 kB / 0.7031 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.1934, allocations: 4 kB / 0.7032 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.04e-05/0.1934, allocations: 15.98 kB / 0.7032 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005266/0.194, allocations: 423.5 kB / 0.7036 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.1951, allocations: 1.008 MB / 0.7046 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.1955, allocations: 165.1 kB / 0.7047 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.1956, allocations: 64.88 kB / 0.7048 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001579/0.1972, allocations: 1.825 MB / 0.7066 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1972, allocations: 34.56 kB / 0.7066 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.1972, allocations: 0 / 0.7066 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003591/0.1976, allocations: 145.4 kB / 0.7067 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.1976, allocations: 63.28 kB / 0.7068 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.1978, allocations: 182 kB / 0.707 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.1978, allocations: 29.7 kB / 0.707 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.198, allocations: 139.8 kB / 0.7071 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.198, allocations: 47.36 kB / 0.7072 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.399e-05/0.1981, allocations: 53.61 kB / 0.7072 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1982, allocations: 326.8 kB / 0.7075 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-05/0.1983, allocations: 35.98 kB / 0.7076 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.1985, allocations: 139.3 kB / 0.7077 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.1988, allocations: 201.5 kB / 0.7079 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.1988, allocations: 0 / 0.7079 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000344/0.1991, allocations: 214.6 kB / 0.7081 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1992, allocations: 8 kB / 0.7081 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1992, allocations: 4 kB / 0.7081 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.1992, allocations: 4.469 kB / 0.7081 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.1994, allocations: 63.84 kB / 0.7082 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.1994, allocations: 7.938 kB / 0.7082 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.1995, allocations: 27.75 kB / 0.7082 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.1996, allocations: 16 kB / 0.7082 GB, free: 4.355 MB / 0.4981 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.0001268/0.1997, allocations: 139 kB / 0.7084 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.1997, allocations: 11.91 kB / 0.7084 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.2001, allocations: 154.9 kB / 0.7085 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.2001, allocations: 7.938 kB / 0.7085 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2001, allocations: 4 kB / 0.7085 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2001, allocations: 0 / 0.7085 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.2004, allocations: 213.6 kB / 0.7087 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2004, allocations: 0 / 0.7087 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.454e-05/0.2005, allocations: 27.92 kB / 0.7088 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2005, allocations: 0 / 0.7088 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.2005, allocations: 8 kB / 0.7088 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.2005, allocations: 3.938 kB / 0.7088 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2005, allocations: 3.938 kB / 0.7088 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.2008, allocations: 220.5 kB / 0.709 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-05/0.2009, allocations: 108.8 kB / 0.7091 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.2009, allocations: 7.984 kB / 0.7091 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.2012, allocations: 19.92 kB / 0.7091 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.2012, allocations: 15.91 kB / 0.7091 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.2012, allocations: 16 kB / 0.7091 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.672e-05/0.2013, allocations: 123.5 kB / 0.7093 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2013, allocations: 4 kB / 0.7093 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003878/0.2017, allocations: 75.98 kB / 0.7093 GB, free: 3.125 MB / 0.4981 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.000306/0.202, allocations: 167.1 kB / 0.7095 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002697/0.2023, allocations: 129.2 kB / 0.7096 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2023, allocations: 0 / 0.7096 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.469e-05/0.2024, allocations: 45.89 kB / 0.7097 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.2029, allocations: 55.83 kB / 0.7097 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007165/0.2036, allocations: 395.2 kB / 0.7101 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.2039, allocations: 0.7128 MB / 0.7108 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001746/0.2041, allocations: 49.73 kB / 0.7108 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.2042, allocations: 31.42 kB / 0.7109 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of SimCode: time 2.224e-06/0.2042, allocations: 0 / 0.7109 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.007439/0.2116, allocations: 3.331 MB / 0.7141 GB, free: 14.21 MB / 0.5137 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)