Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",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.0009758/0.0009758, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.0009637/0.0009638, allocations: 187.4 kB / 16.25 MB, free: 6.145 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.236/1.236, allocations: 222.9 MB / 239.9 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001959/0.001958, allocations: 294.1 kB / 290.4 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8802/0.8802, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 89.73 kB / 0.5948 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1358, allocations: 86.98 MB / 0.6797 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002293/0.1382, allocations: 1.318 MB / 0.681 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002615/0.1408, allocations: 2.477 MB / 0.6834 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.1408, allocations: 4 kB / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.021e-05/0.1409, allocations: 3.938 kB / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.744e-05/0.1409, allocations: 0 / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005669/0.1415, allocations: 127.4 kB / 0.6836 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.594e-05/0.1416, allocations: 39.8 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.187e-05/0.1416, allocations: 7.984 kB / 0.6836 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.457e-05/0.1417, allocations: 11.98 kB / 0.6836 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.086e-05/0.1417, allocations: 19.92 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.767e-06/0.1417, allocations: 0 / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/0.142, allocations: 119.7 kB / 0.6838 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.142, allocations: 11.98 kB / 0.6838 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.1421, allocations: 15.92 kB / 0.6838 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.1423, allocations: 88.06 kB / 0.6839 GB, free: 12.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1423, allocations: 0 / 0.6839 GB, free: 12.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1423, allocations: 0 / 0.6839 GB, free: 12.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1423, allocations: 0 / 0.6839 GB, free: 12.73 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.0003365/0.1426, allocations: 351.5 kB / 0.6842 GB, free: 12.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.1427, allocations: 8.031 kB / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/0.1427, allocations: 30.75 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.1429, allocations: 20.83 kB / 0.6843 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.053e-05/0.143, allocations: 168.3 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.143, allocations: 4.375 kB / 0.6844 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.143, allocations: 4.375 kB / 0.6844 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.1431, allocations: 76.17 kB / 0.6845 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1432, allocations: 4 kB / 0.6845 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1432, allocations: 0 / 0.6845 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1432, allocations: 0 / 0.6845 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.015e-05/0.1432, allocations: 19.92 kB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.1437, allocations: 470.9 kB / 0.685 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.1439, allocations: 75.66 kB / 0.685 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.66e-05/0.1439, allocations: 26.72 kB / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.1439, allocations: 7.938 kB / 0.6851 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.1439, allocations: 34.56 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1439, allocations: 0 / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005338/0.1445, allocations: 306.2 kB / 0.6854 GB, free: 10.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.1445, allocations: 110.8 kB / 0.6855 GB, free: 10.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.244e-05/0.1446, allocations: 93.86 kB / 0.6856 GB, free: 10.65 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1446, allocations: 29.7 kB / 0.6856 GB, free: 10.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/0.1447, allocations: 88.03 kB / 0.6857 GB, free: 10.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.1447, allocations: 27.56 kB / 0.6857 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.1447, allocations: 29.86 kB / 0.6858 GB, free: 10.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.852e-05/0.1448, allocations: 318.8 kB / 0.6861 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.548e-05/0.1448, allocations: 15.98 kB / 0.6861 GB, free: 10.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.324e-05/0.1449, allocations: 49.09 kB / 0.6861 GB, free: 10.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.675e-05/0.145, allocations: 81.08 kB / 0.6862 GB, free: 9.961 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.145, allocations: 0 / 0.6862 GB, free: 9.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001214/0.1451, allocations: 94.14 kB / 0.6863 GB, free: 9.863 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1451, allocations: 8 kB / 0.6863 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1451, allocations: 0 / 0.6863 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1451, allocations: 0 / 0.6863 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.457e-05/0.1452, allocations: 32.05 kB / 0.6863 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1452, allocations: 0 / 0.6863 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.706e-05/0.1453, allocations: 8 kB / 0.6863 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.1453, allocations: 7.938 kB / 0.6864 GB, free: 9.809 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 6.435e-05/0.1454, allocations: 115.2 kB / 0.6865 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.1454, allocations: 3.906 kB / 0.6865 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.1455, allocations: 11.56 kB / 0.6865 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1455, allocations: 7.922 kB / 0.6865 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1455, allocations: 0 / 0.6865 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.1455, allocations: 8.062 kB / 0.6865 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.1458, allocations: 177.6 kB / 0.6867 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1458, allocations: 0 / 0.6867 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.219e-05/0.1459, allocations: 19.94 kB / 0.6867 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1459, allocations: 4 kB / 0.6867 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.1459, allocations: 0 / 0.6867 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1459, allocations: 0 / 0.6867 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1459, allocations: 7.984 kB / 0.6867 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.1461, allocations: 325.9 kB / 0.687 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.1462, allocations: 85.14 kB / 0.6871 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.1462, allocations: 4 kB / 0.6871 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.1464, allocations: 11.88 kB / 0.6871 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.1464, allocations: 11.92 kB / 0.6871 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.1464, allocations: 0 / 0.6871 GB, free: 8.938 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.272e-05/0.1464, allocations: 83.28 kB / 0.6872 GB, free: 8.855 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1465, allocations: 4 kB / 0.6872 GB, free: 8.852 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.1468, allocations: 12 kB / 0.6872 GB, free: 8.84 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0003992/0.1472, allocations: 0.8633 MB / 0.6881 GB, free: 7.945 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.1473, allocations: 47.95 kB / 0.6881 GB, free: 7.898 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1473, allocations: 0 / 0.6881 GB, free: 7.898 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.676e-05/0.1473, allocations: 19.92 kB / 0.6881 GB, free: 7.879 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.1477, allocations: 11.94 kB / 0.6881 GB, free: 7.867 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.1491, allocations: 1.708 MB / 0.6898 GB, free: 6.043 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.1493, allocations: 0.6846 MB / 0.6905 GB, free: 5.332 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.386e-05/0.1494, allocations: 7.984 kB / 0.6905 GB, free: 5.324 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.1494, allocations: 15.44 kB / 0.6905 GB, free: 5.309 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1494, allocations: 0 / 0.6905 GB, free: 5.309 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8266/0.976, allocations: 1.618 MB / 0.6921 GB, free: 3.902 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.9762, allocations: 249.3 kB / 0.6923 GB, free: 3.652 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.164/3.14, allocations: 2.031 kB / 0.6923 GB, free: 3.652 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)