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.000942/0.000942, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00155/0.001549, allocations: 191.3 kB / 16.25 MB, free: 6.633 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.29/1.29, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00219/0.00219, allocations: 282.8 kB / 290.3 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8919/0.8919, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 95.02 kB / 0.5948 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1274, allocations: 86.99 MB / 0.6797 GB, free: 1 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.004839/0.1323, allocations: 4.732 MB / 0.6843 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.1346, allocations: 2.694 MB / 0.687 GB, free: 9.555 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.754e-05/0.1347, allocations: 0 / 0.687 GB, free: 9.555 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.1349, allocations: 35.81 kB / 0.687 GB, free: 9.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.1351, allocations: 99.41 kB / 0.6871 GB, free: 9.422 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008363/0.1359, allocations: 468 kB / 0.6876 GB, free: 8.969 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.1361, allocations: 228 kB / 0.6878 GB, free: 8.746 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.561e-05/0.1362, allocations: 9.562 kB / 0.6878 GB, free: 8.738 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.1363, allocations: 119.5 kB / 0.6879 GB, free: 8.621 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.1365, allocations: 103.6 kB / 0.688 GB, free: 8.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.1365, allocations: 8 kB / 0.688 GB, free: 8.512 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005072/0.137, allocations: 367.2 kB / 0.6883 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.542e-05/0.1371, allocations: 43.83 kB / 0.6884 GB, free: 8.109 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.847e-05/0.1371, allocations: 79.64 kB / 0.6885 GB, free: 8.031 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004421/0.1376, allocations: 359.4 kB / 0.6888 GB, free: 7.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.1376, allocations: 0 / 0.6888 GB, free: 7.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.031e-06/0.1376, allocations: 4 kB / 0.6888 GB, free: 7.676 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.1376, allocations: 0 / 0.6888 GB, free: 7.676 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.0005858/0.1382, allocations: 0.5031 MB / 0.6893 GB, free: 7.125 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.1382, allocations: 12.03 kB / 0.6893 GB, free: 7.113 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.991e-05/0.1383, allocations: 54.67 kB / 0.6894 GB, free: 7.051 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.1384, allocations: 24.75 kB / 0.6894 GB, free: 7.027 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.1386, allocations: 212.2 kB / 0.6896 GB, free: 6.781 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1386, allocations: 8.703 kB / 0.6896 GB, free: 6.773 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.1387, allocations: 16.38 kB / 0.6896 GB, free: 6.758 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.139, allocations: 256.6 kB / 0.6899 GB, free: 6.488 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.139, allocations: 7.938 kB / 0.6899 GB, free: 6.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.139, allocations: 4 kB / 0.6899 GB, free: 6.477 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.1391, allocations: 15.98 kB / 0.6899 GB, free: 6.461 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.1395, allocations: 431.3 kB / 0.6903 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000911/0.1404, allocations: 0.9487 MB / 0.6912 GB, free: 5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.1406, allocations: 160.4 kB / 0.6914 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.496e-05/0.1407, allocations: 56.89 kB / 0.6914 GB, free: 4.777 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/0.1418, allocations: 1.829 MB / 0.6932 GB, free: 2.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.1419, allocations: 38.56 kB / 0.6933 GB, free: 2.543 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.1419, allocations: 3.938 kB / 0.6933 GB, free: 2.539 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002753/0.1422, allocations: 139.6 kB / 0.6934 GB, free: 2.398 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.1422, allocations: 59.41 kB / 0.6934 GB, free: 2.328 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.1423, allocations: 172.8 kB / 0.6936 GB, free: 2.148 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.1423, allocations: 33.64 kB / 0.6936 GB, free: 2.109 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.1424, allocations: 135.8 kB / 0.6938 GB, free: 1.973 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.1424, allocations: 59.19 kB / 0.6938 GB, free: 1.914 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-05/0.1425, allocations: 49.7 kB / 0.6939 GB, free: 1.859 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.625e-05/0.1426, allocations: 322.8 kB / 0.6942 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.863e-05/0.1427, allocations: 31.98 kB / 0.6942 GB, free: 1.504 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.1428, allocations: 143.5 kB / 0.6944 GB, free: 1.316 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.143, allocations: 207 kB / 0.6946 GB, free: 1.066 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.143, allocations: 0 / 0.6946 GB, free: 1.066 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002879/0.1433, allocations: 217.1 kB / 0.6948 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1433, allocations: 6.188 kB / 0.6948 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1433, allocations: 4 kB / 0.6948 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1433, allocations: 7.938 kB / 0.6948 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.1435, allocations: 56.39 kB / 0.6948 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1435, allocations: 11.94 kB / 0.6948 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.1436, allocations: 31.67 kB / 0.6949 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.1437, allocations: 12 kB / 0.6949 GB, free: 0.7227 MB / 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.694e-05/0.1438, allocations: 129.7 kB / 0.695 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.1438, allocations: 15.81 kB / 0.695 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.1441, allocations: 156.8 kB / 0.6952 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.1441, allocations: 3.938 kB / 0.6952 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1441, allocations: 11.98 kB / 0.6952 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1441, allocations: 4 kB / 0.6952 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.1443, allocations: 213.5 kB / 0.6954 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1443, allocations: 0 / 0.6954 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.454e-05/0.1444, allocations: 27.92 kB / 0.6954 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1444, allocations: 0 / 0.6954 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1444, allocations: 4 kB / 0.6954 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1444, allocations: 3.938 kB / 0.6954 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1444, allocations: 7.984 kB / 0.6954 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.1447, allocations: 211.4 kB / 0.6956 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.863e-05/0.1448, allocations: 108.9 kB / 0.6957 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.1448, allocations: 11.94 kB / 0.6958 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.145, allocations: 15.92 kB / 0.6958 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.145, allocations: 19.86 kB / 0.6958 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.145, allocations: 15.98 kB / 0.6958 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.922e-05/0.1451, allocations: 115.2 kB / 0.6959 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1451, allocations: 7.938 kB / 0.6959 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003463/0.1455, allocations: 76 kB / 0.696 GB, free: 15.5 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.0005899/0.1461, allocations: 0.8309 MB / 0.6968 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.1463, allocations: 123.7 kB / 0.6969 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1463, allocations: 0 / 0.6969 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.193e-05/0.1464, allocations: 45.89 kB / 0.697 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.1468, allocations: 56.83 kB / 0.697 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.1486, allocations: 2.075 MB / 0.699 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.1488, allocations: 0.7206 MB / 0.6997 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001555/0.149, allocations: 45.75 kB / 0.6998 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/0.149, allocations: 47.42 kB / 0.6998 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.149, allocations: 4 kB / 0.6998 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.272/1.421, allocations: 5.124 MB / 0.7048 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000247/1.421, allocations: 195.4 kB / 0.705 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.816/4.237, allocations: 3.938 kB / 0.705 GB, free: 6.102 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)