Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008127/0.008127, allocations: 170.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8634/0.8634, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 223.2 MB / 406.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001133, allocations: 105.1 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003871, allocations: 8 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5847/0.5852, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8446/1.43, allocations: 324.7 MB / 0.9666 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/1.43, allocations: 88.81 kB / 0.9667 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02048/1.451, allocations: 8.313 MB / 0.9748 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.224e-06/1.451, allocations: 0 / 0.9748 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.622e-06/1.451, allocations: 0 / 0.9748 GB, free: 9.125 MB / 0.6198 GB 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.0004283/1.451, allocations: 359 kB / 0.9752 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/1.451, allocations: 8.031 kB / 0.9752 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.733e-05/1.451, allocations: 38.5 kB / 0.9752 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002058/1.451, allocations: 19.7 kB / 0.9752 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/1.452, allocations: 167 kB / 0.9754 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/1.452, allocations: 4 kB / 0.9754 GB, free: 8.453 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/1.452, allocations: 7.562 kB / 0.9754 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/1.452, allocations: 67.38 kB / 0.9755 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/1.452, allocations: 4 kB / 0.9755 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/1.452, allocations: 0 / 0.9755 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/1.452, allocations: 11.92 kB / 0.9755 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.218e-05/1.452, allocations: 8 kB / 0.9755 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006774/1.453, allocations: 473.9 kB / 0.9759 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/1.453, allocations: 75.34 kB / 0.976 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/1.453, allocations: 0 / 0.976 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/1.453, allocations: 34.62 kB / 0.976 GB, free: 7.699 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/1.453, allocations: 4 kB / 0.976 GB, free: 7.695 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0007306/1.454, allocations: 300.9 kB / 0.9763 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.944e-05/1.454, allocations: 106.8 kB / 0.9764 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.648e-05/1.454, allocations: 96.86 kB / 0.9765 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/1.454, allocations: 25.7 kB / 0.9765 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/1.454, allocations: 92.11 kB / 0.9766 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/1.454, allocations: 27.31 kB / 0.9767 GB, free: 7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/1.454, allocations: 0 / 0.9767 GB, free: 7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.454, allocations: 322.5 kB / 0.977 GB, free: 6.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/1.454, allocations: 11.94 kB / 0.977 GB, free: 6.668 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-05/1.454, allocations: 48.83 kB / 0.977 GB, free: 6.609 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.407e-05/1.454, allocations: 27.42 kB / 0.977 GB, free: 6.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/1.454, allocations: 0 / 0.977 GB, free: 6.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001484/1.454, allocations: 85.06 kB / 0.9771 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/1.454, allocations: 15.92 kB / 0.9771 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.454, allocations: 0 / 0.9771 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/1.454, allocations: 4 kB / 0.9771 GB, free: 6.492 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.225e-05/1.455, allocations: 20.06 kB / 0.9772 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/1.455, allocations: 4 kB / 0.9772 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.167e-05/1.455, allocations: 11.89 kB / 0.9772 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/1.455, allocations: 7.938 kB / 0.9772 GB, free: 6.453 MB / 0.6198 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000107/1.455, allocations: 117.6 kB / 0.9773 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/1.455, allocations: 7.906 kB / 0.9773 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/1.455, allocations: 7.859 kB / 0.9773 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.455, allocations: 0 / 0.9773 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1.455, allocations: 4 kB / 0.9773 GB, free: 6.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/1.455, allocations: 4 kB / 0.9773 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/1.455, allocations: 181.5 kB / 0.9775 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.455, allocations: 0 / 0.9775 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.947e-05/1.455, allocations: 23.92 kB / 0.9775 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/1.455, allocations: 3.984 kB / 0.9775 GB, free: 6.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/1.455, allocations: 0 / 0.9775 GB, free: 6.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/1.455, allocations: 4 kB / 0.9775 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.455, allocations: 0 / 0.9775 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/1.456, allocations: 356.6 kB / 0.9779 GB, free: 5.703 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.557e-05/1.456, allocations: 81.11 kB / 0.9779 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/1.456, allocations: 7.938 kB / 0.978 GB, free: 5.602 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/1.456, allocations: 4.094 kB / 0.978 GB, free: 5.598 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/1.456, allocations: 11.95 kB / 0.978 GB, free: 5.586 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/1.456, allocations: 4 kB / 0.978 GB, free: 5.582 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.54e-05/1.456, allocations: 87.02 kB / 0.9781 GB, free: 5.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/1.456, allocations: 0 / 0.9781 GB, free: 5.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003099/1.456, allocations: 12 kB / 0.9781 GB, free: 5.488 MB / 0.6198 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007665/1.457, allocations: 1.034 MB / 0.9791 GB, free: 4.438 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001406/1.457, allocations: 43.67 kB / 0.9791 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.457, allocations: 0 / 0.9791 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.003e-05/1.457, allocations: 19.75 kB / 0.9791 GB, free: 4.387 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/1.458, allocations: 15.61 kB / 0.9791 GB, free: 4.375 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/1.459, allocations: 1.429 MB / 0.9805 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/1.46, allocations: 0.6866 MB / 0.9812 GB, free: 2.191 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.58e-05/1.46, allocations: 16.06 kB / 0.9812 GB, free: 2.176 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/1.46, allocations: 14.94 kB / 0.9812 GB, free: 2.164 MB / 0.6198 GB Notification: Performance of SimCode: time 3.2e-07/1.46, allocations: 0 / 0.9812 GB, free: 2.164 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/1.474, allocations: 1.439 MB / 0.9827 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/1.474, allocations: 205.9 kB / 0.9828 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/3.39, allocations: 4 kB / 0.9829 GB, free: 0.6641 MB / 0.6198 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)