Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_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.006259/0.006259, allocations: 99.5 kB / 15.73 MB, free: 6.441 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.001651/0.001651, allocations: 193.3 kB / 16.67 MB, free: 6.352 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9756/0.9756, allocations: 135.5 MB / 426.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002819/0.00282, allocations: 59.91 kB / 0.5857 GB, free: 3.254 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3809, allocations: 81.03 MB / 0.6649 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001829/0.3828, allocations: 1.256 MB / 0.6661 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002119/0.3849, allocations: 2.498 MB / 0.6685 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.425e-05/0.385, allocations: 0 / 0.6685 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.385, allocations: 1.562 kB / 0.6685 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.955e-05/0.385, allocations: 11.91 kB / 0.6685 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.3855, allocations: 127.7 kB / 0.6687 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.322e-05/0.3855, allocations: 41.11 kB / 0.6687 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.991e-05/0.3856, allocations: 6.656 kB / 0.6687 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.488e-05/0.3856, allocations: 17.2 kB / 0.6687 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.245e-05/0.3857, allocations: 22.62 kB / 0.6687 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.3857, allocations: 2.25 kB / 0.6687 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002485/0.3859, allocations: 108.9 kB / 0.6688 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.386, allocations: 14.22 kB / 0.6689 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.386, allocations: 15.78 kB / 0.6689 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.3862, allocations: 81.38 kB / 0.6689 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3862, allocations: 5.125 kB / 0.669 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3862, allocations: 0 / 0.669 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.3862, allocations: 0 / 0.669 GB, free: 3.672 MB / 0.4981 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.0002849/0.3865, allocations: 349 kB / 0.6693 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.3865, allocations: 10.19 kB / 0.6693 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.438e-05/0.3865, allocations: 39.88 kB / 0.6693 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.3867, allocations: 21.94 kB / 0.6694 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.139e-05/0.3868, allocations: 169.7 kB / 0.6695 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3868, allocations: 5.562 kB / 0.6695 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.3868, allocations: 4.312 kB / 0.6695 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.3869, allocations: 73.09 kB / 0.6696 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.387, allocations: 3.938 kB / 0.6696 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.387, allocations: 1.312 kB / 0.6696 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.387, allocations: 1.188 kB / 0.6696 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.406e-05/0.387, allocations: 14.09 kB / 0.6696 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.3874, allocations: 470.2 kB / 0.6701 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.3875, allocations: 78.25 kB / 0.6701 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/0.3876, allocations: 24.28 kB / 0.6702 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.064e-06/0.3876, allocations: 0 / 0.6702 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.343e-05/0.3876, allocations: 36.88 kB / 0.6702 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3876, allocations: 0 / 0.6702 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004731/0.3881, allocations: 311.3 kB / 0.6705 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.3881, allocations: 107.8 kB / 0.6706 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.698e-05/0.3882, allocations: 98.33 kB / 0.6707 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.3882, allocations: 27.23 kB / 0.6707 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.98e-05/0.3882, allocations: 93.58 kB / 0.6708 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.3882, allocations: 26.59 kB / 0.6708 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.3883, allocations: 29.33 kB / 0.6709 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.457e-05/0.3883, allocations: 320.3 kB / 0.6712 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.578e-05/0.3883, allocations: 15.64 kB / 0.6712 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.267e-05/0.3884, allocations: 48.97 kB / 0.6712 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.473e-05/0.3884, allocations: 75.64 kB / 0.6713 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3884, allocations: 0 / 0.6713 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001095/0.3886, allocations: 94.08 kB / 0.6714 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.3886, allocations: 6.969 kB / 0.6714 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3886, allocations: 1.156 kB / 0.6714 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.3886, allocations: 5.344 kB / 0.6714 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.266e-05/0.3887, allocations: 25.14 kB / 0.6714 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3887, allocations: 6.781 kB / 0.6714 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.3887, allocations: 1.438 kB / 0.6714 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.3887, allocations: 11.97 kB / 0.6714 GB, free: 1.043 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.3888, allocations: 116.6 kB / 0.6716 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/0.3888, allocations: 7.766 kB / 0.6716 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.3889, allocations: 9.094 kB / 0.6716 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.3889, allocations: 9.438 kB / 0.6716 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3889, allocations: 0.9688 kB / 0.6716 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3889, allocations: 5.172 kB / 0.6716 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.3892, allocations: 177.7 kB / 0.6718 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3892, allocations: 1.344 kB / 0.6718 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.877e-05/0.3893, allocations: 17.25 kB / 0.6718 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3893, allocations: 2.047 kB / 0.6718 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.3893, allocations: 5.281 kB / 0.6718 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3893, allocations: 1.062 kB / 0.6718 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3893, allocations: 1.5 kB / 0.6718 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.3895, allocations: 336.6 kB / 0.6721 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.021e-05/0.3895, allocations: 87.52 kB / 0.6722 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.3895, allocations: 6.406 kB / 0.6722 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.3897, allocations: 2.688 kB / 0.6722 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.3897, allocations: 14.53 kB / 0.6722 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.3897, allocations: 2.875 kB / 0.6722 GB, free: 252 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.64e-05/0.3898, allocations: 84.94 kB / 0.6723 GB, free: 168 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3898, allocations: 1.188 kB / 0.6723 GB, free: 168 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003085/0.3901, allocations: 10.72 kB / 0.6723 GB, free: 168 kB / 0.4981 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 (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.000503/0.3906, allocations: 0.8623 MB / 0.6731 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.3907, allocations: 44.38 kB / 0.6732 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.3907, allocations: 0 / 0.6732 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.048e-05/0.3907, allocations: 23.55 kB / 0.6732 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.3912, allocations: 12.88 kB / 0.6732 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.3928, allocations: 1.682 MB / 0.6749 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.3932, allocations: 0.6872 MB / 0.6755 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.471e-05/0.3932, allocations: 6.812 kB / 0.6755 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.3933, allocations: 15.41 kB / 0.6756 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.3933, allocations: 0 / 0.6756 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.4168, allocations: 1.698 MB / 0.6772 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.816/8.233, allocations: 13.95 kB / 0.6772 GB, free: 12.04 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)