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.0009982/0.0009985, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001229/0.001229, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.048/1.048, allocations: 135.3 MB / 426.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003699, allocations: 12 kB / 0.507 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2155, allocations: 82.3 MB / 0.5874 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001531/0.2171, allocations: 0.9744 MB / 0.5883 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003094/0.2202, allocations: 2.339 MB / 0.5906 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.2202, allocations: 0 / 0.5906 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.149e-05/0.2203, allocations: 3.984 kB / 0.5906 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.863e-05/0.2203, allocations: 3.938 kB / 0.5906 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.2208, allocations: 103.5 kB / 0.5907 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.74e-05/0.2209, allocations: 35.84 kB / 0.5907 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.2209, allocations: 0 / 0.5907 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.459e-05/0.221, allocations: 23.92 kB / 0.5908 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.705e-05/0.2211, allocations: 19.92 kB / 0.5908 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.2211, allocations: 0 / 0.5908 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002575/0.2214, allocations: 95.75 kB / 0.5909 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.2214, allocations: 4 kB / 0.5909 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.2214, allocations: 37.64 kB / 0.5909 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.2216, allocations: 52.14 kB / 0.591 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.2216, allocations: 0 / 0.591 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2216, allocations: 0 / 0.591 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2216, allocations: 0 / 0.591 GB, free: 15.41 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.0004253/0.222, allocations: 339.3 kB / 0.5913 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.2221, allocations: 8.031 kB / 0.5913 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002274/0.2223, allocations: 19.94 kB / 0.5913 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.2224, allocations: 163 kB / 0.5915 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.2224, allocations: 8 kB / 0.5915 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.2225, allocations: 4 kB / 0.5915 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.2226, allocations: 72.19 kB / 0.5916 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2227, allocations: 0 / 0.5916 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.2227, allocations: 4 kB / 0.5916 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2227, allocations: 0 / 0.5916 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.58e-05/0.2227, allocations: 15.98 kB / 0.5916 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006147/0.2234, allocations: 478.8 kB / 0.592 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.2235, allocations: 71.75 kB / 0.5921 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.196e-05/0.2235, allocations: 22.7 kB / 0.5921 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.2236, allocations: 7.938 kB / 0.5921 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.2236, allocations: 34.56 kB / 0.5922 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.113e-06/0.2236, allocations: 0 / 0.5922 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006478/0.2242, allocations: 306.3 kB / 0.5925 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.2243, allocations: 114.8 kB / 0.5926 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.366e-05/0.2244, allocations: 101.8 kB / 0.5927 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2244, allocations: 29.7 kB / 0.5927 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.2245, allocations: 84.05 kB / 0.5928 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.2245, allocations: 27.56 kB / 0.5928 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.2245, allocations: 0 / 0.5928 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.2246, allocations: 326.9 kB / 0.5931 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.552e-05/0.2247, allocations: 8 kB / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.186e-05/0.2247, allocations: 50.62 kB / 0.5932 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.568e-05/0.2248, allocations: 20 kB / 0.5932 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2248, allocations: 11.92 kB / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001346/0.2249, allocations: 89.56 kB / 0.5933 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.225, allocations: 8 kB / 0.5933 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.225, allocations: 3.984 kB / 0.5933 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.225, allocations: 7.953 kB / 0.5933 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.614e-05/0.2251, allocations: 16 kB / 0.5933 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2251, allocations: 0 / 0.5933 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.043e-05/0.2251, allocations: 15.84 kB / 0.5933 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.2252, allocations: 8.125 kB / 0.5933 GB, free: 12.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.981e-05/0.2253, allocations: 121.8 kB / 0.5935 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.2253, allocations: 0 / 0.5935 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.2254, allocations: 11.56 kB / 0.5935 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.2254, allocations: 3.953 kB / 0.5935 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2254, allocations: 0 / 0.5935 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2254, allocations: 4 kB / 0.5935 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.2257, allocations: 169.7 kB / 0.5936 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2257, allocations: 3.938 kB / 0.5936 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.435e-05/0.2258, allocations: 23.98 kB / 0.5937 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2258, allocations: 4 kB / 0.5937 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.2259, allocations: 0 / 0.5937 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2259, allocations: 0 / 0.5937 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2259, allocations: 7.953 kB / 0.5937 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.2261, allocations: 325.9 kB / 0.594 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/0.2262, allocations: 89.81 kB / 0.5941 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.2262, allocations: 0 / 0.5941 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.2264, allocations: 8.031 kB / 0.5941 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.2264, allocations: 7.953 kB / 0.5941 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.2264, allocations: 8 kB / 0.5941 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.851e-05/0.2265, allocations: 79.27 kB / 0.5942 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2265, allocations: 0 / 0.5942 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002996/0.2268, allocations: 12 kB / 0.5942 GB, free: 11.68 MB / 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 (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.0001415/0.2269, allocations: 115.2 kB / 0.5943 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001184/0.2271, allocations: 43.92 kB / 0.5943 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2271, allocations: 0 / 0.5943 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.552e-05/0.2271, allocations: 15.94 kB / 0.5943 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.2275, allocations: 11.98 kB / 0.5944 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006256/0.2282, allocations: 396.8 kB / 0.5947 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.2285, allocations: 0.6848 MB / 0.5954 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.421e-05/0.2285, allocations: 11.98 kB / 0.5954 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.2285, allocations: 11.44 kB / 0.5954 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of SimCode: time 1.784e-06/0.2286, allocations: 0 / 0.5954 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of Templates: time 0.002894/0.2314, allocations: 0.598 MB / 0.596 GB, free: 9.762 MB / 0.4981 GB 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)