Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_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.001439/0.001439, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001544, allocations: 193.2 kB / 16.53 MB, free: 6.664 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 286.7 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8883/0.8883, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 98.77 kB / 0.5953 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1287, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.005294/0.134, allocations: 4.696 MB / 0.6849 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002531/0.1366, allocations: 2.702 MB / 0.6875 GB, free: 9.152 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.382e-05/0.1367, allocations: 0 / 0.6875 GB, free: 9.152 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.1369, allocations: 47.67 kB / 0.6875 GB, free: 9.105 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.1372, allocations: 95.36 kB / 0.6876 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.1383, allocations: 0.4968 MB / 0.6881 GB, free: 8.516 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.1385, allocations: 231.9 kB / 0.6883 GB, free: 8.289 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.1385, allocations: 9.562 kB / 0.6884 GB, free: 8.281 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.1387, allocations: 115.6 kB / 0.6885 GB, free: 8.168 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.1389, allocations: 91.61 kB / 0.6886 GB, free: 8.078 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.1389, allocations: 8 kB / 0.6886 GB, free: 8.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006384/0.1395, allocations: 363.4 kB / 0.6889 GB, free: 7.715 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.849e-05/0.1396, allocations: 47.75 kB / 0.689 GB, free: 7.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.132e-05/0.1397, allocations: 79.66 kB / 0.689 GB, free: 7.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005195/0.1402, allocations: 355.4 kB / 0.6894 GB, free: 7.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1402, allocations: 0 / 0.6894 GB, free: 7.242 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1403, allocations: 0 / 0.6894 GB, free: 7.242 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1403, allocations: 3.938 kB / 0.6894 GB, free: 7.238 MB / 494.1 MB 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.0006208/0.1409, allocations: 0.5011 MB / 0.6899 GB, free: 6.691 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.1409, allocations: 12.03 kB / 0.6899 GB, free: 6.68 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.797e-05/0.141, allocations: 50.73 kB / 0.6899 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.1411, allocations: 20.75 kB / 0.6899 GB, free: 6.602 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.1413, allocations: 212.1 kB / 0.6901 GB, free: 6.355 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.1414, allocations: 20.62 kB / 0.6902 GB, free: 6.336 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.1414, allocations: 12.38 kB / 0.6902 GB, free: 6.324 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.1417, allocations: 260.7 kB / 0.6904 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1417, allocations: 0 / 0.6904 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.1418, allocations: 8 kB / 0.6904 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.1418, allocations: 11.92 kB / 0.6904 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004226/0.1422, allocations: 431.3 kB / 0.6909 GB, free: 5.609 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.1432, allocations: 0.9604 MB / 0.6918 GB, free: 4.559 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.1435, allocations: 158.2 kB / 0.6919 GB, free: 4.398 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.335e-05/0.1436, allocations: 56.89 kB / 0.692 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/0.1448, allocations: 1.833 MB / 0.6938 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.1448, allocations: 34.5 kB / 0.6938 GB, free: 2.105 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.1448, allocations: 0 / 0.6938 GB, free: 2.105 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003786/0.1452, allocations: 143.1 kB / 0.694 GB, free: 1.961 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.1453, allocations: 59.39 kB / 0.694 GB, free: 1.891 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.1454, allocations: 173.1 kB / 0.6942 GB, free: 1.711 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.1454, allocations: 29.7 kB / 0.6942 GB, free: 1.676 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.1455, allocations: 139.8 kB / 0.6943 GB, free: 1.535 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.1456, allocations: 51.2 kB / 0.6944 GB, free: 1.484 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.278e-05/0.1456, allocations: 57.69 kB / 0.6944 GB, free: 1.422 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.712e-05/0.1457, allocations: 322.8 kB / 0.6948 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.209e-05/0.1458, allocations: 39.91 kB / 0.6948 GB, free: 1.059 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.1459, allocations: 137.7 kB / 0.6949 GB, free: 0.875 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.1461, allocations: 195.3 kB / 0.6951 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.1462, allocations: 4 kB / 0.6951 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003012/0.1465, allocations: 219.5 kB / 0.6953 GB, free: 424 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1465, allocations: 8 kB / 0.6953 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1465, allocations: 4 kB / 0.6953 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1465, allocations: 7.938 kB / 0.6953 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.1467, allocations: 48.39 kB / 0.6954 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.1467, allocations: 15.97 kB / 0.6954 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.1468, allocations: 31.69 kB / 0.6954 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.1468, allocations: 16 kB / 0.6954 GB, free: 292 kB / 494.1 MB 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 8.969e-05/0.1469, allocations: 133.7 kB / 0.6956 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.147, allocations: 15.81 kB / 0.6956 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.1473, allocations: 147.1 kB / 0.6957 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.1473, allocations: 7.938 kB / 0.6957 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1473, allocations: 3.984 kB / 0.6957 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1473, allocations: 4 kB / 0.6957 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.1475, allocations: 213.4 kB / 0.6959 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1476, allocations: 0 / 0.6959 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.115e-05/0.1477, allocations: 31.92 kB / 0.696 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1477, allocations: 0 / 0.696 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1477, allocations: 7.984 kB / 0.696 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1477, allocations: 3.938 kB / 0.696 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1477, allocations: 3.984 kB / 0.696 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.1479, allocations: 219.4 kB / 0.6962 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.753e-05/0.148, allocations: 112.8 kB / 0.6963 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.148, allocations: 0 / 0.6963 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.1482, allocations: 23.86 kB / 0.6963 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.1483, allocations: 7.984 kB / 0.6963 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.1483, allocations: 15.98 kB / 0.6964 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.801e-05/0.1484, allocations: 123.5 kB / 0.6965 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1484, allocations: 0 / 0.6965 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003597/0.1488, allocations: 71.94 kB / 0.6965 GB, free: 15.07 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.0006211/0.1494, allocations: 0.8385 MB / 0.6974 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002238/0.1496, allocations: 129.8 kB / 0.6975 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.1496, allocations: 0 / 0.6975 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.039e-05/0.1497, allocations: 39.98 kB / 0.6975 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.1502, allocations: 56.77 kB / 0.6976 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.1522, allocations: 2.037 MB / 0.6996 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.1525, allocations: 0.7168 MB / 0.7003 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000158/0.1526, allocations: 49.69 kB / 0.7003 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.1527, allocations: 43.42 kB / 0.7004 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1527, allocations: 4 kB / 0.7004 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3271/0.4798, allocations: 5.208 MB / 0.7054 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.212/7.692, allocations: 11.02 kB / 0.7055 GB, free: 5.836 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_WaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1)