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.001374/0.001374, allocations: 118.5 kB / 16.37 MB, free: 6.004 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.001499/0.001499, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002065/0.002065, allocations: 279.9 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8913/0.8913, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 99.11 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1507, allocations: 86.97 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.005397/0.1562, allocations: 4.425 MB / 0.6859 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00253/0.1587, allocations: 2.683 MB / 0.6885 GB, free: 312 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.548e-05/0.1588, allocations: 4 kB / 0.6885 GB, free: 308 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.1591, allocations: 47.61 kB / 0.6886 GB, free: 260 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.1593, allocations: 99.36 kB / 0.6887 GB, free: 160 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2405/0.3998, allocations: 488.3 kB / 0.6891 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.4001, allocations: 237.8 kB / 0.6894 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.4002, allocations: 11.86 kB / 0.6894 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00091/0.4011, allocations: 417.5 kB / 0.6898 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.4013, allocations: 93.83 kB / 0.6899 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.4013, allocations: 8.469 kB / 0.6899 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009979/0.4023, allocations: 492 kB / 0.6903 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.728e-05/0.4024, allocations: 37.16 kB / 0.6904 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.877e-05/0.4025, allocations: 84.67 kB / 0.6905 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006839/0.4032, allocations: 350.5 kB / 0.6908 GB, free: 12.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4032, allocations: 1.781 kB / 0.6908 GB, free: 12.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4032, allocations: 0 / 0.6908 GB, free: 12.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.4032, allocations: 1.875 kB / 0.6908 GB, free: 12.77 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006036/0.4038, allocations: 0.4929 MB / 0.6913 GB, free: 12.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.4039, allocations: 9.406 kB / 0.6913 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.404, allocations: 23.95 kB / 0.6913 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.4043, allocations: 218.2 kB / 0.6915 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.4043, allocations: 10.27 kB / 0.6915 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.4043, allocations: 18.09 kB / 0.6915 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/0.4047, allocations: 249.7 kB / 0.6918 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4048, allocations: 1.938 kB / 0.6918 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.4048, allocations: 7.469 kB / 0.6918 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.4048, allocations: 8.359 kB / 0.6918 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005724/0.4054, allocations: 431.2 kB / 0.6922 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008283/0.4062, allocations: 1.004 MB / 0.6932 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.4065, allocations: 162.6 kB / 0.6934 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.34e-05/0.4066, allocations: 64.64 kB / 0.6934 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008543/0.4075, allocations: 1.82 MB / 0.6952 GB, free: 9.207 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.4075, allocations: 39.19 kB / 0.6952 GB, free: 9.164 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.4075, allocations: 0.9062 kB / 0.6952 GB, free: 9.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002952/0.4078, allocations: 144.8 kB / 0.6954 GB, free: 9.121 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.4078, allocations: 57.09 kB / 0.6954 GB, free: 9.055 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.408, allocations: 166.4 kB / 0.6956 GB, free: 8.949 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.408, allocations: 35.8 kB / 0.6956 GB, free: 8.918 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.408, allocations: 139.8 kB / 0.6957 GB, free: 8.801 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.4081, allocations: 62.66 kB / 0.6958 GB, free: 8.762 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.4081, allocations: 55.19 kB / 0.6959 GB, free: 8.738 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.4082, allocations: 326 kB / 0.6962 GB, free: 8.426 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.359e-05/0.4082, allocations: 34.78 kB / 0.6962 GB, free: 8.426 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.475e-05/0.4083, allocations: 135.1 kB / 0.6963 GB, free: 8.297 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.4085, allocations: 197.1 kB / 0.6965 GB, free: 8.164 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.4085, allocations: 0.9688 kB / 0.6965 GB, free: 8.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002963/0.4088, allocations: 215.5 kB / 0.6967 GB, free: 8.125 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4089, allocations: 14.09 kB / 0.6967 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4089, allocations: 3.875 kB / 0.6967 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.4089, allocations: 5.406 kB / 0.6967 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.4091, allocations: 57.25 kB / 0.6968 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.4091, allocations: 10.27 kB / 0.6968 GB, free: 8.117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.4092, allocations: 30.25 kB / 0.6968 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.4092, allocations: 14.16 kB / 0.6969 GB, free: 8.102 MB / 494.1 MB 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 7.265e-05/0.4093, allocations: 128.3 kB / 0.697 GB, free: 7.988 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.4093, allocations: 16.73 kB / 0.697 GB, free: 7.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.4096, allocations: 157 kB / 0.6971 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/0.4096, allocations: 2.797 kB / 0.6971 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4096, allocations: 3.938 kB / 0.6971 GB, free: 7.934 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4096, allocations: 2.469 kB / 0.6972 GB, free: 7.934 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.4098, allocations: 215.2 kB / 0.6974 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4098, allocations: 1.312 kB / 0.6974 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.682e-05/0.4099, allocations: 30.06 kB / 0.6974 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.4099, allocations: 1.281 kB / 0.6974 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.4099, allocations: 4.859 kB / 0.6974 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.41, allocations: 1.438 kB / 0.6974 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.41, allocations: 9.531 kB / 0.6974 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.4102, allocations: 217.2 kB / 0.6976 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.961e-05/0.4102, allocations: 101.9 kB / 0.6977 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.4103, allocations: 1.859 kB / 0.6977 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.4105, allocations: 21.42 kB / 0.6977 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/0.4105, allocations: 15.67 kB / 0.6977 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.4105, allocations: 11.8 kB / 0.6978 GB, free: 7.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.407e-05/0.4106, allocations: 127.6 kB / 0.6979 GB, free: 7.402 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.4106, allocations: 1.188 kB / 0.6979 GB, free: 7.402 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003835/0.411, allocations: 86.16 kB / 0.698 GB, free: 7.383 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 (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.0002415/0.4112, allocations: 167.4 kB / 0.6981 GB, free: 7.289 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.4114, allocations: 136.1 kB / 0.6983 GB, free: 7.262 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4115, allocations: 0 / 0.6983 GB, free: 7.262 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.468e-05/0.4115, allocations: 45.89 kB / 0.6983 GB, free: 7.258 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.4119, allocations: 57.27 kB / 0.6983 GB, free: 7.254 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005678/0.4125, allocations: 341.2 kB / 0.6987 GB, free: 7.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.4126, allocations: 0.7157 MB / 0.6994 GB, free: 6.371 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001411/0.4128, allocations: 54.08 kB / 0.6994 GB, free: 6.348 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.4128, allocations: 25.73 kB / 0.6994 GB, free: 6.34 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4128, allocations: 0 / 0.6994 GB, free: 6.34 MB / 494.1 MB Notification: Performance of Templates: time 0.006766/0.4196, allocations: 3.335 MB / 0.7027 GB, free: 6.016 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)