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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008305/0.0008306, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.0009988/0.0009988, allocations: 172.7 kB / 15.95 MB, free: 208 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.396/1.396, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.73/1.73, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005595/0.0005597, allocations: 12.34 kB / 0.6738 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2376, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004625/0.2422, allocations: 3.586 MB / 0.7909 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.2447, allocations: 2.229 MB / 0.7931 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.058e-05/0.2448, allocations: 0 / 0.7931 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.2451, allocations: 39.73 kB / 0.7931 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.2454, allocations: 95.48 kB / 0.7932 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.2466, allocations: 398 kB / 0.7936 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003952/0.247, allocations: 287.8 kB / 0.7939 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.093e-05/0.2471, allocations: 13.55 kB / 0.7939 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.2473, allocations: 111.6 kB / 0.794 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.2475, allocations: 95.66 kB / 0.7941 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.2475, allocations: 8 kB / 0.7941 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006857/0.2482, allocations: 335.4 kB / 0.7944 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.663e-05/0.2483, allocations: 31.89 kB / 0.7944 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.798e-05/0.2484, allocations: 53.64 kB / 0.7945 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.2488, allocations: 247.7 kB / 0.7947 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/0.2488, allocations: 11.94 kB / 0.7947 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2488, allocations: 0 / 0.7947 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.2488, allocations: 0 / 0.7947 GB, free: 4.301 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.0008284/0.2496, allocations: 479.1 kB / 0.7952 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.2497, allocations: 8.031 kB / 0.7952 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.588e-05/0.2498, allocations: 50.55 kB / 0.7952 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.2515, allocations: 187.5 kB / 0.7954 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.2518, allocations: 202.8 kB / 0.7956 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.2518, allocations: 8.328 kB / 0.7956 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.2519, allocations: 23.98 kB / 0.7956 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006302/0.2525, allocations: 312.2 kB / 0.7959 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2526, allocations: 0 / 0.7959 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.2526, allocations: 8 kB / 0.7959 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.2526, allocations: 4 kB / 0.796 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000645/0.2533, allocations: 267.6 kB / 0.7962 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.2549, allocations: 1.377 MB / 0.7976 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005859/0.2555, allocations: 194.5 kB / 0.7977 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.2557, allocations: 76.8 kB / 0.7978 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.2557, allocations: 4 kB / 0.7978 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.2558, allocations: 42.45 kB / 0.7979 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.2558, allocations: 4 kB / 0.7979 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.000695/0.2565, allocations: 241.3 kB / 0.7981 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.2565, allocations: 51.41 kB / 0.7981 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.2567, allocations: 160.9 kB / 0.7983 GB, free: 352 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.2567, allocations: 25.7 kB / 0.7983 GB, free: 320 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.293e-05/0.2568, allocations: 128 kB / 0.7984 GB, free: 188 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.2569, allocations: 67.09 kB / 0.7985 GB, free: 120 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.2569, allocations: 0 / 0.7985 GB, free: 120 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.257, allocations: 330.8 kB / 0.7988 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.2572, allocations: 68.41 kB / 0.7989 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.2574, allocations: 142.2 kB / 0.799 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.2577, allocations: 78.94 kB / 0.7991 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2577, allocations: 4 kB / 0.7991 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005347/0.2582, allocations: 249.3 kB / 0.7993 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.2583, allocations: 15.98 kB / 0.7994 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2583, allocations: 0 / 0.7994 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.2583, allocations: 4 kB / 0.7994 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.2586, allocations: 63.89 kB / 0.7994 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.2587, allocations: 4 kB / 0.7994 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.2589, allocations: 27.83 kB / 0.7994 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.2589, allocations: 8 kB / 0.7995 GB, free: 15.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.2591, allocations: 146.3 kB / 0.7996 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/0.2591, allocations: 15.81 kB / 0.7996 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000594/0.2597, allocations: 226.6 kB / 0.7998 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2597, allocations: 0 / 0.7998 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.2597, allocations: 3.953 kB / 0.7998 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.2598, allocations: 3.984 kB / 0.7998 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.26, allocations: 237.4 kB / 0.8001 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.26, allocations: 4 kB / 0.8001 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.2603, allocations: 55.95 kB / 0.8001 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2604, allocations: 3.938 kB / 0.8001 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.2604, allocations: 0 / 0.8001 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.2604, allocations: 7.953 kB / 0.8001 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2604, allocations: 3.938 kB / 0.8001 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005024/0.2609, allocations: 293.8 kB / 0.8004 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.714e-05/0.261, allocations: 108.9 kB / 0.8005 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.261, allocations: 0 / 0.8005 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.2613, allocations: 15.98 kB / 0.8005 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.2613, allocations: 15.94 kB / 0.8005 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.2613, allocations: 8 kB / 0.8006 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.582e-05/0.2614, allocations: 115.1 kB / 0.8007 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2614, allocations: 4 kB / 0.8007 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003517/0.2618, allocations: 60.06 kB / 0.8007 GB, free: 13.7 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.0008558/0.2627, allocations: 0.8528 MB / 0.8016 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004696/0.2631, allocations: 184.2 kB / 0.8017 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.2632, allocations: 0 / 0.8017 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.2634, allocations: 83.89 kB / 0.8018 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.2639, allocations: 61.03 kB / 0.8019 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.2659, allocations: 1.101 MB / 0.8029 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.2663, allocations: 0.7098 MB / 0.8036 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003678/0.2666, allocations: 53.86 kB / 0.8037 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.2668, allocations: 51.41 kB / 0.8037 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.2668, allocations: 0 / 0.8037 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.2843, allocations: 4.603 MB / 0.8082 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/0.2845, allocations: 219.3 kB / 0.8084 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.209, allocations: 0 / 0.8084 GB, free: 5.871 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) Environment - environmentSimulation: