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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001168, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001136/0.001136, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8168/0.8168, allocations: 132.2 MB / 423.2 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 67.89 kB / 0.5024 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4203, allocations: 80.18 MB / 0.5807 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002247/0.4226, allocations: 1.256 MB / 0.582 GB, free: 26.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.4251, allocations: 2.501 MB / 0.5844 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.939e-05/0.4252, allocations: 1.125 kB / 0.5844 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.4252, allocations: 0 / 0.5844 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.74e-05/0.4253, allocations: 5 kB / 0.5844 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.4258, allocations: 125 kB / 0.5845 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.775e-05/0.4259, allocations: 37.83 kB / 0.5846 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.021e-05/0.4259, allocations: 7.422 kB / 0.5846 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.363e-05/0.426, allocations: 26.05 kB / 0.5846 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.766e-05/0.4261, allocations: 10.27 kB / 0.5846 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.4261, allocations: 1.312 kB / 0.5846 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.4264, allocations: 124.3 kB / 0.5847 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.4264, allocations: 9.344 kB / 0.5847 GB, free: 24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.4265, allocations: 18.81 kB / 0.5848 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.4267, allocations: 80.44 kB / 0.5848 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4267, allocations: 0.5 kB / 0.5848 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4267, allocations: 0.6562 kB / 0.5848 GB, free: 23.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.4267, allocations: 0 / 0.5848 GB, free: 23.95 MB / 446.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.0003478/0.427, allocations: 361.9 kB / 0.5852 GB, free: 23.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.4271, allocations: 8.438 kB / 0.5852 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.4273, allocations: 14.95 kB / 0.5852 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.43e-05/0.4274, allocations: 164.3 kB / 0.5854 GB, free: 23.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.4274, allocations: 6.375 kB / 0.5854 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.4274, allocations: 8.062 kB / 0.5854 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.4276, allocations: 73.81 kB / 0.5855 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.4276, allocations: 1.875 kB / 0.5855 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.4276, allocations: 1.125 kB / 0.5855 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.4276, allocations: 2.625 kB / 0.5855 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.329e-05/0.4277, allocations: 14.98 kB / 0.5855 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.4281, allocations: 471.1 kB / 0.5859 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.4283, allocations: 77.88 kB / 0.586 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.631e-05/0.4283, allocations: 24.27 kB / 0.586 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.4283, allocations: 0 / 0.586 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.4283, allocations: 35.59 kB / 0.5861 GB, free: 22.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.4284, allocations: 0 / 0.5861 GB, free: 22.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005434/0.4289, allocations: 303.6 kB / 0.5863 GB, free: 22.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.4289, allocations: 106.9 kB / 0.5864 GB, free: 22.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.847e-05/0.429, allocations: 105.2 kB / 0.5865 GB, free: 22.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.429, allocations: 27.39 kB / 0.5866 GB, free: 22.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.731e-05/0.4291, allocations: 88.05 kB / 0.5867 GB, free: 21.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.4291, allocations: 36.53 kB / 0.5867 GB, free: 21.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.4291, allocations: 21.09 kB / 0.5867 GB, free: 21.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.284e-05/0.4292, allocations: 321.6 kB / 0.587 GB, free: 21.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.91e-05/0.4292, allocations: 15.64 kB / 0.587 GB, free: 21.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.003e-05/0.4292, allocations: 53.36 kB / 0.5871 GB, free: 21.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.536e-05/0.4293, allocations: 74.44 kB / 0.5872 GB, free: 21.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.4293, allocations: 0 / 0.5872 GB, free: 21.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001273/0.4295, allocations: 101.2 kB / 0.5872 GB, free: 21.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4295, allocations: 7.75 kB / 0.5873 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4295, allocations: 1.406 kB / 0.5873 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4295, allocations: 2.281 kB / 0.5873 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.222e-05/0.4296, allocations: 24.73 kB / 0.5873 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4296, allocations: 2.344 kB / 0.5873 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.686e-05/0.4297, allocations: 6.188 kB / 0.5873 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.4297, allocations: 4.062 kB / 0.5873 GB, free: 21.4 MB / 446.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 5.149e-05/0.4297, allocations: 118.7 kB / 0.5874 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.4298, allocations: 10.42 kB / 0.5874 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.4298, allocations: 11.56 kB / 0.5874 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4298, allocations: 1.469 kB / 0.5874 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4298, allocations: 3.938 kB / 0.5874 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4299, allocations: 2.344 kB / 0.5874 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.4301, allocations: 178 kB / 0.5876 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4302, allocations: 1.438 kB / 0.5876 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.445e-05/0.4302, allocations: 17.8 kB / 0.5876 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.4303, allocations: 2.906 kB / 0.5876 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.4303, allocations: 5.469 kB / 0.5876 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4303, allocations: 1.25 kB / 0.5876 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4303, allocations: 1.344 kB / 0.5876 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.4305, allocations: 338.3 kB / 0.588 GB, free: 20.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.4305, allocations: 80.36 kB / 0.588 GB, free: 20.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.4305, allocations: 2.219 kB / 0.588 GB, free: 20.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.4307, allocations: 10.8 kB / 0.588 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.4307, allocations: 4.219 kB / 0.588 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.4308, allocations: 6.406 kB / 0.5881 GB, free: 20.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.032e-05/0.4308, allocations: 81.09 kB / 0.5881 GB, free: 20.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4308, allocations: 0 / 0.5881 GB, free: 20.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003162/0.4311, allocations: 14.53 kB / 0.5881 GB, free: 20.54 MB / 446.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.0001114/0.4312, allocations: 111.7 kB / 0.5883 GB, free: 20.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001252/0.4314, allocations: 49.7 kB / 0.5883 GB, free: 20.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4314, allocations: 1.094 kB / 0.5883 GB, free: 20.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.632e-05/0.4314, allocations: 16.03 kB / 0.5883 GB, free: 20.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.4318, allocations: 16.86 kB / 0.5883 GB, free: 20.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000589/0.4324, allocations: 358.8 kB / 0.5887 GB, free: 20.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.4326, allocations: 0.6902 MB / 0.5893 GB, free: 19.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.4326, allocations: 12.28 kB / 0.5894 GB, free: 19.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4326, allocations: 0 / 0.5894 GB, free: 19.43 MB / 446.1 MB Notification: Performance of Templates: time 0.002048/0.4346, allocations: 0.7855 MB / 0.5901 GB, free: 19.04 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (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 & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)