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.000961/0.000961, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.007957/0.007958, allocations: 170.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.861/1.861, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0004981/0.0004982, allocations: 12.03 kB / 0.6743 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2249, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003906/0.2289, allocations: 3.729 MB / 0.7915 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002487/0.2314, allocations: 2.395 MB / 0.7938 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.424e-05/0.2315, allocations: 4 kB / 0.7939 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.2317, allocations: 43.73 kB / 0.7939 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.2319, allocations: 91.47 kB / 0.794 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.2329, allocations: 454 kB / 0.7944 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.2333, allocations: 335.8 kB / 0.7947 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.2333, allocations: 9.547 kB / 0.7947 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.2335, allocations: 111.6 kB / 0.7948 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.2337, allocations: 99.59 kB / 0.7949 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.2337, allocations: 8 kB / 0.795 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007237/0.2344, allocations: 439.2 kB / 0.7954 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.407e-05/0.2345, allocations: 31.91 kB / 0.7954 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.2346, allocations: 109.3 kB / 0.7955 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005619/0.2352, allocations: 403.2 kB / 0.7959 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2352, allocations: 0 / 0.7959 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2352, allocations: 0 / 0.7959 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2352, allocations: 3.938 kB / 0.7959 GB, free: 3.297 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.0006504/0.2359, allocations: 475.3 kB / 0.7963 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2359, allocations: 8.031 kB / 0.7964 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.2379, allocations: 184.5 kB / 0.7965 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.2381, allocations: 216 kB / 0.7967 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.2381, allocations: 12.7 kB / 0.7967 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/0.2382, allocations: 20.38 kB / 0.7968 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006357/0.2388, allocations: 304.4 kB / 0.7971 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2388, allocations: 0 / 0.7971 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.2389, allocations: 8 kB / 0.7971 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.2389, allocations: 4 kB / 0.7971 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007279/0.2396, allocations: 263.6 kB / 0.7973 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.2411, allocations: 1.389 MB / 0.7987 GB, free: 212 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006626/0.2418, allocations: 189.6 kB / 0.7989 GB, free: 16 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.2421, allocations: 84.75 kB / 0.7989 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.2421, allocations: 4 kB / 0.7989 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.2421, allocations: 34.56 kB / 0.799 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.2421, allocations: 0 / 0.799 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18): time 0.0007972/0.2429, allocations: 248.2 kB / 0.7992 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.243, allocations: 51.41 kB / 0.7993 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.2431, allocations: 154.5 kB / 0.7994 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.2431, allocations: 29.7 kB / 0.7994 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.2432, allocations: 124 kB / 0.7996 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.2433, allocations: 75.02 kB / 0.7996 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.2433, allocations: 21.72 kB / 0.7996 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.2434, allocations: 330.8 kB / 0.8 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.2437, allocations: 72.36 kB / 0.8 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.2439, allocations: 134.3 kB / 0.8002 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/0.2444, allocations: 225.1 kB / 0.8004 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2444, allocations: 0 / 0.8004 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005917/0.245, allocations: 256 kB / 0.8006 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2451, allocations: 4 kB / 0.8006 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2451, allocations: 8 kB / 0.8006 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.2451, allocations: 4 kB / 0.8006 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.2455, allocations: 64.2 kB / 0.8007 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.2455, allocations: 4 kB / 0.8007 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.2457, allocations: 35.73 kB / 0.8007 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.2458, allocations: 11.98 kB / 0.8007 GB, free: 13.94 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.2459, allocations: 137.7 kB / 0.8009 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.2459, allocations: 11.91 kB / 0.8009 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000658/0.2466, allocations: 225.6 kB / 0.8011 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.2466, allocations: 11.92 kB / 0.8011 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2466, allocations: 0 / 0.8011 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2467, allocations: 0 / 0.8011 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.2469, allocations: 249.3 kB / 0.8014 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.247, allocations: 0 / 0.8014 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.2473, allocations: 47.97 kB / 0.8014 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.2473, allocations: 0 / 0.8014 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.2473, allocations: 3.938 kB / 0.8014 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2473, allocations: 0 / 0.8014 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2473, allocations: 15.92 kB / 0.8014 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005505/0.2479, allocations: 295.2 kB / 0.8017 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.176e-05/0.248, allocations: 104.9 kB / 0.8018 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.248, allocations: 4 kB / 0.8018 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.2483, allocations: 19.98 kB / 0.8018 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.2483, allocations: 7.984 kB / 0.8018 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.2484, allocations: 8 kB / 0.8018 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.58e-05/0.2484, allocations: 117.5 kB / 0.8019 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2484, allocations: 4 kB / 0.802 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003706/0.2488, allocations: 64.06 kB / 0.802 GB, free: 12.55 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 (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.0002026/0.249, allocations: 139.1 kB / 0.8021 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000547/0.2496, allocations: 180.4 kB / 0.8023 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2496, allocations: 0 / 0.8023 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.2498, allocations: 83.89 kB / 0.8024 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005428/0.2504, allocations: 69.08 kB / 0.8025 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009884/0.2514, allocations: 498 kB / 0.8029 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.2517, allocations: 0.7176 MB / 0.8036 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003542/0.252, allocations: 57.86 kB / 0.8037 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.123e-05/0.2521, allocations: 23.42 kB / 0.8037 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of SimCode: time 3.71e-07/0.2521, allocations: 4 kB / 0.8037 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of Templates: time 0.006332/0.2585, allocations: 3.144 MB / 0.8068 GB, free: 7.648 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: