Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 99.86 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.001143/0.001143, 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.734/1.734, allocations: 205.4 MB / 222.1 MB, free: 5.543 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.898/1.898, allocations: 292.5 MB / 0.5497 GB, free: 14.66 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.00058/0.0005803, allocations: 20.19 kB / 0.6735 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2677, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005543/0.2733, allocations: 3.068 MB / 0.7901 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003399/0.2768, allocations: 2.156 MB / 0.7922 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.2771, allocations: 4 kB / 0.7922 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003972/0.2775, allocations: 35.8 kB / 0.7922 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003801/0.2779, allocations: 83.75 kB / 0.7923 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.2795, allocations: 429 kB / 0.7927 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004773/0.28, allocations: 168.7 kB / 0.7929 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.464e-05/0.2801, allocations: 9.562 kB / 0.7929 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003364/0.2804, allocations: 103.7 kB / 0.793 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.2806, allocations: 71.75 kB / 0.7931 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.2807, allocations: 4 kB / 0.7931 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.2819, allocations: 375.5 kB / 0.7934 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.282, allocations: 39.89 kB / 0.7935 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.984e-05/0.2821, allocations: 57.64 kB / 0.7935 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007191/0.2829, allocations: 251.6 kB / 0.7938 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2829, allocations: 0 / 0.7938 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.41e-06/0.2829, allocations: 0 / 0.7938 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.2829, allocations: 3.938 kB / 0.7938 GB, free: 5.133 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.001062/0.284, allocations: 475.2 kB / 0.7942 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/0.284, allocations: 8.031 kB / 0.7942 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/0.2861, allocations: 187.5 kB / 0.7944 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.2865, allocations: 202.8 kB / 0.7946 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/0.2866, allocations: 12.33 kB / 0.7946 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/0.2867, allocations: 23.92 kB / 0.7946 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007289/0.2874, allocations: 300.3 kB / 0.7949 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.2874, allocations: 4 kB / 0.7949 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.672e-05/0.2875, allocations: 11.98 kB / 0.7949 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/0.2875, allocations: 4 kB / 0.7949 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007319/0.2883, allocations: 267.5 kB / 0.7952 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.2903, allocations: 1.373 MB / 0.7965 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007313/0.291, allocations: 198.4 kB / 0.7967 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.292e-05/0.2911, allocations: 11.98 kB / 0.7967 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.2911, allocations: 30.56 kB / 0.7968 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 2.625e-06/0.2911, allocations: 0 / 0.7968 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.00101/0.2921, allocations: 245.6 kB / 0.797 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.2922, allocations: 55.41 kB / 0.7971 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.2925, allocations: 154.4 kB / 0.7972 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.2925, allocations: 29.7 kB / 0.7972 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.898e-05/0.2926, allocations: 131.9 kB / 0.7974 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.807e-05/0.2927, allocations: 63.09 kB / 0.7974 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.588e-05/0.2927, allocations: 8 kB / 0.7974 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2929, allocations: 322.8 kB / 0.7977 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.2931, allocations: 60.42 kB / 0.7978 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.2934, allocations: 150.2 kB / 0.7979 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.2937, allocations: 82.88 kB / 0.798 GB, free: 452 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2937, allocations: 0 / 0.798 GB, free: 452 kB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006049/0.2943, allocations: 245.5 kB / 0.7983 GB, free: 200 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.2943, allocations: 8 kB / 0.7983 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.2943, allocations: 4 kB / 0.7983 GB, free: 188 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.2944, allocations: 7.953 kB / 0.7983 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003676/0.2947, allocations: 63.89 kB / 0.7983 GB, free: 116 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.2948, allocations: 7.938 kB / 0.7983 GB, free: 108 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.295, allocations: 31.73 kB / 0.7984 GB, free: 76 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.2951, allocations: 19.98 kB / 0.7984 GB, free: 56 kB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * 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.0001701/0.2952, allocations: 129.8 kB / 0.7985 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.2953, allocations: 15.81 kB / 0.7985 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006522/0.296, allocations: 229.1 kB / 0.7987 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.296, allocations: 4 kB / 0.7987 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.296, allocations: 0 / 0.7987 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.296, allocations: 3.953 kB / 0.7988 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.2963, allocations: 241.4 kB / 0.799 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2964, allocations: 4 kB / 0.799 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/0.2967, allocations: 51.91 kB / 0.799 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2967, allocations: 0 / 0.799 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.2967, allocations: 11.98 kB / 0.799 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2967, allocations: 4 kB / 0.7991 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2967, allocations: 3.953 kB / 0.7991 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005802/0.2973, allocations: 291.2 kB / 0.7993 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.2975, allocations: 101 kB / 0.7994 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.2975, allocations: 8 kB / 0.7994 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.2978, allocations: 19.92 kB / 0.7995 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.2978, allocations: 11.97 kB / 0.7995 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.2979, allocations: 12 kB / 0.7995 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001035/0.298, allocations: 133.4 kB / 0.7996 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.8e-07/0.298, allocations: 0 / 0.7996 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003977/0.2984, allocations: 67.97 kB / 0.7997 GB, free: 14.64 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0002602/0.2986, allocations: 127.3 kB / 0.7998 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005512/0.2992, allocations: 175.8 kB / 0.8 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2992, allocations: 0 / 0.8 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.2995, allocations: 94.41 kB / 0.8 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.2999, allocations: 51.91 kB / 0.8001 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.301, allocations: 489.6 kB / 0.8006 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.3014, allocations: 0.7254 MB / 0.8013 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003513/0.3017, allocations: 49.92 kB / 0.8013 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.363e-05/0.3018, allocations: 19.44 kB / 0.8013 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.3018, allocations: 0 / 0.8013 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of Templates: time 0.006695/0.3085, allocations: 3.031 MB / 0.8043 GB, free: 9.895 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) Environment - environmentSimulation: