Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 196 kB / 16.54 MB, free: 6.672 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7397/0.7397, allocations: 132.2 MB / 422.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001458, allocations: 72.45 kB / 0.5018 GB, free: 3.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3928, allocations: 80.2 MB / 0.5801 GB, free: 4.402 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.0052/0.3981, allocations: 4.703 MB / 0.5847 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002684/0.4008, allocations: 2.705 MB / 0.5873 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.996e-05/0.4009, allocations: 5.219 kB / 0.5873 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.4012, allocations: 49.89 kB / 0.5874 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.4015, allocations: 92.67 kB / 0.5875 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.4027, allocations: 0.4956 MB / 0.5879 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.403, allocations: 244.7 kB / 0.5882 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.765e-05/0.403, allocations: 9.531 kB / 0.5882 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.4032, allocations: 110.8 kB / 0.5883 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.4034, allocations: 96.08 kB / 0.5884 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.4034, allocations: 11.19 kB / 0.5884 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007306/0.4041, allocations: 364.4 kB / 0.5887 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.053e-05/0.4042, allocations: 38.95 kB / 0.5888 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.4043, allocations: 83 kB / 0.5889 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006049/0.4049, allocations: 357 kB / 0.5892 GB, free: 14.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.405, allocations: 0.6562 kB / 0.5892 GB, free: 14.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.405, allocations: 1.188 kB / 0.5892 GB, free: 14.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.405, allocations: 0 / 0.5892 GB, free: 14.19 MB / 446.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.0007681/0.4058, allocations: 0.5035 MB / 0.5897 GB, free: 13.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.4058, allocations: 9.156 kB / 0.5897 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.406, allocations: 31.72 kB / 0.5897 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.4062, allocations: 212.8 kB / 0.5899 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.4062, allocations: 11.14 kB / 0.5899 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.4063, allocations: 18.53 kB / 0.59 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.4067, allocations: 254.6 kB / 0.5902 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4067, allocations: 0 / 0.5902 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.4068, allocations: 11.05 kB / 0.5902 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/0.4068, allocations: 6.594 kB / 0.5902 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006873/0.4075, allocations: 429.2 kB / 0.5906 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.4087, allocations: 0.9471 MB / 0.5915 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.409, allocations: 159 kB / 0.5917 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.4091, allocations: 69.27 kB / 0.5918 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/0.4104, allocations: 1.821 MB / 0.5935 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.4105, allocations: 37.58 kB / 0.5936 GB, free: 10.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.4105, allocations: 1.094 kB / 0.5936 GB, free: 10.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003296/0.4108, allocations: 149.4 kB / 0.5937 GB, free: 10.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.4109, allocations: 61.47 kB / 0.5938 GB, free: 10.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.411, allocations: 172.8 kB / 0.5939 GB, free: 9.984 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.4111, allocations: 27.86 kB / 0.594 GB, free: 9.953 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.702e-05/0.4112, allocations: 141.8 kB / 0.5941 GB, free: 9.824 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.4112, allocations: 48.09 kB / 0.5942 GB, free: 9.789 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.316e-05/0.4113, allocations: 56.22 kB / 0.5942 GB, free: 9.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4114, allocations: 322.3 kB / 0.5945 GB, free: 9.434 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.335e-05/0.4115, allocations: 35.02 kB / 0.5945 GB, free: 9.426 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.4117, allocations: 144.7 kB / 0.5947 GB, free: 9.277 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.4119, allocations: 196.6 kB / 0.5949 GB, free: 9.098 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.4119, allocations: 1.094 kB / 0.5949 GB, free: 9.098 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003487/0.4123, allocations: 219.5 kB / 0.5951 GB, free: 8.996 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.4123, allocations: 10.38 kB / 0.5951 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.4123, allocations: 4.516 kB / 0.5951 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.4124, allocations: 9.188 kB / 0.5951 GB, free: 8.988 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.4126, allocations: 55.05 kB / 0.5952 GB, free: 8.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.4126, allocations: 9.141 kB / 0.5952 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.4127, allocations: 24.88 kB / 0.5952 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.4127, allocations: 14.66 kB / 0.5952 GB, free: 8.957 MB / 446.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 0.0001155/0.4129, allocations: 132.9 kB / 0.5953 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.4129, allocations: 16.72 kB / 0.5953 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003327/0.4133, allocations: 153.8 kB / 0.5955 GB, free: 8.742 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.4133, allocations: 10.97 kB / 0.5955 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4133, allocations: 0 / 0.5955 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4133, allocations: 2.078 kB / 0.5955 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.4135, allocations: 208.9 kB / 0.5957 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4135, allocations: 0 / 0.5957 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.217e-05/0.4136, allocations: 30.58 kB / 0.5957 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.4137, allocations: 0 / 0.5957 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.4137, allocations: 7.188 kB / 0.5957 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.4137, allocations: 8.594 kB / 0.5958 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4137, allocations: 1.312 kB / 0.5958 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.4139, allocations: 217.6 kB / 0.596 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.587e-05/0.4141, allocations: 115.3 kB / 0.5961 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.4141, allocations: 5.062 kB / 0.5961 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.4143, allocations: 15.62 kB / 0.5961 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.4143, allocations: 17.09 kB / 0.5961 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.4144, allocations: 13.38 kB / 0.5961 GB, free: 8.211 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.784e-05/0.4144, allocations: 121.8 kB / 0.5962 GB, free: 8.125 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4145, allocations: 0 / 0.5962 GB, free: 8.125 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004005/0.4149, allocations: 77.31 kB / 0.5963 GB, free: 8.109 MB / 446.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.0003816/0.4152, allocations: 180.9 kB / 0.5965 GB, free: 7.988 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002436/0.4155, allocations: 125.2 kB / 0.5966 GB, free: 7.953 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4155, allocations: 0.9688 kB / 0.5966 GB, free: 7.953 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.762e-05/0.4156, allocations: 45.48 kB / 0.5966 GB, free: 7.941 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.416, allocations: 59.81 kB / 0.5967 GB, free: 7.922 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006562/0.4167, allocations: 334.8 kB / 0.597 GB, free: 7.723 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.417, allocations: 0.7261 MB / 0.5977 GB, free: 7.012 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001578/0.4171, allocations: 41.5 kB / 0.5978 GB, free: 6.996 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.4172, allocations: 25.98 kB / 0.5978 GB, free: 6.984 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4172, allocations: 0 / 0.5978 GB, free: 6.984 MB / 446.1 MB Notification: Performance of Templates: time 0.006484/0.4237, allocations: 3.404 MB / 0.6011 GB, free: 5.652 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterProperties.makefile (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)