Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.383/1.383, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 187.8 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.937/1.937, allocations: 205.4 MB / 0.5777 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008124/0.0008125, allocations: 92.41 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003442, allocations: 12.69 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2197, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003844/0.2236, allocations: 3.597 MB / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001956/0.2256, allocations: 2.233 MB / 0.906 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.2257, allocations: 0 / 0.906 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.226, allocations: 39.8 kB / 0.906 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.2262, allocations: 87.48 kB / 0.9061 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009764/0.2272, allocations: 400.6 kB / 0.9065 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.2274, allocations: 291.8 kB / 0.9068 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.475e-05/0.2275, allocations: 5.562 kB / 0.9068 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.2276, allocations: 115.6 kB / 0.9069 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.2277, allocations: 87.66 kB / 0.907 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.2278, allocations: 8 kB / 0.907 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005131/0.2283, allocations: 343.3 kB / 0.9073 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.113e-05/0.2284, allocations: 31.84 kB / 0.9073 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.2284, allocations: 57.64 kB / 0.9074 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.2287, allocations: 255.6 kB / 0.9076 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2287, allocations: 0 / 0.9076 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2287, allocations: 0 / 0.9076 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.2287, allocations: 4 kB / 0.9076 GB, free: 56.26 MB / 0.6042 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.0005465/0.2293, allocations: 475.1 kB / 0.9081 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2293, allocations: 12.03 kB / 0.9081 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/0.2294, allocations: 50.5 kB / 0.9082 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/0.2312, allocations: 183.6 kB / 0.9083 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.2314, allocations: 206.8 kB / 0.9085 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.2314, allocations: 12.33 kB / 0.9085 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.2315, allocations: 19.98 kB / 0.9086 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.232, allocations: 296.9 kB / 0.9088 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.232, allocations: 4 kB / 0.9088 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.2321, allocations: 4 kB / 0.9089 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.2321, allocations: 11.95 kB / 0.9089 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006135/0.2327, allocations: 263.5 kB / 0.9091 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.2339, allocations: 1.373 MB / 0.9105 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005713/0.2345, allocations: 195.9 kB / 0.9106 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.2347, allocations: 80.77 kB / 0.9107 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.2348, allocations: 3.906 kB / 0.9107 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.2348, allocations: 42.56 kB / 0.9108 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/0.2348, allocations: 0 / 0.9108 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0006827/0.2355, allocations: 240 kB / 0.911 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.2355, allocations: 55.34 kB / 0.911 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.715e-05/0.2356, allocations: 160.4 kB / 0.9112 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.2356, allocations: 33.7 kB / 0.9112 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.2357, allocations: 124 kB / 0.9113 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.2357, allocations: 59.19 kB / 0.9114 GB, free: 52.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.426e-05/0.2358, allocations: 12 kB / 0.9114 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.823e-05/0.2358, allocations: 322.8 kB / 0.9117 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.236, allocations: 64.42 kB / 0.9118 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.2362, allocations: 143 kB / 0.9119 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.2364, allocations: 79.83 kB / 0.912 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2364, allocations: 0 / 0.912 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005029/0.237, allocations: 252.1 kB / 0.9122 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.237, allocations: 8 kB / 0.9122 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.237, allocations: 4 kB / 0.9122 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.237, allocations: 4 kB / 0.9123 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.2373, allocations: 59.89 kB / 0.9123 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.2374, allocations: 15.86 kB / 0.9123 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.2376, allocations: 31.69 kB / 0.9124 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.2376, allocations: 15.92 kB / 0.9124 GB, free: 51.06 MB / 0.6042 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 9.27e-05/0.2377, allocations: 133.8 kB / 0.9125 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.2378, allocations: 15.86 kB / 0.9125 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000569/0.2384, allocations: 229.2 kB / 0.9127 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2384, allocations: 3.953 kB / 0.9127 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2384, allocations: 4 kB / 0.9127 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2384, allocations: 0 / 0.9127 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.2386, allocations: 241.4 kB / 0.913 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2386, allocations: 4 kB / 0.913 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.2389, allocations: 51.91 kB / 0.913 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2389, allocations: 0 / 0.913 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.2389, allocations: 11.94 kB / 0.913 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.239, allocations: 0 / 0.913 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.239, allocations: 0 / 0.913 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.2394, allocations: 287.3 kB / 0.9133 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.899e-05/0.2395, allocations: 108.8 kB / 0.9134 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.2395, allocations: 4 kB / 0.9134 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.2398, allocations: 15.98 kB / 0.9134 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.2398, allocations: 15.88 kB / 0.9134 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.2399, allocations: 11.98 kB / 0.9135 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.92e-05/0.2399, allocations: 114.7 kB / 0.9136 GB, free: 49.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2399, allocations: 4 kB / 0.9136 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003103/0.2403, allocations: 64.12 kB / 0.9136 GB, free: 49.67 MB / 0.6042 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.0007003/0.241, allocations: 0.8489 MB / 0.9145 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004573/0.2414, allocations: 184 kB / 0.9146 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2414, allocations: 0 / 0.9146 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.2416, allocations: 83.88 kB / 0.9147 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.2421, allocations: 72.12 kB / 0.9148 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.244, allocations: 1.099 MB / 0.9159 GB, free: 47.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.2441, allocations: 0.7137 MB / 0.9166 GB, free: 46.56 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003461/0.2445, allocations: 53.92 kB / 0.9166 GB, free: 46.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.2446, allocations: 43.42 kB / 0.9166 GB, free: 46.46 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2446, allocations: 4 kB / 0.9167 GB, free: 46.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01456/0.2592, allocations: 4.612 MB / 0.9212 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001398/0.2593, allocations: 229.6 kB / 0.9214 GB, free: 41.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/1.981, allocations: 0 / 0.9214 GB, free: 41.85 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)