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.852/1.852, allocations: 288.2 MB / 303.2 MB, free: 8.121 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.00131/0.00131, allocations: 191.8 kB / 371.8 MB, free: 10.28 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.683/1.683, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.000979/0.000979, allocations: 93.58 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003965, allocations: 15.36 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2213, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003006/0.2243, allocations: 3.064 MB / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.2262, allocations: 2.163 MB / 0.9846 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.173e-05/0.2263, allocations: 0 / 0.9846 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.2266, allocations: 35.8 kB / 0.9846 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.2268, allocations: 87.75 kB / 0.9847 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008606/0.2276, allocations: 428.3 kB / 0.9851 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.2278, allocations: 164.7 kB / 0.9853 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.151e-05/0.2279, allocations: 17.5 kB / 0.9853 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.2281, allocations: 103.7 kB / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.2282, allocations: 67.75 kB / 0.9854 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.2282, allocations: 4 kB / 0.9854 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000595/0.2288, allocations: 387.4 kB / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.2289, allocations: 35.89 kB / 0.9858 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.478e-05/0.229, allocations: 53.64 kB / 0.9859 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.2293, allocations: 247.7 kB / 0.9861 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2293, allocations: 0 / 0.9861 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2293, allocations: 4 kB / 0.9861 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2294, allocations: 0 / 0.9861 GB, free: 20.77 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.0006641/0.23, allocations: 475.2 kB / 0.9866 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.2301, allocations: 8.031 kB / 0.9866 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.798e-05/0.2301, allocations: 50.55 kB / 0.9866 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.2318, allocations: 195.4 kB / 0.9868 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.232, allocations: 206.8 kB / 0.987 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.2321, allocations: 12.33 kB / 0.987 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.2321, allocations: 20 kB / 0.9871 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005491/0.2327, allocations: 300.2 kB / 0.9873 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2327, allocations: 4 kB / 0.9874 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.2327, allocations: 7.984 kB / 0.9874 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.2328, allocations: 15.98 kB / 0.9874 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005777/0.2333, allocations: 263.6 kB / 0.9876 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.2345, allocations: 1.377 MB / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/0.2351, allocations: 194.5 kB / 0.9892 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.2352, allocations: 0 / 0.9892 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.2352, allocations: 42.52 kB / 0.9892 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.2352, allocations: 0 / 0.9892 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0006668/0.2359, allocations: 246.9 kB / 0.9894 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.2359, allocations: 55.31 kB / 0.9895 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.236, allocations: 151.3 kB / 0.9896 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.236, allocations: 29.7 kB / 0.9897 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.2361, allocations: 128 kB / 0.9898 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.2361, allocations: 67.08 kB / 0.9898 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.2362, allocations: 4 kB / 0.9898 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.267e-05/0.2362, allocations: 326.8 kB / 0.9902 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.2364, allocations: 64.42 kB / 0.9902 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.2366, allocations: 144.1 kB / 0.9904 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.2368, allocations: 81.22 kB / 0.9904 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2368, allocations: 4 kB / 0.9904 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004745/0.2373, allocations: 245.1 kB / 0.9907 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2373, allocations: 9.719 kB / 0.9907 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.2374, allocations: 7.953 kB / 0.9907 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.2374, allocations: 4 kB / 0.9907 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.2377, allocations: 67.89 kB / 0.9908 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.2377, allocations: 7.984 kB / 0.9908 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.2379, allocations: 27.75 kB / 0.9908 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.238, allocations: 15.98 kB / 0.9908 GB, free: 15.63 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.0001105/0.2381, allocations: 133.7 kB / 0.9909 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.2381, allocations: 15.81 kB / 0.991 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005529/0.2387, allocations: 232.2 kB / 0.9912 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2387, allocations: 0 / 0.9912 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/0.2387, allocations: 0 / 0.9912 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.2387, allocations: 3.953 kB / 0.9912 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.239, allocations: 237.4 kB / 0.9914 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.239, allocations: 3.938 kB / 0.9914 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.2392, allocations: 59.95 kB / 0.9915 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.2393, allocations: 0 / 0.9915 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.2393, allocations: 0 / 0.9915 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2393, allocations: 8 kB / 0.9915 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2393, allocations: 3.953 kB / 0.9915 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.2397, allocations: 296 kB / 0.9918 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.991e-05/0.2398, allocations: 105 kB / 0.9919 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.2399, allocations: 4 kB / 0.9919 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.2401, allocations: 19.92 kB / 0.9919 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.2401, allocations: 11.98 kB / 0.9919 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.2402, allocations: 7.953 kB / 0.9919 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.051e-05/0.2402, allocations: 122.2 kB / 0.992 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2402, allocations: 4 kB / 0.992 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003552/0.2406, allocations: 71.95 kB / 0.9921 GB, free: 14.23 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.0006909/0.2413, allocations: 0.8465 MB / 0.9929 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004315/0.2417, allocations: 183 kB / 0.9931 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2418, allocations: 0 / 0.9931 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.2419, allocations: 91.88 kB / 0.9932 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.2423, allocations: 51.95 kB / 0.9932 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.2442, allocations: 2.604 MB / 0.9958 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.2444, allocations: 0.7176 MB / 0.9965 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003441/0.2447, allocations: 53.92 kB / 0.9965 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.2448, allocations: 43.42 kB / 0.9966 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of SimCode: time 4.51e-07/0.2448, allocations: 0 / 0.9966 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.386/2.631, allocations: 4.586 MB / 1.001 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002909/2.631, allocations: 233.6 kB / 1.001 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/4.382, allocations: 0 / 1.001 GB, free: 4.891 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)