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.0009232/0.0009231, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.001031/0.001031, allocations: 181 kB / 16.28 MB, free: 6.277 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.27/1.27, allocations: 205.4 MB / 222.5 MB, free: 5.793 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.489/1.489, allocations: 292.7 MB / 0.5503 GB, free: 14.48 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.0004612/0.0004613, allocations: 18.59 kB / 0.6744 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1721, allocations: 116.3 MB / 0.788 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004434/0.1766, allocations: 4.354 MB / 0.7922 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002557/0.1791, allocations: 2.664 MB / 0.7948 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.778e-05/0.1792, allocations: 0 / 0.7948 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.1795, allocations: 43.73 kB / 0.7949 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.1797, allocations: 87.48 kB / 0.795 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009761/0.1807, allocations: 443.3 kB / 0.7954 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.181, allocations: 303.8 kB / 0.7957 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.181, allocations: 13.56 kB / 0.7957 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.1812, allocations: 107.6 kB / 0.7958 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.1813, allocations: 95.59 kB / 0.7959 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.1814, allocations: 8 kB / 0.7959 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006043/0.182, allocations: 347.2 kB / 0.7962 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.182, allocations: 39.83 kB / 0.7963 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.939e-05/0.1821, allocations: 109.3 kB / 0.7964 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000494/0.1826, allocations: 343.4 kB / 0.7967 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1827, allocations: 4 kB / 0.7967 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1827, allocations: 0 / 0.7967 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.1827, allocations: 0 / 0.7967 GB, free: 2.562 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.0005814/0.1833, allocations: 463.3 kB / 0.7971 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1833, allocations: 8.031 kB / 0.7971 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.109e-05/0.1834, allocations: 58.67 kB / 0.7972 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.1835, allocations: 20.75 kB / 0.7972 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.1837, allocations: 216.1 kB / 0.7974 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1837, allocations: 16.7 kB / 0.7974 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.1837, allocations: 20.38 kB / 0.7975 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003209/0.1841, allocations: 247.9 kB / 0.7977 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1841, allocations: 3.938 kB / 0.7977 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.1841, allocations: 8 kB / 0.7977 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.1841, allocations: 4 kB / 0.7977 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.1846, allocations: 423.5 kB / 0.7981 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009731/0.1856, allocations: 0.9488 MB / 0.799 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.1858, allocations: 165.9 kB / 0.7992 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.83e-05/0.1859, allocations: 60.88 kB / 0.7993 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/0.1871, allocations: 1.833 MB / 0.8011 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.1871, allocations: 42.56 kB / 0.8011 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.1872, allocations: 0 / 0.8011 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0002811/0.1874, allocations: 137.5 kB / 0.8012 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.1875, allocations: 55.41 kB / 0.8013 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.1876, allocations: 171.2 kB / 0.8014 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.1876, allocations: 33.58 kB / 0.8015 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.1877, allocations: 147.8 kB / 0.8016 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.379e-05/0.1878, allocations: 59.19 kB / 0.8017 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/0.1878, allocations: 25.72 kB / 0.8017 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.273e-05/0.1879, allocations: 326.8 kB / 0.802 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.188, allocations: 39.98 kB / 0.802 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.1881, allocations: 137.7 kB / 0.8022 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.1883, allocations: 204.6 kB / 0.8024 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1883, allocations: 0 / 0.8024 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002898/0.1886, allocations: 209.2 kB / 0.8026 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1886, allocations: 8.469 kB / 0.8026 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1886, allocations: 8 kB / 0.8026 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1887, allocations: 7.938 kB / 0.8026 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.1888, allocations: 51.91 kB / 0.8026 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.1888, allocations: 7.938 kB / 0.8027 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.189, allocations: 31.69 kB / 0.8027 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.189, allocations: 16 kB / 0.8027 GB, free: 11.68 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 9.082e-05/0.1891, allocations: 129.8 kB / 0.8028 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.1891, allocations: 15.81 kB / 0.8028 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.1894, allocations: 155 kB / 0.803 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.1894, allocations: 7.938 kB / 0.803 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1894, allocations: 0 / 0.803 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1894, allocations: 0 / 0.803 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.1896, allocations: 221.4 kB / 0.8032 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1897, allocations: 0 / 0.8032 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.506e-05/0.1897, allocations: 31.92 kB / 0.8032 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1898, allocations: 0 / 0.8032 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.1898, allocations: 4 kB / 0.8032 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.1898, allocations: 3.938 kB / 0.8032 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1898, allocations: 4 kB / 0.8032 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.19, allocations: 214.8 kB / 0.8034 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.944e-05/0.1901, allocations: 112.9 kB / 0.8036 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.1901, allocations: 4 kB / 0.8036 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.1903, allocations: 7.938 kB / 0.8036 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.1903, allocations: 15.92 kB / 0.8036 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.1903, allocations: 15.98 kB / 0.8036 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.978e-05/0.1904, allocations: 123.9 kB / 0.8037 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1904, allocations: 0 / 0.8037 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003442/0.1908, allocations: 75.94 kB / 0.8038 GB, free: 10.46 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.000608/0.1914, allocations: 0.8331 MB / 0.8046 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001884/0.1916, allocations: 111.8 kB / 0.8047 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1916, allocations: 4.938 kB / 0.8047 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.329e-05/0.1917, allocations: 47.86 kB / 0.8048 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.1921, allocations: 58.28 kB / 0.8048 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.1942, allocations: 2.118 MB / 0.8069 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.1945, allocations: 0.709 MB / 0.8076 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001683/0.1946, allocations: 49.8 kB / 0.8076 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.659e-05/0.1947, allocations: 47.42 kB / 0.8077 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.1947, allocations: 0 / 0.8077 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.262/1.456, allocations: 4.859 MB / 0.8124 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/1.457, allocations: 193.9 kB / 0.8126 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/3.58, allocations: 0 / 0.8126 GB, free: 1.281 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)