Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.68/1.68, allocations: 288.4 MB / 303.3 MB, free: 8.008 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001067, allocations: 178.5 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007759/0.0007759, allocations: 82.36 kB / 0.744 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004415/0.0004419, allocations: 15.66 kB / 0.867 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2405, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003842/0.2444, allocations: 3.575 MB / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002098/0.2465, allocations: 2.233 MB / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.2467, allocations: 4 kB / 0.9853 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.247, allocations: 39.8 kB / 0.9854 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.2473, allocations: 91.41 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.2486, allocations: 402.2 kB / 0.9858 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003679/0.249, allocations: 291.8 kB / 0.9861 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.373e-05/0.249, allocations: 17.55 kB / 0.9861 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.2493, allocations: 103.6 kB / 0.9862 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.2495, allocations: 99.64 kB / 0.9863 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.2495, allocations: 4 kB / 0.9863 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00096/0.2505, allocations: 331.4 kB / 0.9866 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.873e-05/0.2506, allocations: 43.88 kB / 0.9867 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.814e-05/0.2507, allocations: 57.58 kB / 0.9867 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005788/0.2513, allocations: 247.7 kB / 0.987 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2513, allocations: 4 kB / 0.987 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2513, allocations: 0 / 0.987 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.2513, allocations: 0 / 0.987 GB, free: 20.02 MB / 0.6198 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.0008477/0.2522, allocations: 475.2 kB / 0.9874 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.2522, allocations: 12.03 kB / 0.9874 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.15e-05/0.2523, allocations: 46.55 kB / 0.9875 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/0.2543, allocations: 187.5 kB / 0.9877 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.2546, allocations: 206.8 kB / 0.9879 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.2546, allocations: 12.33 kB / 0.9879 GB, free: 19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.2547, allocations: 12 kB / 0.9879 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006038/0.2553, allocations: 304.3 kB / 0.9882 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.2553, allocations: 0 / 0.9882 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.2553, allocations: 16 kB / 0.9882 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.2554, allocations: 7.938 kB / 0.9882 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006571/0.256, allocations: 267.5 kB / 0.9884 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.2574, allocations: 1.373 MB / 0.9898 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006449/0.2581, allocations: 196.4 kB / 0.99 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.2583, allocations: 80.84 kB / 0.9901 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.2584, allocations: 3.984 kB / 0.9901 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.2584, allocations: 42.52 kB / 0.9901 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.993e-06/0.2584, allocations: 4 kB / 0.9901 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0007054/0.2591, allocations: 242.5 kB / 0.9903 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.2591, allocations: 55.41 kB / 0.9904 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.2593, allocations: 154.5 kB / 0.9905 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.2593, allocations: 29.7 kB / 0.9906 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.2594, allocations: 132 kB / 0.9907 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.2594, allocations: 55.11 kB / 0.9907 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-05/0.2594, allocations: 8 kB / 0.9907 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.984e-05/0.2595, allocations: 330.8 kB / 0.9911 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.2597, allocations: 56.42 kB / 0.9911 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.2599, allocations: 148.1 kB / 0.9913 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.2601, allocations: 77.16 kB / 0.9913 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2601, allocations: 0 / 0.9913 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000526/0.2607, allocations: 258.8 kB / 0.9916 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.2607, allocations: 7.953 kB / 0.9916 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2607, allocations: 4 kB / 0.9916 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.2607, allocations: 4 kB / 0.9916 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.2611, allocations: 67.83 kB / 0.9917 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.2611, allocations: 4 kB / 0.9917 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.2614, allocations: 32.14 kB / 0.9917 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.2614, allocations: 12 kB / 0.9917 GB, free: 14.82 MB / 0.6198 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.0001021/0.2615, allocations: 133.7 kB / 0.9918 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.2616, allocations: 11.81 kB / 0.9918 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005887/0.2621, allocations: 225.6 kB / 0.9921 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2622, allocations: 4 kB / 0.9921 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2622, allocations: 3.953 kB / 0.9921 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.2622, allocations: 7.984 kB / 0.9921 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.2624, allocations: 241.4 kB / 0.9923 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2624, allocations: 0 / 0.9923 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.2627, allocations: 47.89 kB / 0.9923 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2627, allocations: 0 / 0.9923 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.2628, allocations: 8 kB / 0.9924 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2628, allocations: 3.953 kB / 0.9924 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2628, allocations: 0 / 0.9924 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004725/0.2633, allocations: 295.2 kB / 0.9926 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.143e-05/0.2634, allocations: 108.9 kB / 0.9927 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.2634, allocations: 8 kB / 0.9928 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.2637, allocations: 19.92 kB / 0.9928 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.406e-05/0.2637, allocations: 11.94 kB / 0.9928 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.2637, allocations: 16 kB / 0.9928 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.94e-05/0.2638, allocations: 118.2 kB / 0.9929 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2638, allocations: 0 / 0.9929 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003396/0.2641, allocations: 59.94 kB / 0.993 GB, free: 13.43 MB / 0.6198 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.0007626/0.2649, allocations: 0.8546 MB / 0.9938 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004963/0.2654, allocations: 183.6 kB / 0.994 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2654, allocations: 0 / 0.994 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.2656, allocations: 86.81 kB / 0.9941 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.2662, allocations: 60.52 kB / 0.9941 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.2681, allocations: 1.094 MB / 0.9952 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.2683, allocations: 0.7098 MB / 0.9959 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003676/0.2687, allocations: 61.86 kB / 0.9959 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.2688, allocations: 47.41 kB / 0.996 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2688, allocations: 3.938 kB / 0.996 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.2839, allocations: 4.593 MB / 1 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/0.2842, allocations: 248 kB / 1.001 GB, free: 5.586 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.023, allocations: 2.672 kB / 1.001 GB, free: 5.586 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)