Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties",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.001181/0.001181, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001213/0.001213, allocations: 197.6 kB / 16.14 MB, free: 6.66 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.23/1.23, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001924/0.001924, allocations: 278.9 kB / 290.2 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8719/0.8719, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 93.22 kB / 0.5946 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1326, allocations: 86.99 MB / 0.6795 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.005565/0.1382, allocations: 4.467 MB / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002557/0.1408, allocations: 2.71 MB / 0.6865 GB, free: 9.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.701e-05/0.1409, allocations: 0 / 0.6865 GB, free: 9.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.1412, allocations: 43.8 kB / 0.6866 GB, free: 9.867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.1415, allocations: 91.48 kB / 0.6867 GB, free: 9.777 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.1425, allocations: 448.9 kB / 0.6871 GB, free: 9.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.1429, allocations: 307.8 kB / 0.6874 GB, free: 9.039 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.232e-05/0.1429, allocations: 13.56 kB / 0.6874 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009091/0.1438, allocations: 403 kB / 0.6878 GB, free: 8.633 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.144, allocations: 99.58 kB / 0.6879 GB, free: 8.535 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.144, allocations: 8 kB / 0.6879 GB, free: 8.527 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000894/0.1449, allocations: 0.4912 MB / 0.6884 GB, free: 8.035 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.081e-05/0.145, allocations: 31.89 kB / 0.6884 GB, free: 8.004 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.98e-05/0.1451, allocations: 71.67 kB / 0.6885 GB, free: 7.934 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005725/0.1457, allocations: 359 kB / 0.6888 GB, free: 7.582 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1457, allocations: 0 / 0.6888 GB, free: 7.582 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1457, allocations: 0 / 0.6888 GB, free: 7.582 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1457, allocations: 0 / 0.6888 GB, free: 7.582 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.0006531/0.1463, allocations: 0.5031 MB / 0.6893 GB, free: 7.031 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.1464, allocations: 11.97 kB / 0.6893 GB, free: 7.02 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.959e-05/0.1464, allocations: 50.73 kB / 0.6894 GB, free: 6.961 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.1466, allocations: 20.75 kB / 0.6894 GB, free: 6.941 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.1468, allocations: 220 kB / 0.6896 GB, free: 6.688 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.1468, allocations: 16.69 kB / 0.6896 GB, free: 6.672 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.1468, allocations: 12.38 kB / 0.6896 GB, free: 6.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.1472, allocations: 249.5 kB / 0.6899 GB, free: 6.395 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1472, allocations: 3.938 kB / 0.6899 GB, free: 6.391 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.1472, allocations: 12 kB / 0.6899 GB, free: 6.379 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.1473, allocations: 4 kB / 0.6899 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.1477, allocations: 431.5 kB / 0.6903 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009297/0.1486, allocations: 0.9999 MB / 0.6913 GB, free: 4.859 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.1489, allocations: 159.7 kB / 0.6914 GB, free: 4.695 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.548e-05/0.149, allocations: 70.19 kB / 0.6915 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/0.1502, allocations: 1.821 MB / 0.6933 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.1502, allocations: 38.56 kB / 0.6933 GB, free: 2.398 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.1502, allocations: 0 / 0.6933 GB, free: 2.398 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003017/0.1505, allocations: 151.7 kB / 0.6934 GB, free: 2.246 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.1506, allocations: 55.41 kB / 0.6935 GB, free: 2.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.1507, allocations: 168.8 kB / 0.6937 GB, free: 2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.1507, allocations: 29.7 kB / 0.6937 GB, free: 1.965 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.31e-05/0.1508, allocations: 147.8 kB / 0.6938 GB, free: 1.816 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.1508, allocations: 43.3 kB / 0.6939 GB, free: 1.773 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.1509, allocations: 57.61 kB / 0.6939 GB, free: 1.711 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.151, allocations: 326.8 kB / 0.6942 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.338e-05/0.1511, allocations: 35.97 kB / 0.6943 GB, free: 1.348 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.1512, allocations: 139.5 kB / 0.6944 GB, free: 1.164 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.1514, allocations: 197.5 kB / 0.6946 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1514, allocations: 0 / 0.6946 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002993/0.1517, allocations: 218.9 kB / 0.6948 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1517, allocations: 4.469 kB / 0.6948 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1517, allocations: 11.98 kB / 0.6948 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1518, allocations: 11.94 kB / 0.6948 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.1519, allocations: 47.92 kB / 0.6949 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.1519, allocations: 11.92 kB / 0.6949 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.1521, allocations: 23.75 kB / 0.6949 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.1521, allocations: 16 kB / 0.6949 GB, free: 0.5781 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 9.111e-05/0.1522, allocations: 137.6 kB / 0.6951 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.1522, allocations: 11.91 kB / 0.6951 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.1525, allocations: 162.9 kB / 0.6952 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.1525, allocations: 3.938 kB / 0.6952 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1525, allocations: 7.938 kB / 0.6952 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1526, allocations: 0 / 0.6952 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.1528, allocations: 213.5 kB / 0.6954 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1528, allocations: 7.969 kB / 0.6954 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.597e-05/0.1529, allocations: 28 kB / 0.6955 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1529, allocations: 0 / 0.6955 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1529, allocations: 3.984 kB / 0.6955 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1529, allocations: 7.938 kB / 0.6955 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1529, allocations: 4 kB / 0.6955 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.1531, allocations: 221.1 kB / 0.6957 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/0.1532, allocations: 108.8 kB / 0.6958 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.1532, allocations: 4 kB / 0.6958 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.1535, allocations: 19.92 kB / 0.6958 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.1535, allocations: 11.98 kB / 0.6958 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.1535, allocations: 11.98 kB / 0.6958 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.69e-05/0.1536, allocations: 123.2 kB / 0.696 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1536, allocations: 0 / 0.696 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003546/0.154, allocations: 72 kB / 0.696 GB, free: 15.35 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.0006061/0.1546, allocations: 0.8316 MB / 0.6968 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.1548, allocations: 111.8 kB / 0.697 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1548, allocations: 0 / 0.697 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.192e-05/0.1549, allocations: 44.86 kB / 0.697 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.1553, allocations: 59.83 kB / 0.6971 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.1572, allocations: 2.089 MB / 0.6991 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.1574, allocations: 0.7092 MB / 0.6998 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001708/0.1576, allocations: 61.59 kB / 0.6998 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.786e-05/0.1577, allocations: 47.42 kB / 0.6999 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1577, allocations: 0 / 0.6999 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.731/1.889, allocations: 4.927 MB / 0.7047 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/1.889, allocations: 223.7 kB / 0.7049 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/3.592, allocations: 3.938 kB / 0.7049 GB, free: 6.152 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)