Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.196/1.196, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008365/0.0008365, allocations: 174.4 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.21/1.21, allocations: 205 MB / 0.576 GB, free: 21.05 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006288/0.0006288, allocations: 87.66 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003292, allocations: 8.938 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.141, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.003107/0.1442, allocations: 4.424 MB / 0.9005 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.1457, allocations: 2.691 MB / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.945e-05/0.1458, allocations: 0 / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.146, allocations: 39.73 kB / 0.9032 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.1461, allocations: 83.5 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005836/0.1467, allocations: 430.6 kB / 0.9037 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1469, allocations: 303.8 kB / 0.904 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.043e-05/0.1469, allocations: 17.83 kB / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.1471, allocations: 107.6 kB / 0.9041 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.149e-05/0.1472, allocations: 87.61 kB / 0.9042 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1472, allocations: 8 kB / 0.9042 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004026/0.1476, allocations: 347.2 kB / 0.9045 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.548e-05/0.1476, allocations: 35.89 kB / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.059e-05/0.1477, allocations: 79.59 kB / 0.9046 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.148, allocations: 343.1 kB / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1481, allocations: 0 / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1481, allocations: 4 kB / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.1481, allocations: 0 / 0.9049 GB, free: 59.11 MB / 0.6042 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.0004162/0.1485, allocations: 463.4 kB / 0.9054 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.699e-05/0.1485, allocations: 12.03 kB / 0.9054 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.1486, allocations: 58.61 kB / 0.9054 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.1487, allocations: 24.75 kB / 0.9055 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.1488, allocations: 212.1 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.1488, allocations: 8.703 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.1488, allocations: 20.38 kB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.1491, allocations: 245.6 kB / 0.9059 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1491, allocations: 3.938 kB / 0.9059 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.1491, allocations: 12 kB / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.1492, allocations: 4 kB / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.1495, allocations: 431.5 kB / 0.9064 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006623/0.1501, allocations: 1.004 MB / 0.9073 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.1503, allocations: 165.8 kB / 0.9075 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.17e-05/0.1504, allocations: 61.53 kB / 0.9076 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006747/0.1511, allocations: 1.825 MB / 0.9093 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.1511, allocations: 34.56 kB / 0.9094 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.1511, allocations: 0 / 0.9094 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0002241/0.1514, allocations: 149.3 kB / 0.9095 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.75e-05/0.1514, allocations: 55.39 kB / 0.9096 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.113e-05/0.1515, allocations: 170.1 kB / 0.9097 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1515, allocations: 29.7 kB / 0.9098 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.1515, allocations: 143.8 kB / 0.9099 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.1516, allocations: 55.2 kB / 0.9099 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.1516, allocations: 29.7 kB / 0.91 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.342e-05/0.1516, allocations: 322.8 kB / 0.9103 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.802e-05/0.1517, allocations: 35.98 kB / 0.9103 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.349e-05/0.1518, allocations: 133.7 kB / 0.9104 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.1519, allocations: 210.4 kB / 0.9106 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.1519, allocations: 0 / 0.9106 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002257/0.1522, allocations: 211.2 kB / 0.9108 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/0.1522, allocations: 12.06 kB / 0.9109 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.1522, allocations: 0 / 0.9109 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1522, allocations: 11.94 kB / 0.9109 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.1523, allocations: 55.91 kB / 0.9109 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1524, allocations: 11.94 kB / 0.9109 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.204e-05/0.1524, allocations: 31.69 kB / 0.911 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1525, allocations: 8 kB / 0.911 GB, free: 52.17 MB / 0.6042 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 6.018e-05/0.1525, allocations: 137.6 kB / 0.9111 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.1526, allocations: 19.91 kB / 0.9111 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.1528, allocations: 154.9 kB / 0.9113 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.1528, allocations: 7.938 kB / 0.9113 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.1528, allocations: 3.938 kB / 0.9113 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1528, allocations: 0 / 0.9113 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.153, allocations: 217.5 kB / 0.9115 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.153, allocations: 0 / 0.9115 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.099e-05/0.153, allocations: 27.98 kB / 0.9115 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1531, allocations: 0 / 0.9115 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1531, allocations: 4 kB / 0.9115 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1531, allocations: 7.938 kB / 0.9115 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1531, allocations: 4 kB / 0.9115 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.1532, allocations: 218.2 kB / 0.9117 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.1533, allocations: 108.8 kB / 0.9118 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.1533, allocations: 7.984 kB / 0.9119 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.1535, allocations: 11.88 kB / 0.9119 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.1535, allocations: 19.98 kB / 0.9119 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.1535, allocations: 4 kB / 0.9119 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.816e-05/0.1536, allocations: 120.9 kB / 0.912 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1536, allocations: 0 / 0.912 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000287/0.1539, allocations: 71.98 kB / 0.9121 GB, free: 50.95 MB / 0.6042 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.0004006/0.1543, allocations: 0.8177 MB / 0.9129 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001503/0.1544, allocations: 116.6 kB / 0.913 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1544, allocations: 4 kB / 0.913 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.73e-05/0.1545, allocations: 51.08 kB / 0.913 GB, free: 49.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.1548, allocations: 47.91 kB / 0.9131 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.1562, allocations: 2.082 MB / 0.9151 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.179e-05/0.1563, allocations: 0.709 MB / 0.9158 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001355/0.1564, allocations: 45.81 kB / 0.9158 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.1565, allocations: 43.42 kB / 0.9159 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.1565, allocations: 0 / 0.9159 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4661/0.6226, allocations: 4.81 MB / 0.9206 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.6228, allocations: 199.3 kB / 0.9208 GB, free: 41.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/2.861, allocations: 0 / 0.9208 GB, free: 41.91 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_WaterProperties.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)