Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterProperties.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.Examples.WaterProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterProperties",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.001148/0.001148, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001227/0.001227, allocations: 192.8 kB / 16.13 MB, free: 6.664 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.231/1.231, allocations: 205.1 MB / 222 MB, free: 4.957 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.485/1.485, allocations: 292.3 MB / 0.5484 GB, free: 13.69 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.002311/0.002311, allocations: 69.42 kB / 0.6709 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1673, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004611/0.172, allocations: 4.751 MB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002231/0.1742, allocations: 2.699 MB / 0.79 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.1743, allocations: 0 / 0.79 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.1745, allocations: 39.81 kB / 0.7901 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.1747, allocations: 91.47 kB / 0.7902 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006994/0.1754, allocations: 441.4 kB / 0.7906 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.1756, allocations: 303.9 kB / 0.7909 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.001e-05/0.1756, allocations: 5.562 kB / 0.7909 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.1758, allocations: 119.5 kB / 0.791 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.1759, allocations: 87.59 kB / 0.7911 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.1759, allocations: 8 kB / 0.7911 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005054/0.1764, allocations: 355.2 kB / 0.7914 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.1765, allocations: 43.83 kB / 0.7915 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.474e-05/0.1766, allocations: 79.64 kB / 0.7915 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004272/0.177, allocations: 347.4 kB / 0.7919 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.177, allocations: 0 / 0.7919 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.71e-07/0.177, allocations: 0 / 0.7919 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.177, allocations: 0 / 0.7919 GB, free: 4.574 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.0005667/0.1776, allocations: 0.4954 MB / 0.7924 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.1776, allocations: 8.031 kB / 0.7924 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.348e-05/0.1777, allocations: 58.73 kB / 0.7924 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.1778, allocations: 20.75 kB / 0.7924 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.178, allocations: 212.1 kB / 0.7926 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.178, allocations: 12.7 kB / 0.7927 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.178, allocations: 12.38 kB / 0.7927 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.1784, allocations: 251.9 kB / 0.7929 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1784, allocations: 4 kB / 0.7929 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.1784, allocations: 4 kB / 0.7929 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.1784, allocations: 15.98 kB / 0.7929 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004076/0.1788, allocations: 423.5 kB / 0.7933 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008861/0.1797, allocations: 0.9448 MB / 0.7943 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.18, allocations: 168.9 kB / 0.7944 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.255e-05/0.1801, allocations: 64.88 kB / 0.7945 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/0.1812, allocations: 1.825 MB / 0.7963 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.1812, allocations: 30.56 kB / 0.7963 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.1812, allocations: 0 / 0.7963 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0002749/0.1815, allocations: 159.4 kB / 0.7964 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.1815, allocations: 51.41 kB / 0.7965 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.1816, allocations: 164.5 kB / 0.7967 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1817, allocations: 33.7 kB / 0.7967 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.1817, allocations: 147.7 kB / 0.7968 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.1818, allocations: 51.19 kB / 0.7969 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.1818, allocations: 53.7 kB / 0.7969 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.045e-05/0.1819, allocations: 322.8 kB / 0.7972 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.145e-05/0.182, allocations: 39.97 kB / 0.7973 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.1821, allocations: 141.7 kB / 0.7974 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.1823, allocations: 208.3 kB / 0.7976 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1823, allocations: 0 / 0.7976 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002826/0.1826, allocations: 217.1 kB / 0.7978 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.1826, allocations: 4 kB / 0.7978 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1826, allocations: 7.938 kB / 0.7978 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1827, allocations: 15.88 kB / 0.7978 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.1828, allocations: 47.92 kB / 0.7979 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1828, allocations: 7.984 kB / 0.7979 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.1829, allocations: 32.16 kB / 0.7979 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.183, allocations: 16 kB / 0.7979 GB, free: 13.63 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 7.949e-05/0.183, allocations: 125.8 kB / 0.7981 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.576e-05/0.1831, allocations: 19.81 kB / 0.7981 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.1833, allocations: 151 kB / 0.7982 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.1834, allocations: 7.938 kB / 0.7982 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.1834, allocations: 0 / 0.7982 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1834, allocations: 0 / 0.7982 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.1836, allocations: 221.5 kB / 0.7984 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1836, allocations: 0 / 0.7984 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.216e-05/0.1837, allocations: 27.98 kB / 0.7985 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1837, allocations: 0 / 0.7985 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1837, allocations: 0 / 0.7985 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.197e-05/0.1837, allocations: 11.92 kB / 0.7985 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1837, allocations: 0 / 0.7985 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.1839, allocations: 222.8 kB / 0.7987 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.498e-05/0.184, allocations: 104.9 kB / 0.7988 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.184, allocations: 4 kB / 0.7988 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.1842, allocations: 19.92 kB / 0.7988 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.923e-05/0.1842, allocations: 7.984 kB / 0.7988 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.1842, allocations: 12 kB / 0.7988 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.783e-05/0.1843, allocations: 116 kB / 0.7989 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1843, allocations: 3.938 kB / 0.7989 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003182/0.1847, allocations: 83.92 kB / 0.799 GB, free: 12.42 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0005652/0.1852, allocations: 0.8253 MB / 0.7998 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001805/0.1854, allocations: 120 kB / 0.7999 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1854, allocations: 0 / 0.7999 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 5.989e-05/0.1855, allocations: 51.86 kB / 0.8 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.1859, allocations: 56.64 kB / 0.8 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.1876, allocations: 2.075 MB / 0.8021 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.1879, allocations: 0.7168 MB / 0.8028 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001511/0.188, allocations: 45.75 kB / 0.8028 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.1881, allocations: 43.42 kB / 0.8029 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.1881, allocations: 0 / 0.8029 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.229/5.418, allocations: 4.936 MB / 0.8077 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/5.418, allocations: 186.7 kB / 0.8079 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/7.023, allocations: 0 / 0.8079 GB, free: 3.184 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_WaterProperties.fmu > Buildings_8_Buildings.Media.Examples.WaterProperties.pipe 2>&1)