Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",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.001119/0.001118, allocations: 106.3 kB / 16.4 MB, free: 6.492 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.00118/0.00118, allocations: 197.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7075/0.7075, allocations: 115.3 MB / 406.5 MB, free: 6.227 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 66.3 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1505, allocations: 76.19 MB / 0.6316 GB, free: 4.867 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01625/0.1668, allocations: 12.95 MB / 0.6443 GB, free: 7.852 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003231/0.1701, allocations: 2.671 MB / 0.6469 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.1703, allocations: 3.938 kB / 0.6469 GB, free: 5.168 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.1707, allocations: 43.73 kB / 0.6469 GB, free: 5.125 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003724/0.1711, allocations: 95.36 kB / 0.647 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.1725, allocations: 0.5023 MB / 0.6475 GB, free: 4.531 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003211/0.1728, allocations: 235.9 kB / 0.6478 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/0.1729, allocations: 9.562 kB / 0.6478 GB, free: 4.289 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008589/0.1815, allocations: 3.585 MB / 0.6513 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.1817, allocations: 91.59 kB / 0.6514 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.1817, allocations: 11.94 kB / 0.6514 GB, free: 0.582 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00264/0.1844, allocations: 1.074 MB / 0.6524 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.668e-05/0.1845, allocations: 47.7 kB / 0.6525 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.1846, allocations: 75.66 kB / 0.6525 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009164/0.1855, allocations: 371 kB / 0.6529 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1855, allocations: 0 / 0.6529 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1855, allocations: 0 / 0.6529 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.1855, allocations: 4 kB / 0.6529 GB, free: 15.03 MB / 0.4981 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.0008087/0.1864, allocations: 0.4992 MB / 0.6534 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.1864, allocations: 8.031 kB / 0.6534 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.244e-05/0.1865, allocations: 62.66 kB / 0.6534 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.1867, allocations: 24.75 kB / 0.6535 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.1869, allocations: 216.1 kB / 0.6537 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1869, allocations: 12.7 kB / 0.6537 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.187, allocations: 16.38 kB / 0.6537 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/0.1873, allocations: 248 kB / 0.6539 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1874, allocations: 0 / 0.6539 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.1874, allocations: 11.98 kB / 0.6539 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.1874, allocations: 4 kB / 0.654 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005048/0.1879, allocations: 439.3 kB / 0.6544 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.189, allocations: 0.9565 MB / 0.6553 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.1893, allocations: 164.4 kB / 0.6555 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.503e-05/0.1894, allocations: 64.88 kB / 0.6555 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/0.1907, allocations: 1.833 MB / 0.6573 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.1907, allocations: 38.5 kB / 0.6574 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.1907, allocations: 0 / 0.6574 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003226/0.1911, allocations: 155.9 kB / 0.6575 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.1911, allocations: 51.41 kB / 0.6575 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.1913, allocations: 172.9 kB / 0.6577 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.1913, allocations: 29.7 kB / 0.6577 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/0.1914, allocations: 139.7 kB / 0.6579 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.1914, allocations: 55.28 kB / 0.6579 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.931e-05/0.1915, allocations: 53.61 kB / 0.658 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1916, allocations: 326.8 kB / 0.6583 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.23e-05/0.1917, allocations: 35.98 kB / 0.6583 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.1918, allocations: 142.2 kB / 0.6585 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.1921, allocations: 200.1 kB / 0.6587 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1921, allocations: 8 kB / 0.6587 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003145/0.1924, allocations: 205.2 kB / 0.6589 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.1924, allocations: 8 kB / 0.6589 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.1924, allocations: 4.469 kB / 0.6589 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.1925, allocations: 11.88 kB / 0.6589 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.1926, allocations: 59.91 kB / 0.6589 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.1926, allocations: 8 kB / 0.6589 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.1928, allocations: 27.69 kB / 0.659 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.1928, allocations: 16 kB / 0.659 GB, free: 8.047 MB / 0.4981 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 0.0001194/0.1929, allocations: 133.7 kB / 0.6591 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.669e-05/0.193, allocations: 15.81 kB / 0.6591 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003204/0.1933, allocations: 154.8 kB / 0.6593 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.1933, allocations: 7.938 kB / 0.6593 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1933, allocations: 4 kB / 0.6593 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1934, allocations: 0 / 0.6593 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.1936, allocations: 217.5 kB / 0.6595 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1936, allocations: 0 / 0.6595 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.811e-05/0.1937, allocations: 23.98 kB / 0.6595 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1937, allocations: 0 / 0.6595 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1938, allocations: 12 kB / 0.6595 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.1938, allocations: 3.938 kB / 0.6595 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1938, allocations: 3.938 kB / 0.6595 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.194, allocations: 221.7 kB / 0.6597 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.266e-05/0.1941, allocations: 112.9 kB / 0.6599 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.1942, allocations: 7.984 kB / 0.6599 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.1943, allocations: 15.92 kB / 0.6599 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.1944, allocations: 11.98 kB / 0.6599 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.1944, allocations: 11.98 kB / 0.6599 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.701e-05/0.1945, allocations: 125.6 kB / 0.66 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1945, allocations: 0 / 0.66 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003856/0.1949, allocations: 79.92 kB / 0.6601 GB, free: 6.812 MB / 0.4981 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.0006934/0.1956, allocations: 0.8294 MB / 0.6609 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000254/0.1959, allocations: 119.7 kB / 0.661 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1959, allocations: 0 / 0.661 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.469e-05/0.1959, allocations: 50.62 kB / 0.6611 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.1964, allocations: 59.88 kB / 0.6611 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.1986, allocations: 2.041 MB / 0.6631 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.1989, allocations: 0.7128 MB / 0.6638 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001637/0.1991, allocations: 49.73 kB / 0.6639 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/0.1991, allocations: 43.42 kB / 0.6639 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1991, allocations: 0 / 0.6639 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.223, allocations: 5.541 MB / 0.6693 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.265/7.488, allocations: 16 kB / 0.6693 GB, free: 13.26 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)