Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.002098/0.002099, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.677/1.677, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005144/0.0005145, allocations: 19.44 kB / 0.6735 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2937, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.00644/0.3001, allocations: 3.932 MB / 0.7909 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00278/0.303, allocations: 2.148 MB / 0.793 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.3031, allocations: 0 / 0.793 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.3035, allocations: 35.8 kB / 0.7931 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.3037, allocations: 83.77 kB / 0.7931 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.3048, allocations: 409.9 kB / 0.7935 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.305, allocations: 152.7 kB / 0.7937 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.094e-05/0.305, allocations: 9.562 kB / 0.7937 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.3052, allocations: 103.6 kB / 0.7938 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.3054, allocations: 75.73 kB / 0.7939 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.3054, allocations: 4 kB / 0.7939 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005812/0.306, allocations: 271.6 kB / 0.7941 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.603e-05/0.3061, allocations: 39.89 kB / 0.7942 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.3061, allocations: 49.64 kB / 0.7942 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.3065, allocations: 215.7 kB / 0.7944 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3065, allocations: 4 kB / 0.7944 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.826e-06/0.3065, allocations: 0 / 0.7944 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.3065, allocations: 0 / 0.7944 GB, free: 4.434 MB / 0.6075 GB 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.0007914/0.3073, allocations: 471.1 kB / 0.7949 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.3074, allocations: 8.031 kB / 0.7949 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.3075, allocations: 19.86 kB / 0.7949 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.3078, allocations: 214.7 kB / 0.7951 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.3078, allocations: 16.33 kB / 0.7951 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.3078, allocations: 12 kB / 0.7951 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.3082, allocations: 247.9 kB / 0.7954 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.3083, allocations: 0 / 0.7954 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.3083, allocations: 12 kB / 0.7954 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.318e-05/0.3083, allocations: 7.984 kB / 0.7954 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000497/0.3088, allocations: 431.4 kB / 0.7958 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.3101, allocations: 0.9838 MB / 0.7968 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.3104, allocations: 161.9 kB / 0.7969 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001573/0.312, allocations: 1.837 MB / 0.7987 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.3121, allocations: 34.56 kB / 0.7987 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.3121, allocations: 3.938 kB / 0.7987 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0003371/0.3124, allocations: 141.4 kB / 0.7989 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.3125, allocations: 59.41 kB / 0.7989 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.3126, allocations: 163.3 kB / 0.7991 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.3127, allocations: 29.7 kB / 0.7991 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.3128, allocations: 139.8 kB / 0.7992 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.3128, allocations: 55.2 kB / 0.7993 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.836e-06/0.3128, allocations: 4 kB / 0.7993 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.313, allocations: 330.8 kB / 0.7996 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.179e-05/0.313, allocations: 31.98 kB / 0.7997 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.3132, allocations: 145.6 kB / 0.7998 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.156e-05/0.3133, allocations: 51.94 kB / 0.7998 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3133, allocations: 4 kB / 0.7998 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003121/0.3136, allocations: 219.8 kB / 0.8001 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.3137, allocations: 4 kB / 0.8001 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.3137, allocations: 4.469 kB / 0.8001 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.3137, allocations: 12 kB / 0.8001 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.3139, allocations: 63.91 kB / 0.8001 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.3139, allocations: 11.92 kB / 0.8001 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.314, allocations: 31.69 kB / 0.8002 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.3141, allocations: 19.92 kB / 0.8002 GB, free: 13.84 MB / 0.6231 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.3142, allocations: 125.8 kB / 0.8003 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.3142, allocations: 19.86 kB / 0.8003 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.3146, allocations: 154.9 kB / 0.8005 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.3146, allocations: 4 kB / 0.8005 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3146, allocations: 0 / 0.8005 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3146, allocations: 3.984 kB / 0.8005 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.3149, allocations: 217.5 kB / 0.8007 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3149, allocations: 0 / 0.8007 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.315, allocations: 31.92 kB / 0.8007 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.315, allocations: 0 / 0.8007 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.315, allocations: 11.94 kB / 0.8007 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.315, allocations: 8 kB / 0.8007 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.315, allocations: 3.938 kB / 0.8007 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.3153, allocations: 211.6 kB / 0.801 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.3154, allocations: 116.8 kB / 0.8011 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.3154, allocations: 0 / 0.8011 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.3156, allocations: 19.94 kB / 0.8011 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.3156, allocations: 7.984 kB / 0.8011 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.3157, allocations: 16 kB / 0.8011 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.612e-05/0.3158, allocations: 115.9 kB / 0.8012 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3158, allocations: 0 / 0.8012 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003903/0.3162, allocations: 79.92 kB / 0.8013 GB, free: 12.62 MB / 0.6231 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002685/0.3164, allocations: 163.2 kB / 0.8014 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002322/0.3167, allocations: 119 kB / 0.8016 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.3167, allocations: 0 / 0.8016 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.28e-05/0.3168, allocations: 51.78 kB / 0.8016 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.3172, allocations: 48.91 kB / 0.8017 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008563/0.3181, allocations: 415.5 kB / 0.8021 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.3185, allocations: 0.7172 MB / 0.8028 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001727/0.3187, allocations: 49.73 kB / 0.8028 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.3187, allocations: 23.44 kB / 0.8028 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.3187, allocations: 0 / 0.8028 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of Templates: time 0.00728/0.326, allocations: 3.125 MB / 0.8059 GB, free: 7.906 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterProperties.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_8_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterProperties.pipe 2>&1) Environment - environmentSimulation: