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.001011/0.001011, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.009241/0.009242, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.457/1.457, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7462/0.7462, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003815, allocations: 11.98 kB / 0.504 GB, free: 3.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4878/0.4882, allocations: 81.56 MB / 0.5837 GB, free: 4.332 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001208/0.4894, allocations: 0.9937 MB / 0.5846 GB, free: 3.594 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002706/0.4922, allocations: 2.479 MB / 0.5871 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.818e-05/0.4922, allocations: 0 / 0.5871 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/0.4922, allocations: 1.875 kB / 0.5871 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.41e-05/0.4923, allocations: 5.203 kB / 0.5871 GB, free: 1.805 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.4928, allocations: 117.6 kB / 0.5872 GB, free: 1.742 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.292e-05/0.4929, allocations: 33.16 kB / 0.5872 GB, free: 1.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.4929, allocations: 6.844 kB / 0.5872 GB, free: 1.727 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.552e-05/0.493, allocations: 17.33 kB / 0.5872 GB, free: 1.723 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.105e-05/0.493, allocations: 13.7 kB / 0.5872 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.493, allocations: 1.406 kB / 0.5872 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.4933, allocations: 119.9 kB / 0.5874 GB, free: 1.672 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.4934, allocations: 7.359 kB / 0.5874 GB, free: 1.668 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.4934, allocations: 46.41 kB / 0.5874 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.4936, allocations: 79.62 kB / 0.5875 GB, free: 1.602 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4936, allocations: 0.9062 kB / 0.5875 GB, free: 1.602 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4936, allocations: 0 / 0.5875 GB, free: 1.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.4936, allocations: 0 / 0.5875 GB, free: 1.602 MB / 430.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.0003362/0.494, allocations: 346 kB / 0.5878 GB, free: 1.234 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.494, allocations: 9.312 kB / 0.5878 GB, free: 1.234 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.4942, allocations: 16.45 kB / 0.5878 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.981e-05/0.4943, allocations: 167.2 kB / 0.588 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.4943, allocations: 1.188 kB / 0.588 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.4944, allocations: 8.953 kB / 0.588 GB, free: 1.027 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.4945, allocations: 71.8 kB / 0.5881 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4945, allocations: 0 / 0.5881 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.4945, allocations: 2.844 kB / 0.5881 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.4946, allocations: 4.906 kB / 0.5881 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.242e-05/0.4946, allocations: 11.62 kB / 0.5881 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/0.4951, allocations: 475.2 kB / 0.5885 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.4953, allocations: 74.17 kB / 0.5886 GB, free: 396 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.671e-05/0.4953, allocations: 29.34 kB / 0.5886 GB, free: 364 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.4953, allocations: 0.8438 kB / 0.5886 GB, free: 364 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.4953, allocations: 36.84 kB / 0.5887 GB, free: 320 kB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.4953, allocations: 5.344 kB / 0.5887 GB, free: 316 kB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005886/0.4959, allocations: 309 kB / 0.589 GB, free: 20 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.496, allocations: 104 kB / 0.5891 GB, free: 15.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.859e-05/0.4961, allocations: 105.8 kB / 0.5892 GB, free: 15.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.4961, allocations: 27.02 kB / 0.5892 GB, free: 15.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.4962, allocations: 86.38 kB / 0.5893 GB, free: 15.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.4962, allocations: 32.91 kB / 0.5893 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.4962, allocations: 15.3 kB / 0.5893 GB, free: 15.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.493e-05/0.4963, allocations: 321.3 kB / 0.5896 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.324e-05/0.4964, allocations: 17.41 kB / 0.5897 GB, free: 15.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.74e-05/0.4964, allocations: 52.39 kB / 0.5897 GB, free: 15.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.037e-05/0.4965, allocations: 73.17 kB / 0.5898 GB, free: 15.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4965, allocations: 0 / 0.5898 GB, free: 15.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001479/0.4967, allocations: 102.1 kB / 0.5899 GB, free: 15.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.4967, allocations: 5.562 kB / 0.5899 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4967, allocations: 5.844 kB / 0.5899 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4967, allocations: 2.859 kB / 0.5899 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.445e-05/0.4968, allocations: 23.53 kB / 0.5899 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.4969, allocations: 1.5 kB / 0.5899 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.963e-05/0.4969, allocations: 2.781 kB / 0.5899 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.4969, allocations: 9.062 kB / 0.5899 GB, free: 15.11 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 7.978e-05/0.497, allocations: 118.8 kB / 0.59 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.766e-05/0.4971, allocations: 2.781 kB / 0.59 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.4971, allocations: 14.05 kB / 0.5901 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.4971, allocations: 2.344 kB / 0.5901 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4971, allocations: 0.7812 kB / 0.5901 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4971, allocations: 1.516 kB / 0.5901 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003299/0.4975, allocations: 173.5 kB / 0.5902 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4975, allocations: 1.062 kB / 0.5902 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.431e-05/0.4976, allocations: 20.02 kB / 0.5902 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4976, allocations: 2.422 kB / 0.5902 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.4976, allocations: 5.312 kB / 0.5903 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4976, allocations: 1.344 kB / 0.5903 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4976, allocations: 0.8906 kB / 0.5903 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.4979, allocations: 339.7 kB / 0.5906 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.4979, allocations: 86.2 kB / 0.5907 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.498, allocations: 6.25 kB / 0.5907 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.4981, allocations: 3.203 kB / 0.5907 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.4982, allocations: 6.094 kB / 0.5907 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.4982, allocations: 11.39 kB / 0.5907 GB, free: 14.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.828e-05/0.4982, allocations: 81.59 kB / 0.5908 GB, free: 14.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4982, allocations: 3.938 kB / 0.5908 GB, free: 14.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003149/0.4986, allocations: 11.03 kB / 0.5908 GB, free: 14.27 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.0001291/0.4987, allocations: 106.3 kB / 0.5909 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.4988, allocations: 46.69 kB / 0.5909 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4988, allocations: 0 / 0.5909 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.49e-05/0.4989, allocations: 22.11 kB / 0.5909 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.4993, allocations: 10.84 kB / 0.591 GB, free: 14.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/0.5, allocations: 405.6 kB / 0.5913 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.5003, allocations: 0.6911 MB / 0.592 GB, free: 13.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.335e-05/0.5003, allocations: 4.969 kB / 0.592 GB, free: 13.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.5004, allocations: 12.28 kB / 0.592 GB, free: 13.12 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.5004, allocations: 4 kB / 0.592 GB, free: 13.12 MB / 446.1 MB Notification: Performance of Templates: time 0.003218/0.5036, allocations: 0.6015 MB / 0.5926 GB, free: 13.06 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)