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.001579/0.001579, allocations: 101.8 kB / 16.4 MB, free: 6.5 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.001209/0.001209, allocations: 195.9 kB / 17.34 MB, free: 5.742 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.453/1.453, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7378/0.7378, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.12 kB / 0.5573 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1513, allocations: 76.18 MB / 0.6316 GB, free: 4.855 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.02029/0.1716, allocations: 12.95 MB / 0.6443 GB, free: 7.844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00386/0.1755, allocations: 2.679 MB / 0.6469 GB, free: 5.156 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.1758, allocations: 0 / 0.6469 GB, free: 5.156 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004117/0.1762, allocations: 47.67 kB / 0.647 GB, free: 5.109 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005808/0.1769, allocations: 99.34 kB / 0.6471 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.1791, allocations: 0.4948 MB / 0.6475 GB, free: 4.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005739/0.1797, allocations: 239.9 kB / 0.6478 GB, free: 4.281 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.417e-05/0.1798, allocations: 9.562 kB / 0.6478 GB, free: 4.273 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01156/0.1914, allocations: 3.585 MB / 0.6513 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.1917, allocations: 95.59 kB / 0.6514 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/0.1917, allocations: 8 kB / 0.6514 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003389/0.1951, allocations: 1.073 MB / 0.6524 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.1953, allocations: 43.72 kB / 0.6525 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.1954, allocations: 75.66 kB / 0.6525 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.1966, allocations: 371 kB / 0.6529 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1966, allocations: 4 kB / 0.6529 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1966, allocations: 0 / 0.6529 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.1967, allocations: 0 / 0.6529 GB, free: 15.02 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.0009352/0.1976, allocations: 0.4992 MB / 0.6534 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.1977, allocations: 12.03 kB / 0.6534 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.8e-05/0.1977, allocations: 58.66 kB / 0.6534 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.198, allocations: 24.75 kB / 0.6535 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/0.1984, allocations: 216.1 kB / 0.6537 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.1984, allocations: 12.7 kB / 0.6537 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.1984, allocations: 12.38 kB / 0.6537 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.1989, allocations: 252 kB / 0.6539 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.1989, allocations: 4 kB / 0.6539 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.1989, allocations: 4 kB / 0.6539 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.199, allocations: 8 kB / 0.654 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005364/0.1995, allocations: 435.3 kB / 0.6544 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.201, allocations: 0.9566 MB / 0.6553 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.2013, allocations: 166.9 kB / 0.6555 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.2014, allocations: 60.89 kB / 0.6555 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001771/0.2032, allocations: 1.837 MB / 0.6573 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.2033, allocations: 38.56 kB / 0.6574 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 3.136e-06/0.2033, allocations: 0 / 0.6574 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0004127/0.2037, allocations: 149.3 kB / 0.6575 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.2038, allocations: 59.41 kB / 0.6576 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.204, allocations: 168.9 kB / 0.6577 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.204, allocations: 33.7 kB / 0.6577 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.2041, allocations: 139.7 kB / 0.6579 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/0.2042, allocations: 55.28 kB / 0.6579 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.2042, allocations: 49.61 kB / 0.658 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2044, allocations: 326.8 kB / 0.6583 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.845e-05/0.2045, allocations: 35.98 kB / 0.6583 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.2047, allocations: 146.1 kB / 0.6585 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.2049, allocations: 200.3 kB / 0.6587 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2049, allocations: 0 / 0.6587 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003597/0.2053, allocations: 209.2 kB / 0.6589 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.2053, allocations: 11.94 kB / 0.6589 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.2053, allocations: 4 kB / 0.6589 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.2054, allocations: 11.92 kB / 0.6589 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.2056, allocations: 56.33 kB / 0.6589 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.2056, allocations: 8 kB / 0.6589 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.2057, allocations: 27.69 kB / 0.659 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.2057, allocations: 16 kB / 0.659 GB, free: 8.035 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.0001348/0.2059, allocations: 133.7 kB / 0.6591 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.2059, allocations: 19.81 kB / 0.6591 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003265/0.2063, allocations: 157.4 kB / 0.6593 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.2063, allocations: 7.938 kB / 0.6593 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2063, allocations: 0 / 0.6593 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.2063, allocations: 4 kB / 0.6593 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.2066, allocations: 217.5 kB / 0.6595 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2066, allocations: 0 / 0.6595 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.839e-05/0.2067, allocations: 23.98 kB / 0.6595 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.2067, allocations: 0 / 0.6595 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.2067, allocations: 4 kB / 0.6595 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.2067, allocations: 7.938 kB / 0.6595 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2067, allocations: 0 / 0.6595 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.207, allocations: 223.2 kB / 0.6597 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.2071, allocations: 112.9 kB / 0.6599 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.2071, allocations: 8 kB / 0.6599 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.2073, allocations: 19.91 kB / 0.6599 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.2074, allocations: 11.98 kB / 0.6599 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.2074, allocations: 11.98 kB / 0.6599 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.892e-05/0.2075, allocations: 121.6 kB / 0.66 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2075, allocations: 0 / 0.66 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004753/0.208, allocations: 75.94 kB / 0.6601 GB, free: 6.805 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.001158/0.2092, allocations: 0.8372 MB / 0.6609 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003327/0.2095, allocations: 121.8 kB / 0.661 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.2095, allocations: 0 / 0.661 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.782e-05/0.2096, allocations: 43.92 kB / 0.6611 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.2102, allocations: 64.75 kB / 0.6611 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.2134, allocations: 2.043 MB / 0.6631 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007012/0.2142, allocations: 0.7128 MB / 0.6638 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003581/0.2146, allocations: 53.67 kB / 0.6639 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.2147, allocations: 47.42 kB / 0.6639 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of SimCode: time 2.434e-06/0.2147, allocations: 0 / 0.6639 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.2457, allocations: 5.526 MB / 0.6693 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.19, allocations: 13.69 kB / 0.6693 GB, free: 13.25 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)