Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.0007043/0.0007044, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.004859/0.004859, allocations: 171 kB / 16.27 MB, free: 6.332 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.261/1.261, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001673/0.001673, allocations: 274.1 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9099/0.9099, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004001, allocations: 22.72 kB / 0.5988 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1489, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001103/0.15, allocations: 0.9921 MB / 0.6862 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003093/0.1531, allocations: 2.876 MB / 0.689 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.826e-05/0.1532, allocations: 0 / 0.689 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.1532, allocations: 11.3 kB / 0.689 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.491e-05/0.1532, allocations: 0 / 0.689 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.1537, allocations: 91.61 kB / 0.6891 GB, free: 11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.951e-05/0.1537, allocations: 27.92 kB / 0.6891 GB, free: 10.97 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.1538, allocations: 8 kB / 0.6891 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004275/0.1542, allocations: 144.8 kB / 0.6893 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.238e-05/0.1543, allocations: 23.91 kB / 0.6893 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.1543, allocations: 4.625 kB / 0.6893 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.1544, allocations: 61.66 kB / 0.6893 GB, free: 10.74 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.1544, allocations: 7.875 kB / 0.6894 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.1545, allocations: 49.61 kB / 0.6894 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.1546, allocations: 63.81 kB / 0.6895 GB, free: 10.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1547, allocations: 0 / 0.6895 GB, free: 10.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1547, allocations: 4 kB / 0.6895 GB, free: 10.61 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1547, allocations: 0 / 0.6895 GB, free: 10.61 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003534/0.155, allocations: 339.4 kB / 0.6898 GB, free: 10.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1551, allocations: 8.031 kB / 0.6898 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.512e-05/0.1551, allocations: 34.75 kB / 0.6898 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.1552, allocations: 4.938 kB / 0.6898 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.261e-05/0.1553, allocations: 160.4 kB / 0.69 GB, free: 9.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.1553, allocations: 4.375 kB / 0.69 GB, free: 9.977 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.1553, allocations: 12.38 kB / 0.69 GB, free: 9.965 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.1554, allocations: 61.53 kB / 0.6901 GB, free: 9.898 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.1554, allocations: 0 / 0.6901 GB, free: 9.898 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1555, allocations: 4 kB / 0.6901 GB, free: 9.895 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1555, allocations: 4 kB / 0.6901 GB, free: 9.891 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.068e-05/0.1555, allocations: 19.95 kB / 0.6901 GB, free: 9.871 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.1557, allocations: 165.6 kB / 0.6903 GB, free: 9.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.71e-05/0.1558, allocations: 50.56 kB / 0.6903 GB, free: 9.602 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.93e-05/0.1558, allocations: 20.84 kB / 0.6903 GB, free: 9.578 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006072/0.1564, allocations: 0.5987 MB / 0.6909 GB, free: 8.871 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.1564, allocations: 34.56 kB / 0.6909 GB, free: 8.828 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1565, allocations: 0 / 0.6909 GB, free: 8.828 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005019/0.157, allocations: 302.1 kB / 0.6912 GB, free: 8.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.157, allocations: 59.39 kB / 0.6913 GB, free: 8.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.741e-05/0.1571, allocations: 101.8 kB / 0.6914 GB, free: 8.301 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.1571, allocations: 25.7 kB / 0.6914 GB, free: 8.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.1571, allocations: 80.14 kB / 0.6915 GB, free: 8.188 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.1572, allocations: 35.48 kB / 0.6915 GB, free: 8.152 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.1572, allocations: 17.72 kB / 0.6915 GB, free: 8.129 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.383e-05/0.1573, allocations: 318.8 kB / 0.6918 GB, free: 7.809 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.1573, allocations: 12 kB / 0.6918 GB, free: 7.797 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.476e-05/0.1574, allocations: 57.08 kB / 0.6919 GB, free: 7.723 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.186e-05/0.1575, allocations: 73.08 kB / 0.692 GB, free: 7.633 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1575, allocations: 4 kB / 0.692 GB, free: 7.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001252/0.1576, allocations: 97.45 kB / 0.6921 GB, free: 7.527 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1576, allocations: 4 kB / 0.6921 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1576, allocations: 4 kB / 0.6921 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1576, allocations: 0 / 0.6921 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.484e-05/0.1577, allocations: 19.94 kB / 0.6921 GB, free: 7.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.1577, allocations: 8.062 kB / 0.6921 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.743e-05/0.1578, allocations: 11.92 kB / 0.6921 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1578, allocations: 4 kB / 0.6921 GB, free: 7.477 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * 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.168e-05/0.1579, allocations: 115.2 kB / 0.6922 GB, free: 7.355 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.1579, allocations: 4 kB / 0.6922 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.1579, allocations: 7.969 kB / 0.6922 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.158, allocations: 0 / 0.6922 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.158, allocations: 0 / 0.6922 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.158, allocations: 3.938 kB / 0.6922 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.1582, allocations: 181.7 kB / 0.6924 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1582, allocations: 4.438 kB / 0.6924 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.162e-05/0.1583, allocations: 19.92 kB / 0.6924 GB, free: 7.094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1583, allocations: 0 / 0.6924 GB, free: 7.094 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1583, allocations: 4 kB / 0.6924 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1583, allocations: 0 / 0.6924 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1583, allocations: 0 / 0.6924 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.1585, allocations: 175.4 kB / 0.6926 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.1586, allocations: 77.11 kB / 0.6927 GB, free: 6.809 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.1586, allocations: 15.94 kB / 0.6927 GB, free: 6.793 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.962e-05/0.1587, allocations: 4.406 kB / 0.6927 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.1587, allocations: 7.938 kB / 0.6927 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1587, allocations: 0 / 0.6927 GB, free: 6.781 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.17e-05/0.1587, allocations: 87.27 kB / 0.6928 GB, free: 6.695 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1588, allocations: 0 / 0.6928 GB, free: 6.695 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.159, allocations: 12 kB / 0.6928 GB, free: 6.684 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * 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.0003643/0.1594, allocations: 0.7123 MB / 0.6935 GB, free: 5.941 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.215e-05/0.1595, allocations: 43.95 kB / 0.6935 GB, free: 5.898 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1595, allocations: 4 kB / 0.6935 GB, free: 5.895 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.066e-05/0.1595, allocations: 11.94 kB / 0.6936 GB, free: 5.883 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.1597, allocations: 12.94 kB / 0.6936 GB, free: 5.871 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.161, allocations: 1.583 MB / 0.6951 GB, free: 4.176 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.1612, allocations: 0.6848 MB / 0.6958 GB, free: 3.465 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.954e-05/0.1613, allocations: 7.984 kB / 0.6958 GB, free: 3.457 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.1613, allocations: 23.38 kB / 0.6958 GB, free: 3.434 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1613, allocations: 0 / 0.6958 GB, free: 3.434 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01059/0.1719, allocations: 1.472 MB / 0.6973 GB, free: 2.141 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/0.1721, allocations: 219.6 kB / 0.6975 GB, free: 1.887 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/1.723, allocations: 3.938 kB / 0.6975 GB, free: 1.883 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)