Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 110.8 kB / 16.37 MB, free: 6.012 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.000991/0.000991, allocations: 189.5 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.25/1.25, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002084, allocations: 281.7 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8935/0.8935, allocations: 169.3 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 98.02 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1431, allocations: 86.97 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.005345/0.1484, allocations: 4.716 MB / 0.6862 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2411/0.3896, allocations: 2.699 MB / 0.6888 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.3898, allocations: 0 / 0.6888 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.3901, allocations: 46.12 kB / 0.6889 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.3905, allocations: 92.77 kB / 0.689 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.3919, allocations: 0.4995 MB / 0.6895 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000324/0.3922, allocations: 231.7 kB / 0.6897 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.268e-05/0.3923, allocations: 14.48 kB / 0.6897 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/0.3925, allocations: 118.9 kB / 0.6898 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.3927, allocations: 95.7 kB / 0.6899 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.3927, allocations: 7.812 kB / 0.6899 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008088/0.3935, allocations: 363.1 kB / 0.6902 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.14e-05/0.3936, allocations: 40.36 kB / 0.6903 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.3938, allocations: 82.7 kB / 0.6904 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007746/0.3945, allocations: 362.8 kB / 0.6907 GB, free: 12.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3946, allocations: 0.625 kB / 0.6907 GB, free: 12.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3946, allocations: 1.281 kB / 0.6907 GB, free: 12.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.3946, allocations: 0 / 0.6907 GB, free: 12.43 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.0007182/0.3953, allocations: 0.4959 MB / 0.6912 GB, free: 12.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3953, allocations: 9.625 kB / 0.6912 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.3955, allocations: 24.02 kB / 0.6912 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.3957, allocations: 218.2 kB / 0.6914 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3958, allocations: 11.52 kB / 0.6914 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.3958, allocations: 16.75 kB / 0.6915 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003696/0.3962, allocations: 249.2 kB / 0.6917 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3962, allocations: 0 / 0.6917 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.3962, allocations: 6.844 kB / 0.6917 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.3962, allocations: 7.812 kB / 0.6917 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005074/0.3968, allocations: 437.1 kB / 0.6921 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009666/0.3977, allocations: 0.9517 MB / 0.6931 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.398, allocations: 158.5 kB / 0.6932 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.916e-05/0.3981, allocations: 63.8 kB / 0.6933 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009335/0.3991, allocations: 1.826 MB / 0.6951 GB, free: 8.961 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.3991, allocations: 40.33 kB / 0.6951 GB, free: 8.918 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.3991, allocations: 0 / 0.6951 GB, free: 8.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003252/0.3994, allocations: 139.3 kB / 0.6952 GB, free: 8.879 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/0.3995, allocations: 58.66 kB / 0.6953 GB, free: 8.812 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.3996, allocations: 174.5 kB / 0.6954 GB, free: 8.703 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.3996, allocations: 33.36 kB / 0.6955 GB, free: 8.672 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.3997, allocations: 143 kB / 0.6956 GB, free: 8.551 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.3997, allocations: 53.42 kB / 0.6957 GB, free: 8.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.495e-05/0.3998, allocations: 58.22 kB / 0.6957 GB, free: 8.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.503e-05/0.3999, allocations: 322.5 kB / 0.696 GB, free: 8.188 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.14e-05/0.3999, allocations: 35.91 kB / 0.6961 GB, free: 8.188 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.4, allocations: 143.7 kB / 0.6962 GB, free: 8.055 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.4002, allocations: 196.1 kB / 0.6964 GB, free: 7.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.4003, allocations: 0.6562 kB / 0.6964 GB, free: 7.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003264/0.4006, allocations: 221.4 kB / 0.6966 GB, free: 7.844 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.4006, allocations: 6.625 kB / 0.6966 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.4006, allocations: 8.062 kB / 0.6966 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.4007, allocations: 6.312 kB / 0.6966 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.4008, allocations: 50.25 kB / 0.6967 GB, free: 7.836 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.4008, allocations: 9.984 kB / 0.6967 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.401, allocations: 23.03 kB / 0.6967 GB, free: 7.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.401, allocations: 15.06 kB / 0.6967 GB, free: 7.82 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 9.1e-05/0.4011, allocations: 134.5 kB / 0.6968 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.4012, allocations: 12.16 kB / 0.6969 GB, free: 7.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/0.4015, allocations: 161.1 kB / 0.697 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.4015, allocations: 2.625 kB / 0.697 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4015, allocations: 4.547 kB / 0.697 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.4015, allocations: 1.797 kB / 0.697 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.4017, allocations: 216 kB / 0.6972 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.4017, allocations: 1.625 kB / 0.6972 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.009e-05/0.4018, allocations: 23.67 kB / 0.6972 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.4018, allocations: 0.5938 kB / 0.6972 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.4018, allocations: 5.625 kB / 0.6973 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.4019, allocations: 1.766 kB / 0.6973 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4019, allocations: 8.656 kB / 0.6973 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.4021, allocations: 219.3 kB / 0.6975 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.417e-05/0.4022, allocations: 111.4 kB / 0.6976 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.4022, allocations: 2.078 kB / 0.6976 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.4024, allocations: 14.73 kB / 0.6976 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.4024, allocations: 12.81 kB / 0.6976 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.4025, allocations: 18.73 kB / 0.6976 GB, free: 7.184 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.029e-05/0.4026, allocations: 122.4 kB / 0.6977 GB, free: 7.105 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4026, allocations: 4.906 kB / 0.6977 GB, free: 7.102 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004346/0.403, allocations: 81.12 kB / 0.6978 GB, free: 7.094 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.0003282/0.4033, allocations: 181.1 kB / 0.698 GB, free: 6.988 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.4036, allocations: 111.8 kB / 0.6981 GB, free: 6.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4036, allocations: 5.094 kB / 0.6981 GB, free: 6.977 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.997e-05/0.4037, allocations: 40.3 kB / 0.6981 GB, free: 6.977 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.4041, allocations: 59.94 kB / 0.6982 GB, free: 6.969 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006332/0.4047, allocations: 341.7 kB / 0.6985 GB, free: 6.777 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.4049, allocations: 0.715 MB / 0.6992 GB, free: 6.078 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.405, allocations: 50.39 kB / 0.6993 GB, free: 6.059 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.4051, allocations: 24.78 kB / 0.6993 GB, free: 6.051 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4051, allocations: 1.312 kB / 0.6993 GB, free: 6.051 MB / 494.1 MB Notification: Performance of Templates: time 0.007715/0.4128, allocations: 3.424 MB / 0.7026 GB, free: 5.734 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1)