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.001409/0.001409, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001669, allocations: 186.6 kB / 16.62 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.51/1.51, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.702/1.702, allocations: 292.3 MB / 0.549 GB, free: 12.8 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.001506/0.001506, allocations: 71.58 kB / 0.6718 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2243, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005352/0.2297, allocations: 4.041 MB / 0.7876 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002469/0.2322, allocations: 2.395 MB / 0.7899 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.361e-05/0.2323, allocations: 4 kB / 0.7899 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.2326, allocations: 47.67 kB / 0.79 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.2328, allocations: 103.3 kB / 0.7901 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.234, allocations: 0.505 MB / 0.7906 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.2343, allocations: 255.9 kB / 0.7908 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.2344, allocations: 9.562 kB / 0.7908 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.2346, allocations: 115.5 kB / 0.7909 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.2347, allocations: 87.67 kB / 0.791 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.2347, allocations: 8 kB / 0.791 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007898/0.2355, allocations: 443.3 kB / 0.7914 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.26e-05/0.2356, allocations: 35.91 kB / 0.7915 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.946e-05/0.2357, allocations: 79.59 kB / 0.7915 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005961/0.2363, allocations: 407.3 kB / 0.7919 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2363, allocations: 0 / 0.7919 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2363, allocations: 0 / 0.7919 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.2364, allocations: 0 / 0.7919 GB, free: 4.75 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.0007433/0.2371, allocations: 0.5031 MB / 0.7924 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.2372, allocations: 12.03 kB / 0.7924 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.136e-05/0.2372, allocations: 54.72 kB / 0.7925 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.2391, allocations: 176.5 kB / 0.7927 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.2395, allocations: 204.2 kB / 0.7928 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.2395, allocations: 16.7 kB / 0.7929 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.2396, allocations: 16.36 kB / 0.7929 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006357/0.2402, allocations: 312.2 kB / 0.7932 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2402, allocations: 4 kB / 0.7932 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.2403, allocations: 8 kB / 0.7932 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.2403, allocations: 4 kB / 0.7932 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007446/0.241, allocations: 263.6 kB / 0.7934 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.2425, allocations: 1.385 MB / 0.7948 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000662/0.2432, allocations: 194.4 kB / 0.795 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.2435, allocations: 76.81 kB / 0.7951 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.2435, allocations: 0 / 0.7951 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.2435, allocations: 42.5 kB / 0.7951 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.2435, allocations: 0 / 0.7951 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0007887/0.2443, allocations: 244 kB / 0.7953 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.2444, allocations: 55.41 kB / 0.7954 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.2445, allocations: 161.2 kB / 0.7955 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.2446, allocations: 25.7 kB / 0.7956 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.42e-05/0.2447, allocations: 140 kB / 0.7957 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.2447, allocations: 63.09 kB / 0.7958 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.17e-05/0.2448, allocations: 41.94 kB / 0.7958 GB, free: 488 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2449, allocations: 334.8 kB / 0.7961 GB, free: 144 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.2451, allocations: 64.42 kB / 0.7962 GB, free: 80 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.2454, allocations: 151.4 kB / 0.7963 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004785/0.2459, allocations: 213.3 kB / 0.7965 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2459, allocations: 0 / 0.7965 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000603/0.2465, allocations: 256.4 kB / 0.7968 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2465, allocations: 8.062 kB / 0.7968 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2466, allocations: 4 kB / 0.7968 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.2466, allocations: 4 kB / 0.7968 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.2469, allocations: 63.89 kB / 0.7968 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.247, allocations: 4 kB / 0.7968 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.2472, allocations: 27.83 kB / 0.7969 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.2472, allocations: 8 kB / 0.7969 GB, free: 15.29 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.0001205/0.2474, allocations: 145.6 kB / 0.797 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.2474, allocations: 15.81 kB / 0.797 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006401/0.2481, allocations: 218.7 kB / 0.7972 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2481, allocations: 7.984 kB / 0.7972 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.2481, allocations: 0 / 0.7972 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2481, allocations: 0 / 0.7972 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.2484, allocations: 241.3 kB / 0.7975 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2484, allocations: 0 / 0.7975 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.2487, allocations: 55.95 kB / 0.7975 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2487, allocations: 3.938 kB / 0.7975 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.2488, allocations: 0 / 0.7975 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2488, allocations: 0 / 0.7975 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2488, allocations: 4 kB / 0.7975 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005629/0.2494, allocations: 306 kB / 0.7978 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.2495, allocations: 108.9 kB / 0.7979 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.2495, allocations: 0 / 0.7979 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.2498, allocations: 15.98 kB / 0.798 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.2498, allocations: 11.98 kB / 0.798 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.2498, allocations: 12 kB / 0.798 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.757e-05/0.2499, allocations: 117.5 kB / 0.7981 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2499, allocations: 0 / 0.7981 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003768/0.2503, allocations: 68.06 kB / 0.7982 GB, free: 13.89 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.0008769/0.2512, allocations: 0.8598 MB / 0.799 GB, free: 13 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005404/0.2517, allocations: 184.3 kB / 0.7992 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2518, allocations: 4 kB / 0.7992 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.252, allocations: 87.89 kB / 0.7993 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/0.2525, allocations: 55.88 kB / 0.7993 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003071/0.2556, allocations: 2.148 MB / 0.8014 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.2559, allocations: 0.7172 MB / 0.8021 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002688/0.2561, allocations: 49.94 kB / 0.8022 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.2563, allocations: 47.41 kB / 0.8022 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.2563, allocations: 0 / 0.8022 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.2775, allocations: 5.05 MB / 0.8071 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.387, allocations: 336 / 0.8071 GB, free: 4.691 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)