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: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001346/0.001347, allocations: 104.8 kB / 16.27 MB, free: 6.055 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.001272/0.001272, allocations: 189.7 kB / 17.2 MB, free: 5.688 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.361/1.361, 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-master/package.mo): time 0.8151/0.8151, allocations: 135.2 MB / 426.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.89 kB / 0.506 GB, free: 8.309 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.405, allocations: 80.92 MB / 0.5851 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002211/0.4072, allocations: 1.273 MB / 0.5863 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.4096, allocations: 2.487 MB / 0.5887 GB, free: 22.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.937e-05/0.4096, allocations: 5.156 kB / 0.5887 GB, free: 22.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.4096, allocations: 0 / 0.5887 GB, free: 22.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.592e-05/0.4097, allocations: 9.328 kB / 0.5887 GB, free: 22.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000474/0.4102, allocations: 133.9 kB / 0.5889 GB, free: 22.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.429e-05/0.4103, allocations: 33.53 kB / 0.5889 GB, free: 22.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.364e-05/0.4103, allocations: 2.688 kB / 0.5889 GB, free: 22.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.895e-05/0.4103, allocations: 20.84 kB / 0.5889 GB, free: 22.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.5e-05/0.4104, allocations: 19.16 kB / 0.5889 GB, free: 22.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.4104, allocations: 2.5 kB / 0.5889 GB, free: 22.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.4107, allocations: 118.2 kB / 0.5891 GB, free: 21.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.4107, allocations: 6.219 kB / 0.5891 GB, free: 21.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.4108, allocations: 16.3 kB / 0.5891 GB, free: 21.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.411, allocations: 79.38 kB / 0.5892 GB, free: 21.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.411, allocations: 0 / 0.5892 GB, free: 21.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.411, allocations: 1.344 kB / 0.5892 GB, free: 21.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.411, allocations: 1.062 kB / 0.5892 GB, free: 21.92 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.0003398/0.4113, allocations: 366.3 kB / 0.5895 GB, free: 21.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.4114, allocations: 10.27 kB / 0.5895 GB, free: 21.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.4116, allocations: 9.781 kB / 0.5895 GB, free: 21.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.674e-05/0.4117, allocations: 170.2 kB / 0.5897 GB, free: 21.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.4117, allocations: 5.656 kB / 0.5897 GB, free: 21.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.4117, allocations: 5.812 kB / 0.5897 GB, free: 21.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.4118, allocations: 69.45 kB / 0.5898 GB, free: 21.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.4119, allocations: 2.406 kB / 0.5898 GB, free: 21.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4119, allocations: 0 / 0.5898 GB, free: 21.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4119, allocations: 1.5 kB / 0.5898 GB, free: 21.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.134e-05/0.4119, allocations: 19.95 kB / 0.5898 GB, free: 21.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.4124, allocations: 472.6 kB / 0.5902 GB, free: 20.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.4125, allocations: 70.97 kB / 0.5903 GB, free: 20.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/0.4126, allocations: 28.78 kB / 0.5903 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-06/0.4126, allocations: 1.188 kB / 0.5903 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.4126, allocations: 37.44 kB / 0.5904 GB, free: 20.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.4126, allocations: 1.062 kB / 0.5904 GB, free: 20.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005394/0.4131, allocations: 300.8 kB / 0.5907 GB, free: 20.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.4132, allocations: 109.2 kB / 0.5908 GB, free: 20.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.413e-05/0.4132, allocations: 98.94 kB / 0.5909 GB, free: 20.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.4133, allocations: 31.08 kB / 0.5909 GB, free: 20.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.376e-05/0.4133, allocations: 81.98 kB / 0.591 GB, free: 19.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.4133, allocations: 31.86 kB / 0.591 GB, free: 19.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.4133, allocations: 29.56 kB / 0.591 GB, free: 19.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.457e-05/0.4134, allocations: 320 kB / 0.5913 GB, free: 19.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.526e-05/0.4134, allocations: 13.31 kB / 0.5913 GB, free: 19.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.74e-05/0.4135, allocations: 61.02 kB / 0.5914 GB, free: 19.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.034e-05/0.4135, allocations: 77.05 kB / 0.5915 GB, free: 19.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4136, allocations: 1.25 kB / 0.5915 GB, free: 19.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001129/0.4137, allocations: 93.12 kB / 0.5916 GB, free: 19.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.4137, allocations: 9.859 kB / 0.5916 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4137, allocations: 1.531 kB / 0.5916 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.4137, allocations: 2.469 kB / 0.5916 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.664e-05/0.4138, allocations: 20.09 kB / 0.5916 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.4138, allocations: 6.875 kB / 0.5916 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.656e-05/0.4139, allocations: 5.281 kB / 0.5916 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.4139, allocations: 4.156 kB / 0.5916 GB, free: 19.37 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.548e-05/0.4139, allocations: 123 kB / 0.5917 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/0.414, allocations: 2.812 kB / 0.5917 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.414, allocations: 9.469 kB / 0.5917 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.414, allocations: 1.797 kB / 0.5917 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.414, allocations: 1.688 kB / 0.5917 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.414, allocations: 1.688 kB / 0.5917 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.4143, allocations: 182.2 kB / 0.5919 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4143, allocations: 2 kB / 0.5919 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.246e-05/0.4144, allocations: 27.2 kB / 0.5919 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.4144, allocations: 1.438 kB / 0.592 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.4145, allocations: 1.562 kB / 0.592 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4145, allocations: 1.531 kB / 0.592 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.4145, allocations: 1.25 kB / 0.592 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.4147, allocations: 335.5 kB / 0.5923 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.4147, allocations: 79.39 kB / 0.5924 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.4147, allocations: 6.312 kB / 0.5924 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.4149, allocations: 7 kB / 0.5924 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.4149, allocations: 4.969 kB / 0.5924 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.4149, allocations: 5.469 kB / 0.5924 GB, free: 18.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.905e-05/0.4149, allocations: 81.97 kB / 0.5925 GB, free: 18.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4149, allocations: 0 / 0.5925 GB, free: 18.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.4153, allocations: 12.53 kB / 0.5925 GB, free: 18.52 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 9.835e-05/0.4154, allocations: 109 kB / 0.5926 GB, free: 18.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.4155, allocations: 53.25 kB / 0.5926 GB, free: 18.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4155, allocations: 4 kB / 0.5926 GB, free: 18.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.058e-05/0.4155, allocations: 19.92 kB / 0.5926 GB, free: 18.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.4159, allocations: 15.81 kB / 0.5927 GB, free: 18.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005171/0.4165, allocations: 370.6 kB / 0.593 GB, free: 17.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.4166, allocations: 0.6807 MB / 0.5937 GB, free: 17.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.4166, allocations: 11.44 kB / 0.5937 GB, free: 17.25 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4166, allocations: 0 / 0.5937 GB, free: 17.25 MB / 446.1 MB Notification: Performance of Templates: time 0.002077/0.4187, allocations: 0.7854 MB / 0.5945 GB, free: 16.47 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (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 & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)