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.001369/0.001369, 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.00138/0.00138, allocations: 195.4 kB / 16.14 MB, free: 6.684 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.459/1.459, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002507/0.002507, allocations: 287.1 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.09/1.09, allocations: 178.6 MB / 0.5068 GB, free: 4.781 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002727/0.002727, allocations: 96.44 kB / 0.6057 GB, free: 25.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.184, allocations: 89.15 MB / 0.6928 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002866/0.1869, allocations: 1.327 MB / 0.6941 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004067/0.191, allocations: 2.921 MB / 0.6969 GB, free: 0.582 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.163e-05/0.191, allocations: 0 / 0.6969 GB, free: 0.582 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.1911, allocations: 3.984 kB / 0.6969 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.845e-05/0.1912, allocations: 7.922 kB / 0.6969 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.1917, allocations: 91.67 kB / 0.697 GB, free: 492 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.069e-05/0.1918, allocations: 39.86 kB / 0.6971 GB, free: 452 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.54e-05/0.1918, allocations: 0 / 0.6971 GB, free: 452 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004694/0.1923, allocations: 147.5 kB / 0.6972 GB, free: 304 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.464e-05/0.1923, allocations: 19.92 kB / 0.6972 GB, free: 284 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.1924, allocations: 0 / 0.6972 GB, free: 284 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.1925, allocations: 75.8 kB / 0.6973 GB, free: 208 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.1926, allocations: 4 kB / 0.6973 GB, free: 204 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.1926, allocations: 19.92 kB / 0.6973 GB, free: 184 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.1928, allocations: 64.08 kB / 0.6974 GB, free: 120 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1928, allocations: 0 / 0.6974 GB, free: 120 kB / 494.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1928, allocations: 0 / 0.6974 GB, free: 120 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1928, allocations: 0 / 0.6974 GB, free: 120 kB / 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.0004998/0.1933, allocations: 347.5 kB / 0.6977 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1934, allocations: 11.97 kB / 0.6977 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.1934, allocations: 8.938 kB / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.1936, allocations: 164.3 kB / 0.6979 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1936, allocations: 4.375 kB / 0.6979 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.1936, allocations: 12.28 kB / 0.6979 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.1937, allocations: 53.8 kB / 0.6979 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1938, allocations: 0 / 0.6979 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1938, allocations: 0 / 0.6979 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1938, allocations: 0 / 0.6979 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.117e-05/0.1939, allocations: 23.97 kB / 0.698 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002042/0.1941, allocations: 169.7 kB / 0.6981 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.1942, allocations: 50.5 kB / 0.6982 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.626e-05/0.1942, allocations: 16.84 kB / 0.6982 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007774/0.195, allocations: 0.5869 MB / 0.6988 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.1951, allocations: 34.56 kB / 0.6988 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1951, allocations: 0 / 0.6988 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006392/0.1957, allocations: 318.3 kB / 0.6991 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.1958, allocations: 63.39 kB / 0.6992 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.218e-05/0.1959, allocations: 93.86 kB / 0.6993 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1959, allocations: 29.7 kB / 0.6993 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.1959, allocations: 84.05 kB / 0.6994 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.196, allocations: 35.58 kB / 0.6994 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.196, allocations: 29.7 kB / 0.6994 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1962, allocations: 314.8 kB / 0.6997 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.1962, allocations: 12 kB / 0.6997 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.685e-05/0.1963, allocations: 53.08 kB / 0.6998 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.1964, allocations: 81.08 kB / 0.6999 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1964, allocations: 0 / 0.6999 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000147/0.1966, allocations: 93.45 kB / 0.7 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1966, allocations: 11.94 kB / 0.7 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1966, allocations: 4.125 kB / 0.7 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1966, allocations: 4 kB / 0.7 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.836e-05/0.1967, allocations: 19.98 kB / 0.7 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1967, allocations: 0 / 0.7 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.168e-05/0.1968, allocations: 11.94 kB / 0.7 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.1968, allocations: 4 kB / 0.7 GB, free: 13 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.1969, allocations: 113.8 kB / 0.7001 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.1969, allocations: 4 kB / 0.7001 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.197, allocations: 7.969 kB / 0.7001 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.197, allocations: 8 kB / 0.7001 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.197, allocations: 0 / 0.7001 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.197, allocations: 7.875 kB / 0.7001 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.1973, allocations: 169.7 kB / 0.7003 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1973, allocations: 0 / 0.7003 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.56e-05/0.1974, allocations: 15.98 kB / 0.7003 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1974, allocations: 0 / 0.7003 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1974, allocations: 8 kB / 0.7003 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1974, allocations: 0 / 0.7003 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1974, allocations: 0 / 0.7003 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.1976, allocations: 183.3 kB / 0.7005 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.1977, allocations: 85.48 kB / 0.7006 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.1977, allocations: 4.031 kB / 0.7006 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1978, allocations: 4 kB / 0.7006 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.1978, allocations: 4 kB / 0.7006 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.1978, allocations: 11.94 kB / 0.7006 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.996e-05/0.1979, allocations: 83.62 kB / 0.7007 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1979, allocations: 0 / 0.7007 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002381/0.1981, allocations: 20 kB / 0.7007 GB, free: 12.2 MB / 0.4981 GB 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 (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.0001276/0.1983, allocations: 99.25 kB / 0.7008 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.1984, allocations: 39.92 kB / 0.7008 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1984, allocations: 0 / 0.7008 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.931e-05/0.1984, allocations: 15.94 kB / 0.7009 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.1987, allocations: 13.61 kB / 0.7009 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006019/0.1994, allocations: 340 kB / 0.7012 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.1997, allocations: 0.6816 MB / 0.7019 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.261e-05/0.1998, allocations: 8 kB / 0.7019 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/0.1998, allocations: 11.44 kB / 0.7019 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1998, allocations: 0 / 0.7019 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.003149/0.203, allocations: 0.6035 MB / 0.7025 GB, free: 10.33 MB / 0.4981 GB 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)