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.001045/0.001045, allocations: 105.7 kB / 16.35 MB, free: 5.824 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.001041/0.00104, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.255/1.255, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002054, allocations: 292.2 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9063/0.9063, allocations: 169.2 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001725, allocations: 90.92 kB / 0.5966 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1472, allocations: 86.98 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.005387/0.1526, allocations: 4.424 MB / 0.6859 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.1551, allocations: 2.691 MB / 0.6885 GB, free: 340 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.1552, allocations: 0 / 0.6885 GB, free: 340 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.1555, allocations: 47.67 kB / 0.6886 GB, free: 292 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.1557, allocations: 95.36 kB / 0.6887 GB, free: 196 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2482/0.4039, allocations: 492.8 kB / 0.6891 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.4042, allocations: 236.7 kB / 0.6894 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.895e-05/0.4043, allocations: 10.03 kB / 0.6894 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009341/0.4052, allocations: 420.8 kB / 0.6898 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.4054, allocations: 92.59 kB / 0.6899 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.4054, allocations: 8.438 kB / 0.6899 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009913/0.4064, allocations: 490.2 kB / 0.6903 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.783e-05/0.4065, allocations: 40.02 kB / 0.6904 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.768e-05/0.4066, allocations: 80.55 kB / 0.6905 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005933/0.4072, allocations: 355.5 kB / 0.6908 GB, free: 12.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4072, allocations: 0 / 0.6908 GB, free: 12.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4072, allocations: 1.578 kB / 0.6908 GB, free: 12.79 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.4072, allocations: 0 / 0.6908 GB, free: 12.79 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.0006062/0.4078, allocations: 0.4922 MB / 0.6913 GB, free: 12.37 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.4078, allocations: 10.53 kB / 0.6913 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.408, allocations: 24.11 kB / 0.6913 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.4082, allocations: 214.9 kB / 0.6915 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.4082, allocations: 10.86 kB / 0.6915 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.4083, allocations: 17.38 kB / 0.6915 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.4086, allocations: 249.3 kB / 0.6918 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.4087, allocations: 1.344 kB / 0.6918 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.4087, allocations: 11.66 kB / 0.6918 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.4087, allocations: 9.922 kB / 0.6918 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005055/0.4092, allocations: 424.6 kB / 0.6922 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008343/0.4101, allocations: 1.011 MB / 0.6932 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.4103, allocations: 155.4 kB / 0.6933 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.669e-05/0.4104, allocations: 70.17 kB / 0.6934 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008964/0.4113, allocations: 1.819 MB / 0.6952 GB, free: 9.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.4114, allocations: 41.02 kB / 0.6952 GB, free: 9.191 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.4114, allocations: 0 / 0.6952 GB, free: 9.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.000319/0.4117, allocations: 148 kB / 0.6954 GB, free: 9.145 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.4118, allocations: 58.12 kB / 0.6954 GB, free: 9.078 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.4119, allocations: 165.7 kB / 0.6956 GB, free: 8.973 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.4119, allocations: 34.7 kB / 0.6956 GB, free: 8.941 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.412, allocations: 139.9 kB / 0.6957 GB, free: 8.824 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.412, allocations: 53.44 kB / 0.6958 GB, free: 8.789 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.303e-05/0.4121, allocations: 57.52 kB / 0.6958 GB, free: 8.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.4121, allocations: 321.5 kB / 0.6962 GB, free: 8.457 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.165e-05/0.4122, allocations: 40 kB / 0.6962 GB, free: 8.453 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.4123, allocations: 139.4 kB / 0.6963 GB, free: 8.328 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.4125, allocations: 194 kB / 0.6965 GB, free: 8.195 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4125, allocations: 5.125 kB / 0.6965 GB, free: 8.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003246/0.4129, allocations: 214 kB / 0.6967 GB, free: 8.152 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.4129, allocations: 9.375 kB / 0.6967 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.964e-06/0.4129, allocations: 7.438 kB / 0.6967 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.4129, allocations: 6.266 kB / 0.6967 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.4131, allocations: 55.55 kB / 0.6968 GB, free: 8.148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.4131, allocations: 11 kB / 0.6968 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.4132, allocations: 27.97 kB / 0.6968 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.4132, allocations: 15.19 kB / 0.6968 GB, free: 8.129 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.646e-05/0.4133, allocations: 128.2 kB / 0.697 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.4134, allocations: 20.95 kB / 0.697 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.4137, allocations: 152.8 kB / 0.6971 GB, free: 7.969 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.4137, allocations: 7.078 kB / 0.6971 GB, free: 7.965 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4137, allocations: 7.938 kB / 0.6971 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4137, allocations: 2.203 kB / 0.6971 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.4139, allocations: 218.4 kB / 0.6974 GB, free: 7.762 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4139, allocations: 0 / 0.6974 GB, free: 7.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.689e-05/0.414, allocations: 26.86 kB / 0.6974 GB, free: 7.762 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.4141, allocations: 0.75 kB / 0.6974 GB, free: 7.762 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.4141, allocations: 1.875 kB / 0.6974 GB, free: 7.762 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.4141, allocations: 1.484 kB / 0.6974 GB, free: 7.762 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.4141, allocations: 3.938 kB / 0.6974 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.4143, allocations: 232 kB / 0.6976 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-05/0.4144, allocations: 101.8 kB / 0.6977 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.4145, allocations: 4.969 kB / 0.6977 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.4147, allocations: 12.72 kB / 0.6977 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.4147, allocations: 16.7 kB / 0.6977 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.4147, allocations: 7.641 kB / 0.6977 GB, free: 7.508 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.543e-05/0.4148, allocations: 123.1 kB / 0.6979 GB, free: 7.434 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4148, allocations: 0 / 0.6979 GB, free: 7.434 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003956/0.4152, allocations: 91.3 kB / 0.698 GB, free: 7.414 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.0002767/0.4155, allocations: 175.1 kB / 0.6981 GB, free: 7.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002334/0.4157, allocations: 119.3 kB / 0.6982 GB, free: 7.309 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4157, allocations: 5.281 kB / 0.6982 GB, free: 7.305 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.734e-05/0.4158, allocations: 43.73 kB / 0.6983 GB, free: 7.301 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.4162, allocations: 49.08 kB / 0.6983 GB, free: 7.301 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007105/0.417, allocations: 347.3 kB / 0.6987 GB, free: 7.109 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.4171, allocations: 0.7197 MB / 0.6994 GB, free: 6.406 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.4173, allocations: 46.86 kB / 0.6994 GB, free: 6.387 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.4173, allocations: 24.09 kB / 0.6994 GB, free: 6.379 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4174, allocations: 4.969 kB / 0.6994 GB, free: 6.375 MB / 494.1 MB Notification: Performance of Templates: time 0.007075/0.4244, allocations: 3.344 MB / 0.7027 GB, free: 6.051 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)